Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » File extensions in Xtext(File extensions in Xtext)
icon5.gif  File extensions in Xtext [message #1678660] Mon, 16 March 2015 09:32 Go to next message
Arshad Adavani is currently offline Arshad AdavaniFriend
Messages: 163
Registered: July 2013
Location: Bangalore
Senior Member
Hi all,

In xtext, can we make our language file extension case insensitive ?

For E.g. If I create a text file with "SomeName.TXT", it still works the same as "SomeName.txt".
Same holds good for many other file types.

But consider a xtext language with ".dmodel" as file extension.

If I create a file with name "MyFile.Dmodel" then generators are not getting called.

But syntax colouring, validations and other stuffs work.


This I did not like. Either everything should work or nothing should work.

I felt if we can make it case insensitive then that would be the good option.

Any suggestions here...?

Thanks for any help Smile


Arshad
Re: File extensions in Xtext [message #1678662 is a reply to message #1678660] Mon, 16 March 2015 09:35 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

(1) allow all file extension (adapt property (list all possibilities) in workflow, regenerate, merge plugin_xml gen)
(2) file an enhancement request.


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
icon14.gif  Re: File extensions in Xtext [message #1678682 is a reply to message #1678662] Mon, 16 March 2015 09:42 Go to previous message
Arshad Adavani is currently offline Arshad AdavaniFriend
Messages: 163
Registered: July 2013
Location: Bangalore
Senior Member
Hi Christian,

Thanks for the reply.

For now I will go ahead with your first proposal and I will file an enhancement too.


Regards,
Arshad


Arshad
Previous Topic:Links (CrossRefs) broken after IDocument.modify
Next Topic:Xtext 2.8.0 and Xtext Maven Plugin to generate the model artifacts
Goto Forum:
  


Current Time: Fri Apr 26 14:27:41 GMT 2024

Powered by FUDForum. Page generated in 0.03427 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top