Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Word wrap #125

Closed
ainslec opened this issue Jul 26, 2017 · 3 comments
Closed

Word wrap #125

ainslec opened this issue Jul 26, 2017 · 3 comments

Comments

@ainslec
Copy link

ainslec commented Jul 26, 2017

Is there a way to enable word/line wrap in a TM4E editor?

I see that there is a way to enable this for Java editors (here) but it would be HUGELY convenient to have a toggle on the context menu for TM4E editors.

The language that I'm working with often involves very very long lines of text, which are trivial to read with line wrapping and almost impossible to read without.

@angelozerr
Copy link
Contributor

Eclipse Oxygen provides Toggle Word Wrap feature for any editor.

image

Please note that TME Editor is just for Neon. Oxygen provides GenericEditor and tm4e should use it #17

@ainslec
Copy link
Author

ainslec commented Jul 26, 2017

Thanks for the toggle word wrap tip. It works very well.

I'm not sure what "TME Editor just being for Neon" means. In order to get syntax highlighting I had to go to preferences and set these options (import a .tmLanguage file, setup a theme):

image

Then I had to go into file associations and associate my file types with the grammar..

image

If I try to open a file in the generic editor, it does not syntax highlight. And I am running Eclipse Oxygen.

Or are you describing the plugin workflow perhaps?

Things are a little confusing between declaring all these things in a plugin, and also being able to configure them without a plugin in the Eclipse preferences. An FAQ might come in handy to explain the different approaches.

@angelozerr
Copy link
Contributor

@ainslec I close this issue, please create a new issue with yoru question about "TM Editor", thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants