Home » U++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » Bad "comma" character from Assist++
Bad "comma" character from Assist++ [message #12167] |
Mon, 15 October 2007 02:01 |
mr_ped
Messages: 825 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
On kubuntu 6.10 with 2007.1 stable I did set UTF-8 as default for new source files.
Now when I use Assist++ to write down function and parameters in the editor I do get:
String s = Garble(const char *s¸ const char *e)
The "comma" between parameters is some weird character, not comma.
During compilation I get these errors:
/home/ped/UppMyApps/AssistTests/AssistTests.cpp:5: error: stray ‘\302’ in program
/home/ped/UppMyApps/AssistTests/AssistTests.cpp:5: error: stray ‘\270’ in program
(I had this problem since forever, I just never bothered to report it, but it's getting quite annoying as I'm using Ultimate more.)
[Updated on: Mon, 15 October 2007 02:04] Report message to a moderator
|
|
|
|
Re: Bad "comma" character from Assist++ [message #12170 is a reply to message #12168] |
Mon, 15 October 2007 08:49 |
|
Maybe we should paint that "weird" character in bold and in a different color. Or let's get rid of it and insert ordinary commas and if cursor is between method brackets pressing comma should move cursor to the next parameter or if it is problematic (why?) tab key can be used.
|
|
|
Re: Bad "comma" character from Assist++ [message #12171 is a reply to message #12167] |
Mon, 15 October 2007 09:56 |
mr_ped
Messages: 825 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
That sound reasonable, I had to think for some seconds before I realized why it annoys me so much anyway, even when I *do* rewrite first parameter, hit comma, and write the second one.
The annoyance is when I call some lower level function from some sort of wrapper or extension function, which has same parameter names, like:
void Foo( char fooparam1, char fooparam2 ) {
...
}
void FooEx( char exparam1, char fooparam1, char fooparam2 ) {
...
Foo( fooparam1, fooparam2 );
}
In such case the Assist does produce almost final code, all I need is just to delete parameter types (a little bit of Ctrl+arrow/shift/delete magic)... and in such case I often overlook that weird character and than I get an error during compilation.
|
|
|
Goto Forum:
Current Time: Fri Sep 20 07:37:47 CEST 2024
Total time taken to generate the page: 0.03001 seconds
|