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 109015 Details for
Bug 242989
Code assist for fully qualified classses is not consistent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch
bug242989.diff (text/plain), 1.50 KB, created by
Michael Spector
on 2008-08-03 09:31:00 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Michael Spector
Created:
2008-08-03 09:31:00 EDT
Size:
1.50 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.jsdt.core >Index: src/org/eclipse/wst/jsdt/internal/codeassist/CompletionEngine.java >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/CompletionEngine.java,v >retrieving revision 1.31 >diff -u -r1.31 CompletionEngine.java >--- src/org/eclipse/wst/jsdt/internal/codeassist/CompletionEngine.java 13 May 2008 22:02:34 -0000 1.31 >+++ src/org/eclipse/wst/jsdt/internal/codeassist/CompletionEngine.java 3 Aug 2008 13:28:03 -0000 >@@ -7137,7 +7137,15 @@ > > if (typeLength > sourceType.sourceName.length) continue next; > >- if (!CharOperation.prefixEquals(token, sourceType.sourceName, false) >+ int index = CharOperation.lastIndexOf('.', sourceType.sourceName); >+ if (index > 0) { >+// char[] pkg = CharOperation.subarray(sourceType.sourceName, 0, index); >+ char[] simpleName = CharOperation.subarray(sourceType.sourceName, index+1, sourceType.sourceName.length); >+ >+ if (!CharOperation.prefixEquals(token, simpleName, false) >+ && !(this.options.camelCaseMatch && CharOperation.camelCaseMatch(token, simpleName))) continue ; >+ >+ } else if (!CharOperation.prefixEquals(token, sourceType.sourceName, false) > && !(this.options.camelCaseMatch && CharOperation.camelCaseMatch(token, sourceType.sourceName))) continue ; > > if (this.assistNodeIsAnnotation && !hasPossibleAnnotationTarget(sourceType, scope)) {
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:
bjorn.freeman-benson
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 242989
: 109015