View unanswered posts | View active topics



Reply to topic  [ 5 posts ] 
You guys rock 
Author Message
Member

Joined: Wed Aug 01, 2007 3:37 pm
Posts: 1222
Location: Grizzly Flats, CA
1. An idea pops into my head for managing my commonly used classes better

2. I wrestle with the idea, refinining it. Meanwhile I pick up what's needed to build a FlashDevelop plugin

3. I finally decide adding a new option to the ProjectManager plugin will suit all of my needs

4. I get ready to add on to the RebuildTree method in the ProjectTreeView class to accomplish what I want, and I discover the following code:

Code:
if (PluginMain.Settings.ShowGlobalClasspaths)
            classpaths.AddRange(PluginMain.Settings.GlobalClasspaths);


5. I visit settings for ProjectManager and sure enough, set the option to true. I restart FlashDevelop and discover that everything I wanted was already there in the first place.


Wed Feb 25, 2009 8:16 am
Profile WWW
Member

Joined: Wed Aug 01, 2007 3:37 pm
Posts: 1222
Location: Grizzly Flats, CA
Here's my final workflow:

1. Add all of my commonly used classes to a global classpath
2. Enable display of global classpaths in the Project panel
3. Use the project panel to edit, update and interact with my global classes
4. Build the project like normal
5. Copy the classes from the global classpath into my local classpath directory at my leisure


Wed Feb 25, 2009 8:16 am
Profile WWW
Admin

Joined: Tue Aug 30, 2005 6:14 pm
Posts: 2802
Location: Finland
Hehhee! :)


Wed Feb 25, 2009 8:18 am
Profile WWW
Member

Joined: Wed Aug 01, 2007 3:37 pm
Posts: 1222
Location: Grizzly Flats, CA
Hey, so quick question --

If I wanted to build a button that automates the copying over of just the global import files you are using, which plugin would tell me which files to copy?

Would ASCompletion tell me which imports are being used, or does ProjectManager keep tabs on that sort of thing?


Wed Feb 25, 2009 8:25 am
Profile WWW
Admin

Joined: Tue Aug 30, 2005 6:14 pm
Posts: 2802
Location: Finland
Well ASCompletion maintains the completion code like code references and such so my quess is ASCompletion. You could ask Phillippe if he has an idea how to do this.


Wed Feb 25, 2009 8:33 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.