eclipse-tm4e / tm4e

TextMate support in Eclipse IDE
https://projects.eclipse.org/projects/technology.tm4e
Eclipse Public License 2.0
93 stars 56 forks source link

Cannot create grammar using 'shell-unix-bash.tmLanguage.json'. #619

Closed raghucssit closed 9 months ago

raghucssit commented 11 months ago

I am trying to create a new grammar by re-using the shell-unix-bash.tmLanguage.json provided in language pack. I have downloaded this file and kept in workspace. When i use this file for creating grammar i am getting below error. And it did not create any grammar. cannot-add-grammar grammar file i am using. shell-unix-bash.tmLanguage.json

sebthom commented 11 months ago

The error message is currently misleading (which is fixed in the snapshot version of tm4e already) . probably a parsing error occurred and thus the grammar is not loaded. you should see an error in the eclipse error log file in your workspace.

sebthom commented 9 months ago

@raghucssit do you still have this issue using the TM4E snapshot version from https://download.eclipse.org/tm4e/snapshots/

If so please post a corresponding stacktrace. thanks!

sebthom commented 9 months ago

TM4E 0.9.0 is released and should fix that issue. Reopen the issue if needed.

iloveeclipse commented 9 months ago

Thanks!