|
|
|
|
|
|
|
Re: (no subject) [message #725540 is a reply to message #725416] |
Thu, 15 September 2011 06:39 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
How about allowing the old syntax and the new one in parallel but adapt
syntax highlighting?
Am 14.09.11 19:57, schrieb Alex Ruiz:
> Thanks Henrik.
>
> The use case is not very usual, and it can be seeing as an odd one. The
> old syntax is valid, but:
>
> 1. We don't want to support the old syntax in the editor (as a way to
> encourage people to upgrade to the new version)
> 2. If users open a file with the old syntax, the editor should treat is
> as plain text (no syntax highlighting, outline, etc.)
> 3. Currently, if users open a file with the old syntax, the parser
> generates syntax errors that are inherited by imported files that use
> the new syntax. Users are complaining big time!
> 4. Both the old syntax and the new one have the same file extension!!
>
> I'm not familiar with the solution you propose. I'll look into it in
> more detail.
>
> Cheers!
> -Alex
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
|
Re: (no subject) [message #725542 is a reply to message #725416] |
Thu, 15 September 2011 06:39 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
How about allowing the old syntax and the new one in parallel but adapt
syntax highlighting?
Am 14.09.11 19:57, schrieb Alex Ruiz:
> Thanks Henrik.
>
> The use case is not very usual, and it can be seeing as an odd one. The
> old syntax is valid, but:
>
> 1. We don't want to support the old syntax in the editor (as a way to
> encourage people to upgrade to the new version)
> 2. If users open a file with the old syntax, the editor should treat is
> as plain text (no syntax highlighting, outline, etc.)
> 3. Currently, if users open a file with the old syntax, the parser
> generates syntax errors that are inherited by imported files that use
> the new syntax. Users are complaining big time!
> 4. Both the old syntax and the new one have the same file extension!!
>
> I'm not familiar with the solution you propose. I'll look into it in
> more detail.
>
> Cheers!
> -Alex
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
Powered by
FUDForum. Page generated in 0.04459 seconds