Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 134640 Details for
Bug 275176
Object literal bracket should should be auto closed if close bracket preference set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Updates the BracketInserter class
patchFor275176 (text/plain), 1.09 KB, created by
Chris Jaun
on 2009-05-06 11:56:43 EDT
(
hide
)
Description:
Updates the BracketInserter class
Filename:
MIME Type:
Creator:
Chris Jaun
Created:
2009-05-06 11:56:43 EDT
Size:
1.09 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.jsdt.ui >Index: src/org/eclipse/wst/jsdt/internal/ui/javaeditor/CompilationUnitEditor.java >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/javaeditor/CompilationUnitEditor.java,v >retrieving revision 1.7 >diff -u -r1.7 CompilationUnitEditor.java >--- src/org/eclipse/wst/jsdt/internal/ui/javaeditor/CompilationUnitEditor.java 14 May 2008 15:43:52 -0000 1.7 >+++ src/org/eclipse/wst/jsdt/internal/ui/javaeditor/CompilationUnitEditor.java 6 May 2009 15:57:07 -0000 >@@ -415,6 +415,7 @@ > case '[': > case '\'': > case '\"': >+ case '{': > break; > default: > return; >@@ -460,6 +461,7 @@ > return; > break; > >+ case '{': > case '[': > if (!fCloseBrackets > || nextToken == Symbols.TokenIDENT >@@ -1452,6 +1454,12 @@ > > case ']': > return '['; >+ >+ case '{': >+ return '}'; >+ >+ case '}': >+ return '{'; > > case '"': > return character;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
thatnitind
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 275176
: 134640