Bug 91221 - Code assist stopped working
Summary: Code assist stopped working
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-12 17:56 EDT by Dirk Baeumer CLA
Modified: 2005-05-13 09:18 EDT (History)
0 users

See Also:


Attachments
The file (23.53 KB, text/plain)
2005-04-12 17:56 EDT, Dirk Baeumer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2005-04-12 17:56:24 EDT
I20050405-0800

Activating code assist at the location <code assist> in the attached file
doesn't provide any proposals.
Comment 1 Dirk Baeumer CLA 2005-04-12 17:56:56 EDT
Created attachment 19833 [details]
The file
Comment 2 Dirk Baeumer CLA 2005-04-12 17:58:32 EDT
Code assist doesn't work in any of the local classes anymore. Nothing in the log
file.
Comment 3 Dirk Baeumer CLA 2005-04-12 18:00:34 EDT
Works for types in field declarations of the inner classes, but not inside of
methods.
Comment 4 Dirk Baeumer CLA 2005-04-12 18:02:58 EDT
The problem is the following line in the file

private static final char MDASH= '\u2014';    // em dash

if commented out code assist works again.
Comment 5 Olivier Thomann CLA 2005-04-12 22:54:16 EDT
I believe this is a duplicate of bug 90414.

*** This bug has been marked as a duplicate of 90414 ***
Comment 6 Olivier Thomann CLA 2005-04-14 14:48:55 EDT
Reopen as this is not exactly a duplicate.
Comment 7 Olivier Thomann CLA 2005-04-14 14:57:31 EDT
The problem comes from the unicode management in the completion scanner. The
completion should work after the unicode, but not before the unicode.
Fixed and released in HEAD.
Added some regression tests inside DietCompletionTest.test34a/34b/34c.
Comment 8 Maxime Daniel CLA 2005-05-13 06:46:00 EDT
Verified for 3.1 M7 using build I20050512-2035 + jdt.core HEAD.