Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Code snippet plugin
artoj:
--- Quote from: killerbot on August 14, 2006, 03:45:10 pm ---Both Morton and I have put the plug-in in our source tree at the level on contributed plug-ins. Hint hint ;-)
--- End quote ---
You can add it to the trunk, if you really want to :)
killerbot:
If I get the approval of the Don, I will add it tomorrow ;-)
Pecan:
Import from file... is appending the file to the current tree.
Is there a way to clear the previous xml file/tree before importing?
I'd rather not keep all the snippets in memory at the same time. If Import from file.. would clear the tree then we could separate large snippets into individual xml files and load only when needed.
MortenMacFly:
--- Quote from: Pecan on August 14, 2006, 10:01:00 pm ---Is there a way to clear the previous xml file/tree before importing?
--- End quote ---
Nice would be a question like: Press "Append" to append the file or "New" to import. (Click "Cancel" to abort.). I think both can be interesting: To append to an existing code snippet list or to "create" a new one when importing. Oh - and by the way: I truly vote for adding this to SVN. It's great!
artoj:
The import / export functionality doesn't actually make sense anymore because it's same type of file that gets saved and loaded. In the first version the snippets were saved to the main C::B config file so that's why the Import / Export.
The import/export should be changed to "Load from file" and "Save to file" or something like that. I think another menu item "Load from file (append)" should added too + "remove all".
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version