Welcome to the XSharp News Server and Forum

You are welcome to participate in the XSharp newsgroups and forum.

The XSharp News Server can be found at news.xsharp.info, port 119 (nntp). You can login with the user name XSharpUser and password X#Rulez!.
You can also post through the web interface. In that case you need to create a user account first.
The newsgroups and web interface are not synchronized yet. We are working on that.

When posting to the newsgroups and forums we ask you kindly to follow the rules that you can find here: https://www.xsharp.info/faq/39-xsharp-news-server-rules

× Share your code snippets, screen shots etc. here

Snippets in VS 2017 RC .... some success ....

More
1 month 2 weeks ago #1 by Johan Nel
Johan Nel replied the topic: Snippets in VS 2017 RC .... some success ....
Hi Phil,
Sorry for any confusion, but Jack is dead now. I still carried a "status" which I formally resigned from last week. I will be solely using XSharp from a now on, no feature that I am missing.
Regards,
Johan

Please Log in to join the conversation.

More
1 month 2 weeks ago #2 by Phil Hepburn
Phil Hepburn replied the topic: Snippets in VS 2017 RC .... some success ....
Hi Johan,

I have just realised that you sign yourself 'Jack'. Is that correct ? and after all these years why is it that only now I /we find out ?

It will soon be cricket season again over here in the UK, but I have been following your boys on Sky Sports, over our winter.

Regards,
Phil.

Please Log in to join the conversation.

More
1 month 2 weeks ago #3 by Johan Nel
Johan Nel replied the topic: Snippets in VS 2017 RC .... some success ....
Hi Robert,

Great news! Also that Wolfgang already made use of it.

Good luck also with your [x]Harbour UDC efforts, I am sure it will assist in any potential bugs still in the PP.

Looking forward to the xBase future!

Jack

Please Log in to join the conversation.

More
1 month 2 weeks ago #4 by Wolfgang Riedmann
Wolfgang Riedmann replied the topic: Snippets in VS 2017 RC .... some success ....
Hi Robert,

this is really great! I'm looking forward to Beta 10.

In the meantime I have converted all my properties to the short form.

Wolfgang

Please Log in to join the conversation.

More
1 month 2 weeks ago - 1 month 2 weeks ago #5 by Robert van der Hulst
Robert van der Hulst replied the topic: Snippets in VS 2017 RC .... some success ....
Jack,

I tested one of your snippets with the new UDC support and the result is below;



You can see:
- UDC definition is recognized and colored in the preprocessor color
- UDC usage is recognized ans colored as keyword (especially the GETSET, NOTIFY and CHANGE words which are not normal keywords)
- The editor shows the difference between the statement separator semi colon (which is part of the UDC) and the line continuation semi colon, so they are both colored in a different color!
And in the image below you see the preprocessor output:




Robert
Attachments:
Last Edit: 1 month 2 weeks ago by Robert van der Hulst.

Please Log in to join the conversation.

More
2 months 1 week ago #6 by Wolfgang Riedmann
Wolfgang Riedmann replied the topic: Snippets in VS 2017 RC .... some success ....
Hi Chris,

thank you very much!

In the meantime I'll write the short form
property mySuperProp as string get self:_Get<string>() set self:_Set( value )

until the preprocessor will be available.

After I'll use it to build the correct code.

Wolfgang

P.S. the only person I would like to shoot sometimes is myself when I'm doing something really stupid (you know several samples...)

Please Log in to join the conversation.

Time to create page: 1.397 seconds