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 » Community » Newbie corner » Why do we have to manually add Core sub-packages?
Re: Why do we have to manually add Core sub-packages? [message #36761 is a reply to message #36737] Tue, 03 July 2012 09:41 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
dolik.rce wrote on Fri, 29 June 2012 12:57


The SMTP package is optional part of Core. Most applications can be compiled without it, so there is no need to introduce the additional files that would only slow down the compilation. So that is why it is not added automatically when you add Core.

Now the more interesting part of your question: Why it is not done automatically... My best guess is that it is because it is not needed that often - just a couple times over the entire application development. But it is an interesting idea and it would be quite easy to implement. It actually makes sense - I always get bored when I have to wait for all the nests being scanned for packages (i have rather slow hdd Smile ) when opening the Add package dialog, even though I new exactly what package I want to add and where it resides. Adding the packages automatically would make TheIDE even more efficient. Similarly, the packages could be automatically removed when the last relevant #include is removed from the code. That would be little trickier to implement, but still probably doable...



Actually, I was thinking about reversed process. All packages would just #include "uses", which would be generated by TheIDE. You would then just add package in TheIDE and you would not need to add the #include...

Anyway, perhaps it is too huge departure from how things are usually done, given how little often you are adding packages...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Minimum required to debug
Next Topic: add library
Goto Forum:
  


Current Time: Mon May 13 19:00:36 CEST 2024

Total time taken to generate the page: 0.03485 seconds