Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333140

Summary: No space before parenthesis!
Product: [Tools] CDT Reporter: Iulian Popa <popaiulian>
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: CLOSED DUPLICATE QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: trivial    
Priority: P3 CC: cdtdoug, remy.suen, tom.schindl
Version: 6.0.2   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

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 ***