takari / polyglot-maven

Support alternative markup for Apache Maven POM files
Eclipse Public License 1.0
893 stars 101 forks source link

Parsers result (POM for Editors Outline) #72

Open paulvi opened 8 years ago

paulvi commented 8 years ago

For Eclipse Editor to have outline, there should be parser to generate a tree structure. There's of course no sense to make parser for every language, as they should be translated into one POM model.

How to get this output? It can be command line tool invocation that produces text file.

ref #71

lefou commented 7 years ago

What about just translating to XML and using m2e?

See all https://github.com/jbosstools/m2e-polyglot-poc

paulvi commented 7 years ago

I did #4 Eclipse marketplace entry at https://marketplace.eclipse.org/content/polyglot-maven-atom-groovy-yaml-ide-pack-bleeding-edge for that plugin by Fred @fbricon and included few Editors, and they would benefit from Outline.

I remember that time that having pom.xml by side was not recommended, as it may confuse...
or m2e-polyglot-poc plugin was not supposed to be used so.

Anyways, while user focus is on Editing pom.something, Outline would help.
Yep, possibly m2e should give API point for that.