Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Small bug in code completion.
Small bug in code completion. [message #20946] Mon, 20 April 2009 16:14 Go to next message
phirox is currently offline  phirox
Messages: 49
Registered: December 2007
Member
If you use a template variable with multiple parameters as a function argument, it makes the code completion stop at the "," inside the <>.

You can try this with the following existing function:

void Escape(ArrayMap<String, EscValue>& globals, const char *function, Callback1<EscEscape&> escape)


This will break at "ArrayMap<String," then "EscValue>& global," then "const char *function" and finally "Callback1<EscEscape&> escape".

Tested with svn version 1062.
Re: Small bug in code completion. [message #21008 is a reply to message #20946] Sat, 25 April 2009 13:17 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
What do you mean by "stop"?

Mirek
Re: Small bug in code completion. [message #21013 is a reply to message #21008] Sat, 25 April 2009 13:55 Go to previous messageGo to next message
phirox is currently offline  phirox
Messages: 49
Registered: December 2007
Member
luzr wrote on Sat, 25 April 2009 13:17

What do you mean by "stop"?

Mirek


When you use code completion, and press enter on the function(e.g. Escape), you get a nice tooltip with the function and its arguments. Highlighted is the part that you are to enter.

It looks a bit like this:
void Escape(ArrayMap<String, EscValue>& globals, const char *function, Callback1(<EscEscape&> escape)

The bold part is broken wrongly, because it just finds the first ',' char. But since this is part of a template argument, it should be skipped. The function has 3 not 4 arguments.
Re: Small bug in code completion. [message #21026 is a reply to message #21013] Mon, 27 April 2009 08:43 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks, fixed.

Mirek
Previous Topic: Why project files are not sorted?
Next Topic: [FIX] Editing a file which does not exist anymore chrashes TheIDE
Goto Forum:
  


Current Time: Fri Mar 29 09:04:20 CET 2024

Total time taken to generate the page: 0.01090 seconds