If you are a developer, this may interest you...

Soldato
Joined
8 Jan 2009
Posts
4,819
Location
North East
I have been developing this tool on/off for some time now. its basically a code organizer, i wrote it for myself originally a few months ago just store delphi code and things, until recently ive started adding other programming languages that might benefit some people here.

It now supports c++, delphi, javascript, perl, php and visual basic, other languages are also planned.

Ive looked in the past for freeware code organizers and cannot find a decent one, so here is my alternative, free to all :)

Key Features:
===========


  • Simple and easy to use WYSIWYG interface
  • Multi programming languages support
  • Add groups to the database allowing structured layout
  • Ability to drag and drop groups, documents and snippets for flexible arranging
  • Fast database saving and loading
  • Full rich-text Document editor
  • Syntax highlighting capabilities thanks to SynEdit classes

Latest Screens (v1.44):
Now comes with installer to associate languages with the program as you can see below :)

Program is in much of need of testing so do step up and report! :D

23k4z8.jpg


Older Screens:
http://i49.tinypic.com/2hfmag5.jpg

v1.44 Beta DOWNLOAD HERE: (2.09MB Zip)
---

see Read Me.txt file in zip first, program is in testing stages and is reccomended to not use it fully yet until tested thoroughly! once im 100% sure everything is ok i will give the go ahead so you can start adding your items in. you wont have to copy and paste them all, you will be able to import them (one at a time at the moment) or drop them in the editors.

will keep you updated.

version 1.3c and before are now obsolete, dont use those versions for saving/loading - they wont be compatible with v1.4!
 
Last edited:
So in layman's terms, is this a snippet database? :)

Cool project. Does it support teams, or single developers only? :)

Does it have versioning? Merge? :)
 
So in layman's terms, is this a snippet database? :)

Cool project. Does it support teams, or single developers only? :)

Does it have versioning? Merge? :)

1) yes, but as you can see you can store articles/guides etc

2) aimed for single only

3) as of now you cannot merge with others, there is plans to batch export/import from one database to another. currently you can only export/import individual items.
 
Nice work. I used to use Evernote for similar, but it was in no way geared towards code.

I just use plain text files now.
 
Check first post for download link, i uploaded a beta demo with sample database, php has been implemented. i cannot really do too much more to it until its had some testing.

so i await feedback :)
 
Do other language IDEs not support snippets at all? I know that Visual Studio (for .Net) and Eclipse (Java) supports them already.

It's a good idea, but I try and avoid using large snippets (more than a few lines) wherever possible.

Reasons? If I've re-used the same snippet 100 times in 100 projects, and find a bug or want to change something in the snippet, I have to re-code 100 projects. Having it as a shared/referenced external library (using svn:externals or some other linking code management tool), you can simply update the referenced assembly/dll/unit and re-compile.
 
theres always dll capabilities for reusing code too, i thought this might be more portable to use though, and is not fixed to any ide or anything, it just a standalone application.
 
Do other language IDEs not support snippets at all? I know that Visual Studio (for .Net) and Eclipse (Java) supports them already.

It's a good idea, but I try and avoid using large snippets (more than a few lines) wherever possible.

Reasons? If I've re-used the same snippet 100 times in 100 projects, and find a bug or want to change something in the snippet, I have to re-code 100 projects. Having it as a shared/referenced external library (using svn:externals or some other linking code management tool), you can simply update the referenced assembly/dll/unit and re-compile.
Not every language compiles/builds, and is interpreted at run-time, so that luxury is not afforded to you. :)
 
Not every language compiles/builds, and is interpreted at run-time, so that luxury is not afforded to you. :)

If this is the case then common functionality should be encapsulated in shared "include" files, rather than dlls.

The point still stands that snippets should be exactly that, "snippets" - not huge great swathes of code (with comments).
 
True, but rather than just ****ing on someones parade, why not provide worthwhile feedback? This app could and, judging by the feedback, will be useful for a number of people.

Even with shared libraries and such, you need to tailor parts of those to your current needs. Controllers being the most common for this, so what is so bad about having a snippet app that you can simply copy/paste your controller skeleton from?
 
True, but rather than just ****ing on someones parade, why not provide worthwhile feedback? This app could and, judging by the feedback, will be useful for a number of people.

So the only worthwhile feedback is people saying that it's useful? Great. I wasn't questioning the application itself, more the concept of the code snippet. Nothing at all to do with how his application handles them.

Even with shared libraries and such, you need to tailor parts of those to your current needs. Controllers being the most common for this, so what is so bad about having a snippet app that you can simply copy/paste your controller skeleton from?

If you have to tailor a shared library, then it's not a shared library - it's the same if you code an abstract class and end up overriding the base behaviour more often than not. ie. it's not really a good abstract definition.

A shared library should follow the open/closed principle, so you have a common, backwards compatible set of functionality - if you tailor it for one, you tailor it for all, which a snippet doesn't cover - as you would have to go back and revisit each and every time you cut and paste that snippet into your code.

Apologies if I am coming over too strong. Cut/Paste coding is a really REALLY big pet hate of mine.

:)
 
No, the only worthwhile feedback is constructive criticism. :) You were merely "showboating" by claiming that this shouldn't be used, and shared libraries should be used instead. Though for people not in full-time development roles, or those that do it for a hobbie or work by themselves on projects, this could be very useful.

It's a really big pet hate of mine, too, but it doesn't remove the matter of fact that it does, and always will, happen.. just look at the snippets functionality on Eclipse, VS2008, etc. etc. How many templates are there in those IDEs? TestCase templates, (X)HTML templates, Class Templates, and so forth. :)

This could bring that functionality to languages that don't have an IDE capable of doing that.
 
Last edited:
i dont mind criticism if say you dont like it, or it doesnt work properly etc, im not making people use it, so i dont see the need to criticise what it does, but rather how well it does or doesnt do it. i just thought i would expand it to other languages and share it.

i also hate copy and paste code, however theres times where i find it could be useful to save a function or procedure as a snippet. this then saves rewriting the same function or procedure which takes time and logic.

the idea of saving documents is straight forward enough, but with the ability to format the text for easy reading etc.

finally, with this program it easy to share snippets with others for whichever language you use. I thought it would be a good thing to share for all.
 
Back
Top Bottom