Home » Developing U++ » U++ Developers corner » Assist for include files
Re: Assist for include files [message #31047 is a reply to message #31043] |
Wed, 02 February 2011 11:30 |
raxvan
Messages: 60 Registered: December 2009
|
Member |
|
|
Hello,
dolik.rce wrote on Wed, 02 February 2011 10:17 |
Good idea, although I have to warn you that it might not be as easy as it seems. I did attempt something similar once (showing annotation in the editor), but failed. AssistEditor code is quite a jungle
|
I can see , but i find the ide code really easy to understand.
dolik.rce wrote on Wed, 02 February 2011 10:17 |
The assist is handled at many different places, e.g. in AssistEditor::LeftDown() it is closed when you click in the editor. I guess (don't see the code right now) that closing on esc might be handled similarly. Anyway, I think it might be easy to actually extend current Assist behavior to do this than write a new one...
|
I have that fixed now, the file assist opens and closes properly.
The next step left is populating the popup with proper stuff.
dolik.rce wrote on Wed, 02 February 2011 10:17 |
Depends on what exactly you want to show. If you restrict to files from packages in current project (which would be just fine IMHO), you can process this information very fast because it is already stored within theide. If you wan't to scan for files on disk than some clever pre-reading might be needed. Or you can cheat and suggest user some fixed set of standard system headers + the files in packages
|
I want to show the files in all the assembly paths from the current project. Also the files from include directories. I'm thinking to do a scan in advance but in this case i have to handle all the changes (add file, remove file, etc).
dolik.rce wrote on Wed, 02 February 2011 10:17 |
It's \x22 (or 34 in decimal) or you can just write '\"'. Neat trick: In theide press Ctrl+E to show calculator, type '"' and press enter
|
Fixed , the problem was in some other place , actually the key was equal to '"' but the code was busted.
dolik.rce wrote on Wed, 02 February 2011 10:17 |
Also if you want to take part in theide development, you should probably ask Mirek for a Redmine account and create a feature issue in the issue tracker we just recently started to use
|
Will do , once i have a working beta of this.
Thanks,
Raxvan.
92b48bf94855483bb4cec8bcc8c0c933
|
|
|
|
|
Assist for include files
By: raxvan on Tue, 01 February 2011 11:06
|
|
|
Re: Assist for include files
|
|
|
Re: Assist for include files
By: raxvan on Wed, 02 February 2011 11:30
|
|
|
Re: Assist for include files
|
|
|
Re: Assist for include files
By: raxvan on Wed, 02 February 2011 13:55
|
|
|
Re: Assist for include files
By: raxvan on Thu, 03 February 2011 19:06
|
|
|
Re: Assist for include files
|
|
|
Re: Assist for include files
By: raxvan on Thu, 03 February 2011 19:50
|
|
|
Re: Assist for include files
|
|
|
Re: Assist for include files
By: raxvan on Fri, 04 February 2011 09:15
|
|
|
Re: Assist for include files
|
|
|
Re: Assist for include files
By: raxvan on Fri, 04 February 2011 13:29
|
|
|
Re: Assist for include files
By: raxvan on Fri, 11 February 2011 19:09
|
|
|
Re: Assist for include files
By: raxvan on Sat, 12 February 2011 15:11
|
|
|
Re: Assist for include files
By: koldo on Sat, 12 February 2011 19:56
|
|
|
Re: Assist for include files
By: raxvan on Sat, 12 February 2011 20:31
|
|
|
Re: Assist for include files
By: raxvan on Sun, 13 February 2011 00:14
|
|
|
Re: Assist for include files
By: koldo on Sun, 13 February 2011 20:35
|
|
|
Re: Assist for include files
By: raxvan on Mon, 14 February 2011 08:06
|
|
|
Re: Assist for include files
By: koldo on Mon, 14 February 2011 11:12
|
|
|
Re: Assist for include files
By: raxvan on Mon, 14 February 2011 12:32
|
|
|
Re: Assist for include files
By: koldo on Tue, 15 February 2011 15:52
|
|
|
Re: Assist for include files
By: koldo on Tue, 15 February 2011 22:39
|
|
|
Re: Assist for include files
By: raxvan on Tue, 15 February 2011 22:44
|
|
|
Re: Assist for include files
By: mirek on Mon, 25 April 2011 17:53
|
|
|
Re: Assist for include files
By: raxvan on Wed, 27 April 2011 13:46
|
|
|
Re: Assist for include files
By: mirek on Wed, 27 April 2011 18:46
|
|
|
Re: Assist for include files
By: tojocky on Wed, 27 April 2011 21:32
|
|
|
Re: Assist for include files
By: raxvan on Wed, 27 April 2011 21:57
|
|
|
Re: Assist for include files
By: mirek on Fri, 29 April 2011 15:19
|
|
|
Re: Assist for include files
By: raxvan on Sat, 30 April 2011 10:03
|
|
|
Re: Assist for include files
By: mirek on Sat, 30 April 2011 11:29
|
|
|
Re: Assist for include files
By: raxvan on Sun, 01 May 2011 18:49
|
|
|
Re: Assist for include files
By: mirek on Sun, 01 May 2011 21:09
|
|
|
Re: Assist for include files
By: Lance on Wed, 04 May 2011 15:50
|
Goto Forum:
Current Time: Wed May 15 09:10:04 CEST 2024
Total time taken to generate the page: 0.02639 seconds
|