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 |
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 #21013 is a reply to message #21008] |
Sat, 25 April 2009 13:55 |
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.
|
|
|
|
Goto Forum:
Current Time: Fri Mar 29 09:04:20 CET 2024
Total time taken to generate the page: 0.01090 seconds
|