Bug 275114 - [content assist] code-completion problem with many nested if-else
Summary: [content assist] code-completion problem with many nested if-else
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2009-05-06 03:47 EDT by Daniele CLA
Modified: 2010-01-25 14:55 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele CLA 2009-05-06 03:47:36 EDT
Build ID: M20090211-1700

Steps To Reproduce:
1.make more than 40 nested if-else structure
2.write several line of code
3.try the code-completation with <ctrl+space> and you will get "Not Default Proposal"


More information:
Using Eclipse Platform Version: 3.4.2(Ganymede) i notice that after many line of code my code-completation stop to work (the auto-completation that appear after you type a dot and tells you the method of a class or help you to complete words pressing ctrl+space). I notice that this happened only after row the 929th line but inspectin more i realize that it was not because of the line of code but because i was inside the 40th nested if-else.
Comment 1 Daniele CLA 2009-05-06 03:49:47 EDT
I'm sorry about all this option to set (Product, Component, etc..) but it's full of acronym and I don't know what you mean.
Comment 2 Kentarou Fukuda CLA 2009-05-19 03:15:32 EDT
It seems bug for JDT.
Comment 3 Dani Megert CLA 2009-05-19 03:29:02 EDT
Sorry but I cannot reproduce this using I20090518-2000. Maybe I use slightly different example code.

Please attach a code example that allows us to reproduce the problem.
Comment 4 Olivier Thomann CLA 2010-01-05 09:17:08 EST
Closing as WORKSFORME.
Reopen if you can still get it and provide the requested information
(see comment 3).
Comment 5 Satyam Kandula CLA 2010-01-25 08:18:42 EST
Verified for 3.6M5 using Build id: I20100122-0800
Comment 6 Olivier Thomann CLA 2010-01-25 14:55:16 EST
Verified.