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 » 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 Go to previous messageGo to previous message
raxvan is currently offline  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 Smile


I can see Smile, 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 Wink


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 Wink


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 Wink


Will do , once i have a working beta of this.


Thanks,
Raxvan.


92b48bf94855483bb4cec8bcc8c0c933
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Possible issue in Controls4U::Meter
Next Topic: external GIT clones differ in HASH --> problem when merging
Goto Forum:
  


Current Time: Wed May 15 09:10:04 CEST 2024

Total time taken to generate the page: 0.02639 seconds