tm4e icon indicating copy to clipboard operation
tm4e copied to clipboard

a "Preview" view to preview grammar while editing

Open mickaelistria opened this issue 9 years ago • 2 comments

In order to make it more efficient to edit textmate grammars, it would be great to have a "Preview" view (or maybe to populate the Outline view while we don't have anything better to show there). That would allow user to put in any text, and to see the text highlighting change while the user edits the textmate grammar file.

mickaelistria avatar May 02 '17 07:05 mickaelistria

@mickaelistria you can reuse https://github.com/eclipse/tm4e/blob/master/org.eclipse.tm4e.ui/src/main/java/org/eclipse/tm4e/ui/internal/preferences/TMViewer.java which is used for preview in the preferences

angelozerr avatar May 02 '17 07:05 angelozerr

But before using TMViewer please wait for my commit at https://github.com/eclipse/tm4e/issues/94 because I will do some refactoring.

angelozerr avatar May 02 '17 09:05 angelozerr