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 - Disable abbreviations in String constant
Summary: Disable abbreviations in String constant
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Macros (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: USABILITY
: 58328 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-04 02:01 UTC by jhoffman
Modified: 2007-11-05 13:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.