Home » Developing U++ » U++ Developers corner » Assist++ future
Assist++ future [message #10914] |
Sat, 04 August 2007 15:06 |
Defre
Messages: 1 Registered: August 2007 Location: France
|
Junior Member |
|
|
Hi everybody, it's my first post.
First of all, thank you for U++, beautiful piece of software.
I have some interrogation about the future of Assist++:
- when will code completion be improved? (i have encountered some problem with pointer manipulations). More precisely, will preprocessing be included in the analysis?
- is refactoring a part of your plan?
I'm thinking of writing some C++ analysis tools, but nothing serious, just to learn. Concerning preprocessing, since a preprocessor output is generally composed of tens of thousand of lines, performance is an obvious problem. Some kind of "PCH" would be a solution...
Actually i'm just beginning the scanner, there is a long way to go.
Very truly,
Fred
|
|
|
|
|
|
Re: Assist++ future [message #10924 is a reply to message #10918] |
Sun, 05 August 2007 10:05 |
|
mirek
Messages: 14039 Registered: November 2005
|
Ultimate Member |
|
|
mr_ped wrote on Sat, 04 August 2007 16:47 |
Quote: | and to start collecting code that it does not parse properly....
|
I think I will provide plenty of those over time..
But it's not only about preprocessing, I have some more basic problems, like I don't have local variables parsed.
void TestLocalVariablesParsing( int variableone, int anothervariable, int thirdvariable )
{
//here write "vari" and hit Ctrl+Space .. nothing is suggested.
//here write "ano" and hit Ctrl+Space .. nothing is suggested.
String tempstring;
//here write "temps" and hit Ctrl+Space .. nothing is suggested.
}
It annoys me a lot personally, I'm used to IDEs which do parse local variables. (MSVS, VSlick).
|
I will check soon... but in fact, in this case, it perhaps is not parser bug, just problem in editor. You can easily check: type "tempstring."
Mirek
|
|
|
|
Standard array not parsed [message #10927 is a reply to message #10917] |
Sun, 05 August 2007 13:29 |
andrei-catalin
Messages: 62 Registered: May 2006 Location: Romania
|
Member |
|
|
Standard array is not parsed by Assist
//$-
int step[11]={0,1,2,5,10,20,50,100,200,500,1000}; //Whithout parser directives assist don't work
//$+
struct Foo
{
void ShowStep(int n);
};
//test Alt+C/Ctrl+V
void Foo::ShowStep(int n)
{
Cout()<<"Step["<<n<<"] = "<<step[n]<<"\n";
}
CONSOLE_APP_MAIN
{
Cout()<<"Start"<<"\n";
Foo foo;
//test autocompletion
foo.ShowStep(5);
}
Andrei
|
|
|
Re: Assist++ future [message #12166 is a reply to message #10914] |
Mon, 15 October 2007 01:29 |
mr_ped
Messages: 825 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
I have problem with Assist++ not showing member of S_A struct in this case:
class C_A {
public:
struct S_A { int x; S_A() : x(1) {} };
};
class C_B : public C_A {
public:
struct S_B : public S_A { S_B() { x = 3; } };
};
C_B::S_B b;
CONSOLE_APP_MAIN
{
UPP::Cout().Put( UPP::AsString(b.x) + "\r\n" );
//put "b." here, the "x" of S_A will be not shown
}
(P.S. the simple form without C_A and C_B encapsulation works OK, only this more complex case does not work)
[Updated on: Mon, 15 October 2007 01:30] Report message to a moderator
|
|
|
Re: Assist++ future [message #12182 is a reply to message #10918] |
Mon, 15 October 2007 21:49 |
zsolt
Messages: 698 Registered: December 2005 Location: Budapest, Hungary
|
Contributor |
|
|
mr_ped wrote on Sat, 04 August 2007 22:47 |
Quote: | and to start collecting code that it does not parse properly....
|
I think I will provide plenty of those over time..
But it's not only about preprocessing, I have some more basic problems, like I don't have local variables parsed.
void TestLocalVariablesParsing( int variableone, int anothervariable, int thirdvariable )
{
//here write "vari" and hit Ctrl+Space .. nothing is suggested.
//here write "ano" and hit Ctrl+Space .. nothing is suggested.
String tempstring;
//here write "temps" and hit Ctrl+Space .. nothing is suggested.
}
It annoys me a lot personally, I'm used to IDEs which do parse local variables. (MSVS, VSlick).
|
Use Ctrl+, for local variables.
|
|
|
Re: Assist++ future [message #12183 is a reply to message #12182] |
Mon, 15 October 2007 22:56 |
|
zsolt wrote on Mon, 15 October 2007 15:49 |
Use Ctrl+, for local variables.
|
I'm using it too, but without any doubts ctrl+space should show them as well.
|
|
|
|
Re: Assist++ future [message #16978 is a reply to message #16977] |
Thu, 24 July 2008 12:19 |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
Wouldn't this be more easily implemented as an advanced condition text search? Something like regular expressions, only simpler to use?
I think implementing it in the parser would be very complicated (and it's complicated enough already ), a would presumably reduce scanning performace.
[Updated on: Thu, 24 July 2008 12:19] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Sep 21 03:02:47 CEST 2024
Total time taken to generate the page: 0.04558 seconds
|