eclipse-wildwebdeveloper / wildwebdeveloper

Simple and productive Web Development Tools in the Eclipse IDE
https://projects.eclipse.org/projects/tools.wildwebdeveloper
Eclipse Public License 2.0
189 stars 70 forks source link

[xml editor] make artificial editor lines configurable #1603

Open rhoehener opened 3 months ago

rhoehener commented 3 months ago

image

mickaelistria commented 3 months ago

The 2nd space between line 1 and 2 is a bug in Platform. Can you please report it to https://github.com/eclipse-platform/eclipse.platform.ui/issues with steps to reproduce? The question of showing "code minings" annotations/actions or not needs refinement: there are multiple layers on which this could be done: per annotation, per language server, per language, for all editors...

angelozerr commented 3 months ago

@rhoehener if you dont like codelens yiu can disable it for xml with the préférences XML / Code Lens

rhoehener commented 3 months ago

@angelozerr aah thank you! maybe consider making the options discoverable with an icon next to the line number (like the java editor does for compiler messages): image

@mickaelistria ok i will (i'm fine with just disabling codelens though, both empty lines disappear)

rhoehener commented 3 months ago

It appears that the WWD setting also affects the WTP XML editor, so maybe it's still worth investigating from the WWD side as well.

mickaelistria commented 3 months ago

It appears that the WWD setting also affects the WTP XML editor, so maybe it's still worth investigating from the WWD side as well.

In practice, code-minings are enabled for a file-type, not for an editor.

rhoehener commented 3 months ago

ok, just a bit confusing to me when the setting is in the WWD section and not in the file-type section. after i learned that the WTP XML formatting settings are completely independent from the WWD XML settings.