Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356877 - [RBD] Type dot (.) in the string should not display content assistant
Summary: [RBD] Type dot (.) in the string should not display content assistant
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Xiao Bin Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 21:37 EDT by fahua jin CLA
Modified: 2017-02-23 14:16 EST (History)
3 users (show)

See Also:


Attachments
StringLiteral dot invoke content assist (9.85 KB, patch)
2011-09-22 03:05 EDT, Xiao Bin Chen CLA
lasher: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fahua jin CLA 2011-09-06 21:37:04 EDT
Build Identifier: 0.7.0.v201109061723

If user type '.' in the string, then the content assistant is displayed.

For example, I have below string assignment.

aa string = "test";

Now if I type "." in the any place of "test", it will prompt the content assistant.

Reproducible: Always
Comment 1 Xiao Bin Chen CLA 2011-09-06 21:42:55 EDT
It's a enhancement. RBD also work like this.
Comment 2 fahua jin CLA 2011-09-06 21:45:55 EDT
Which RBD do you use? I tested in 8012, RBD does not prompt content assistant in such case.
Comment 3 Justin Spadea CLA 2011-09-07 10:14:35 EDT
I don't think this is an enhancement we want. A string literal will rarely (if ever) be containing EGL code so why provide content assist inside it? The 99% case is the period will be used to end a sentence. Content assist would just get in the way of typing sentences and become annoying to the user. The Java editor doesn't trigger content assist after a period inside string literals, even if I press Ctrl+space.
Comment 4 fahua jin CLA 2011-09-19 23:06:28 EDT
Set the priority to major, it should be fixed.
Comment 5 Xiao Bin Chen CLA 2011-09-22 03:05:35 EDT
Created attachment 203816 [details]
StringLiteral dot invoke content assist
Comment 6 Xiao Bin Chen CLA 2011-09-22 03:06:22 EDT
hi tony,this defect was fixed could you help me to apply the patch ,thanks.
Comment 7 fahua jin CLA 2011-09-29 22:49:33 EDT
Verified in 0.7.0.v201109292101
Comment 8 fahua jin CLA 2011-11-09 22:13:44 EST
The same problem in below statement, type "." in the string literal, it shows the content assistant.

curTime timeStamp("hhmmss") = "121212";
Comment 9 Xiao Bin Chen CLA 2011-11-10 02:50:04 EST
 There are some problem with RBD too. Anyway, this defect is important,Fixed.
Comment 10 fahua jin CLA 2011-11-13 21:44:18 EST
Verified in 0.7.0.v201111130901.