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.

Bug 23138

Summary: Disable abbreviations in String constant
Product: editor Reporter: jhoffman <jhoffman>
Component: MacrosAssignee: issues@editor <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: avk
Priority: P3 Keywords: USABILITY
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description jhoffman 2002-05-04 02:01:27 UTC
Similar to bug 16310, automatic completion using
abbreviations should be disabled within a string
constant, as requested within a comment block.
Comment 1 Marek Grummich 2002-07-22 10:01:24 UTC
Set target milestone to TBD
Comment 2 Marek Grummich 2002-07-22 10:06:54 UTC
Set target milestone to TBD
Comment 3 Roman Strobl 2004-12-08 14:58:26 UTC
Changing subcomponent to macros.
Comment 4 Milan Kubec 2005-04-26 12:52:46 UTC
*** Issue 58328 has been marked as a duplicate of this issue. ***
Comment 5 Milan Kubec 2005-04-26 12:55:19 UTC
Usability and productivity problem.
Comment 6 Miloslav Metelka 2005-05-03 08:53:30 UTC
I will implement the disabling for both comments and char and string literals.
Comment 7 Miloslav Metelka 2005-05-03 14:57:19 UTC
Abbreviations are now disabled in block and line comments (including javadoc
comments) and in string and character literals.
Fixed in main trunk:
Checking in libsrc/org/netbeans/editor/Abbrev.java;
/cvs/editor/libsrc/org/netbeans/editor/Abbrev.java,v  <--  Abbrev.java
new revision: 1.26; previous revision: 1.25
done
Checking in libsrc/org/netbeans/editor/SyntaxSupport.java;
/cvs/editor/libsrc/org/netbeans/editor/SyntaxSupport.java,v  <--  SyntaxSupport.java
new revision: 1.38; previous revision: 1.37
done

Checking in lib/src/org/netbeans/editor/ext/java/JavaSyntaxSupport.java;
/cvs/java/editor/lib/src/org/netbeans/editor/ext/java/JavaSyntaxSupport.java,v 
<--  JavaSyntaxSupport.java
new revision: 1.6; previous revision: 1.5
Comment 8 klosels 2006-03-02 13:58:45 UTC
Seems to be fixed only for Java files. Problem persists with generic XML files
and Ant build files.