Community
Participate
Working Groups
I set the normal comment coloring to a light grey. This keeps comments from hitting my eyes, yet I can read them if needed. I also use comments to block out code sections, such as: // ******************* // read section // ******************* or // recursive method private void foo(int bar) { . . . // recurse here foo(bar++); } and so on. It would be really nice to be able have these comments jump out a bit with their own color. I can do this now, sort of, by creating a new Task Tags entry. However this creates a Task, which shows up in the Task view, and will never go away. If an new entry in Syntax Coloring/ Comments could be created for important comments? An important comment could start with: //! so //! recurse here Any comment line starting with //! would then have its own coloring and I could make it pop-out of the code
Comments are language specific, therefore moving to JDT. Probably related to Bug 63808 too.
I wasn't thinking of any actual action being taken by the IDE, just simply applying syntax coloring to a line which has the //! on it. It could also be added to other languages as each has a single line comment syntax, for instance PHP uses the same comment characters as C, C++ C#, Java, etc. Property files use #, so #! could be used.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.