concordion / idea-concordion-support

Concordion support IntelliJ Idea plugin https://plugins.jetbrains.com/plugin/7978
Other
13 stars 8 forks source link

Add setting for command style #11

Closed nigelcharman closed 8 years ago

nigelcharman commented 8 years ago

Currently the plugin includes both the camel cased and spinal cased variants of commands. For example c:assertEquals or c:assert-equals:

image

This makes the list longer, with more to read and select from.

I suggest we add a setting to choose either camel or spinal case, then only show the commands in that case. The default should be spinal-case, since camel case is not strictly valid XHTML.

idegtiarenko commented 8 years ago

Configuration of concordion command case added to Settings > Languages % Frameworkds > Concordion

screenshot at 2016-05-02 10 19 12

Completion will contain only configured case

screenshot at 2016-05-02 10 19 54

Inspection added to report usages of wrong command case

screenshot at 2016-05-02 10 35 40

Quick fix is introduced

screenshot at 2016-05-02 10 19 32