tm4e
tm4e copied to clipboard
TextMate support in Eclipse IDE
Switching different merge viewers in diff editor can cause following exception (I see it in debugger, not in the error log) ``` java.util.ConcurrentModificationException at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1229) at org.eclipse.tm4e.core.internal.grammar.BasicScopeAttributesProvider.getBasicScopeAttributes(BasicScopeAttributesProvider.java:56) at org.eclipse.tm4e.core.internal.grammar.Grammar.getMetadataForScope(Grammar.java:112) at...
IJ provides a nice import for TextMate grammar file coming from: * TextMate bundle * Sublime bundle * VScode package.json See entry point from https://github.com/JetBrains/intellij-community/blob/9ad1c858cc67a30002096dbe13bc1cf42c52b497/plugins/textmate/src/org/jetbrains/plugins/textmate/TextMateServiceImpl.java#L240 For the case of Vscode...
TextMate uses the [oniguruma syntax](https://macromates.com/manual/en/regular_expressions#syntax_oniguruma) for regular expressions. TM4E currently uses [jruby/joni](https://github.com/jruby/joni) as onigurama implementation. Unfortunately joni does not implement the the full onigurama syntax, e.g. variable length look-behind. This...
I've configured TextMate to support Ada language. Everything seems to be working correctly except _quote_ and _double-quote_ surrounding pairs highlighting. When the editing cursor is after the opening quote/double-quote, the...
See https://github.com/Microsoft/vscode/issues/16206#issuecomment-265166655 and https://github.com/Microsoft/vscode-textmate/blob/master/src/tests/themedTokenizer.ts#L25 The tokenizeLine2 seems to provide: * binary result (perhaps it will improve memory?) * result is a merge between the grammar and the theme (perhaps it...
The current defaults allow for generating Problem markers. There are already 3 severities for the task markers, and creating markers under a different root marker type means they don't show...
A long time ago I had written this article https://www.eclipse.org/community/eclipse_newsletter/2018/june/tm4e.php which is a simple article which I think provide a good start to use tm4e as user or as developer...
GitHub textmate organization is actually a repo of TextMate grammars. When a file is opened with Generic Editor and expects TM4E to participate but tm4e has no grammar, it should...
Code Folding
TextMate grammar can define folding https://manual.macromates.com/en/navigation_overview It should be cool if tm4e could provide the `org.eclipse.tm4e.ui.folding.TMFoldingStrategy` which supports this feature.
Provide a TextMate Theme editor to create, edit theme easily like https://github.com/aziz/tmTheme-Editor#tmtheme-editor and https://packagecontrol.io/packages/ColorSchemeEditor See intersting article at https://benparizek.com/notebook/notes-on-how-to-create-a-language-grammar-and-custom-theme-for-a-textmate-bundle In other words do like this http://tmtheme-editor.herokuapp.com/#!/editor/theme/Monokai