This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Most abbreviations are useful only in code, some only in comments. Now that issue 16310 is fixed we can no longer use abbreviations in comments. While I think that this is an improvement I do miss the ability to use my abbreviations for "<code>|</code>", "{@link #", etc. Using separate lists was suggested by janicki in a comment to issue 16310 but this was never implemented. Starting off with two separate lists (comments and Java code) would be great. Later on perhaps additional lists for JSP and HTML could be added.
Each type of editor has now in 5.5 it's own set of abbreviation.
I dont think I was clear enough in my original enhancement description. What I mean is that abbreviations for different languages should be available depending on the context, i e if the cursor is inside a comment in a Java source, the abbreviations associated with HTML should be available, or a new "language" perhaps called "Java Comments". The same goes for jsp files. Normally the HTML abbreviations should be used, but inside a script section the Java abbreviations should be used instead. In other words, the language from which the abbreviations should be accessed should not only depend on which kind of file you have open but also on the context. Since the Java editor manages to disable all Java abbreviations inside a comment, detemining the context seems to be already in place.
I believe this has been fixed in recent versions.