| Summary: | [syntax highlighting] set task tag color and font style is ignored, when using symbols like !:? in tag name | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Jörgen Rapp <jorgen_rapp> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, jorgen_rapp, prakash |
| Version: | 3.5 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Jörgen Rapp
This works fine for me in 3.6 RC2 using the Java editor with Task tags defined on the Java > Compiler > Task Tags preference or project properties page. Maybe you have project specific task tags and then of course changing them on the preference has no effect. Ah, looks like it's my naming convention that breaks it, since I use priority markers that seems to act as separators in some parsing or similar.
I use {taskName}{priority-symbol}
so
ACTION! - high
ACTION: - normal
ACTION? - low
if you name your task ACTION! it won't highlight anymore.
//BUG! this is crazy and we need to fix it NOW
//PERFORMANCE? not the best solution and we might have to fix it
//TEST: make sure it works when it's cold outside
//REFACTOR? could break out class A for this
//CONFIRM! check with Duke about closures
I suppose I could work around it by using 1,2,3 for prios, but I do like my syntax better since it tells me more than just the priority (a sense of urgency), and I use 8 or so of these tags.
|