simplelive / velocity-edit

Automatically exported from code.google.com/p/velocity-edit
GNU General Public License v2.0
0 stars 0 forks source link

List of suggested Syntax Highlighting improvements #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
* <script> code
* bold directives (option to decide for bold highlighting the respective 
directive)
* xml attribute (different highlighting to xml tag)
* velocity variable within strings
* option to disable directive highlighting of enything within brackets: I want 
to use my variable highlighting within #set/#if/#foreach and I also want to see 
if I set a string (string highlighting) or an integer (no special highlighting)

Original issue reported on code.google.com by carsten....@googlemail.com on 21 Feb 2013 at 3:16

GoogleCodeExporter commented 9 years ago
* boolean highlighting (detect 'true' and 'false' - of course without single 
quotation mark - in #set, #if and #elseif

Original comment by carsten....@googlemail.com on 21 Feb 2013 at 3:24

GoogleCodeExporter commented 9 years ago
* italic directives (option to decide for italic highlighting the respective 
directive - combinable with bold)

Original comment by carsten....@googlemail.com on 25 Feb 2013 at 1:16

GoogleCodeExporter commented 9 years ago
1. The XML attribute color is already different from tags, I think. If you want 
XML attribute suggestion. You might need to include XML DTD properly.
2. About the <script>, I don't quite understand what you mean.
3. The Velocity variable within strings should be offered by "Word Completion". 
Does it  failed to display?
4. bold directives and option to disable directive highlighting is 
considerable. It might be added in the future version.

At present I am working on "Context Injection" so that we can offer precise 
variable member suggestion by using Java reflection.

Thanks for your feedback! Best regards~

Original comment by sefler...@gmail.com on 27 Feb 2013 at 2:49

GoogleCodeExporter commented 9 years ago
This feature request is all about syntax highlighting - nothing about 
suggestion or auto completion - just highlighting via different colors and 
font-styles. This issue is just a list of things, where I personally think a 
syntax highlighting for that would be useful.

re 1. Nope. The color is not different and not adjustable in preferences.
re 2. If I add script-tags (e.g. defining javascript) to my 
velocity-template-page I want a different color than plain black.
re 3. I want the configured syntax highlighting for variables applied within 
strings (and directives too), so that I can easy spot variables scattered among 
them.
re 4. Don't forget italic (and maybe underlined) as well.   ;-)

Original comment by carsten....@googlemail.com on 27 Feb 2013 at 5:54