Error highlighting configuration -- some questions

I just switched from Ariadna to Aurora and when I took a look at the
options I noticed that for some things IDEA can warn you about, there
are two configurations:

1) In the errors tab: Whether to ignore it, show it as a warning
(yellow line in the gutter), or show it as an error (red line in the
gutter).

2) In the syntax highlighting tab: How to show it, IF it is shown.

Some things are only available in one of the tabs, though. For example,
it seems like unused imports cannot be configured in the syntax
highlighting tab.

Do you have any changes planned in this area for Aurora? Is there a
consistent way of determining what should be available in which tab?

Will highlighting be configurable for all errors? In that case, maybe
the errors stripe should be integrated into the color highlighting
system? Now that I think of it, it would perhaps be a very nice feature
to have if the system was generalized so that anything we can
highlight can potentially be associated with a stripe in the error
gutter. Normally most things would not be shown there, of course, but
it would be possible to turn on a special gutter highlight color just
for unused symbols, for example. Again, I'm just thinking out loud here.

I do like the fact that you can configure how certain warnings are
shown, but I was a bit confused the first time I saw that static access
to a field was highlighted with a red underline but marked with a
yellow line in the gutter. Any thoughts on this?

Another problem is being able to configure error highlighting separately
for each kind of error is that with the increasing number of things that
can be highlighted, it is getting difficult to find the one you want,
especially since items sometimes seem to be placed in arbitrary order.
Perhaps the list could be rearranged, and if there could be bold-face
"headings" within the list it would be great although I don't know if
this can be done easily in a JList. A suggestion would be to have:

Literals
keywords
numbers
strings
...
Methods, fields and variables
Constructors
Non-static methods
Non-static fields
Static methods
Static fields
Variables
Parameters
Comments
line comments
block comments
javadoc
javadoc markup
...
Navigation and structure
Matched brace
Unmatched brace
Current line
Breakpoint line
Execution point
Todo item
Errors and warnings
Unused symbol
Unused import
...

Does anyone else have any thoughts about this?

1 comment

As for unused import AFAIK it shares highlighting color with "Unused
symbol". We just wanted to not increase number of different color settings
too much.

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

"Jonas Kvarnstr?m" <jonkv@ida.liu.se> wrote in message
news:3EC3AC00.1060209@ida.liu.se...

I just switched from Ariadna to Aurora and when I took a look at the
options I noticed that for some things IDEA can warn you about, there
are two configurations:

>

1) In the errors tab: Whether to ignore it, show it as a warning
(yellow line in the gutter), or show it as an error (red line in the
gutter).

>

2) In the syntax highlighting tab: How to show it, IF it is shown.

>

Some things are only available in one of the tabs, though. For example,
it seems like unused imports cannot be configured in the syntax
highlighting tab.

>

Do you have any changes planned in this area for Aurora? Is there a
consistent way of determining what should be available in which tab?

>

Will highlighting be configurable for all errors? In that case, maybe
the errors stripe should be integrated into the color highlighting
system? Now that I think of it, it would perhaps be a very nice feature
to have if the system was generalized so that anything we can
highlight can potentially be associated with a stripe in the error
gutter. Normally most things would not be shown there, of course, but
it would be possible to turn on a special gutter highlight color just
for unused symbols, for example. Again, I'm just thinking out loud here.

>

I do like the fact that you can configure how certain warnings are
shown, but I was a bit confused the first time I saw that static access
to a field was highlighted with a red underline but marked with a
yellow line in the gutter. Any thoughts on this?

>

Another problem is being able to configure error highlighting separately
for each kind of error is that with the increasing number of things that
can be highlighted, it is getting difficult to find the one you want,
especially since items sometimes seem to be placed in arbitrary order.
Perhaps the list could be rearranged, and if there could be bold-face
"headings" within the list it would be great although I don't know if
this can be done easily in a JList. A suggestion would be to have:

>

Literals
keywords
numbers
strings
...
Methods, fields and variables
Constructors
Non-static methods
Non-static fields
Static methods
Static fields
Variables
Parameters
Comments
line comments
block comments
javadoc
javadoc markup
...
Navigation and structure
Matched brace
Unmatched brace
Current line
Breakpoint line
Execution point
Todo item
Errors and warnings
Unused symbol
Unused import
...

>

Does anyone else have any thoughts about this?

>


0

Please sign in to leave a comment.