Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333140 - No space before parenthesis!
Summary: No space before parenthesis!
Status: CLOSED DUPLICATE of bug 290706
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 6.0.2   Edit
Hardware: PC All
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-23 05:35 EST by Iulian Popa CLA
Modified: 2010-12-23 08:42 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iulian Popa CLA 2010-12-23 05:35:08 EST
Build Identifier: M20100211-1343

No space is put before opening a parenthesis when code completion is used (using C++, not tested for Java), though the user has made the necessary changes in code formating options.
 

Reproducible: Always

Steps to Reproduce:
1. Write a class containing a dummy method that takes no arguments.
2. Write some extra code in such way to call the dummy method. Try to use code completion on this method name.
3. You should notice that the method name is written and that it adds a set of parenthesis automatically. 
4. Note that the parenthesis is not preceded by a white space as it was set in code formating options.
Comment 1 Remy Suen CLA 2010-12-23 08:15:41 EST
Java tooling issues goes to the Java tooling team.
Comment 2 Thomas Schindl CLA 2010-12-23 08:16:51 EST
he talks about C++
Comment 3 Remy Suen CLA 2010-12-23 08:21:50 EST
(In reply to comment #2)
> he talks about C++

Damn, I only read the Java part not the C++. :(
Comment 4 Anton Leherbauer CLA 2010-12-23 08:42:54 EST

*** This bug has been marked as a duplicate of bug 290706 ***