|Using File Name in DSL [message #853830]
||Mon, 23 April 2012 07:20
| sbl Missing name
Registered: March 2011
I defined my grammer in Xtext. I want to make my DSL more userfriendly now. When user create a new project and create a file(i.e: file1.mydsl ), I want to capture the file name and use it in file1.mydsl file.
For example, file1.mydsl can be like this:
//This is file1 you can define your model here.
I searched lots of example and read documentations but can not see any example.
I think I will do this by using validation package but how?
Powered by FUDForum
. Page generated in 0.02171 seconds