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

Suppress layout information in outline #27

Open
jreimone opened this issue Jun 19, 2014 · 5 comments
Open

Suppress layout information in outline #27

jreimone opened this issue Jun 19, 2014 · 5 comments
Labels

Comments

@jreimone
Copy link
Contributor

Since the layout information are "only" utility concepts they are annoying in the outline. It is too much of them being displayed.
I never integrated the LayoutInformation (LI) DSL into any of my projects but I assume that LI should be suppressed by default while generating the outline.

@BenjaminKlatt
Copy link
Contributor

While I would sign this for most times I worked with the outline, sometimes I need to check code comments especially java doc. I also know from martin and emre they would have been happy to have comments for other languages than java available in the outline. So what about an optional filter?

@jreimone
Copy link
Contributor Author

Sounds nice for me. But, since I never did anything with the LI language I don't even know what the features are. Maybe a [yes|no] filter is not fine-grained enough as you mentioned there are concepts (comments) which should be visible and others not.
Well, this is not a high-priority request. Let's see what the developers say.

@mirkoseifert
Copy link
Member

The contents of the outline view can be customized for all EMFText languages by editing the edit plug-in that is generated by EMF. To exclude certain child elements, the getChildrenFeatures() method of the respective ItemProvider class can be modified. So every DSL developer is free to decide whether the LI elements shall be shown or not.

For the concrete case of JaMoPP I'd say that the elements should be shown. Since the JaMoPP editor is not usable for actual Java editing, but rather used to inspect the model for example classes, I'd argue that most people would like to see the complete model in the outline.

@jreimone
Copy link
Contributor Author

Ok, that's easy enough. Cool!

Regarding JaMoPP I would say that most of the LI elements in the outline even don't have a textual representative. Overall, I don't see which LI elements represent Java comments. Thus, from my point of view, displaying that much LI elements is confusing.

@mirkoseifert
Copy link
Member

Other opinions? Personally I do not have a strong preference.

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

No branches or pull requests

3 participants