Save your code snips

Started by Candle, Thu 10/11/2005 08:35:06

Previous topic - Next topic

Candle

I was looking for something I could add code to real quick and didn't find what I want so a friend help me code this up and works real nice to drop code and get it back when you need it.

You can downloadÃ,  it Here to download
download this one (old uses ini file.)
It is freeware .

Mirror if my site is down or can't get to it.
http://www.upload2.net/download2/JuBj81x8NeEquOW/snip3.exe.html

Gilbert

Very good idea. :)

But naming the archive setup_installer.rar is not very intuitive.
Also, since it's a so simple and small tasty tool, I doubt the necessity of the installer (it just added to the archive, and, the uninstall executable is even larger than the programme itself :P), I just installed it, copied the files to another folder, and then uninstalled it...

Candle

#2
I can add just the files if people don't want the installer.
Here is just the files no installer.
http://www.candles-weblog.us/snip3.rar

Rui 'Trovatore' Pires

This is intriguing, but I'd like to know more. How does this differ from, say, a txt file you open and type in?
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

Ubel

Quote from: Rui "Brisby" Pires (a Furry) on Thu 10/11/2005 11:25:21
How does this differ from, say, a txt file you open and type in?

I think the idea is that the codes are easier to keep arranged with this than in a normal txt file. And it's faster to find the code you are looking for.

The idea of this program is nice. Thanks for sharing this. :)

edmundito

Or you could just use script modules...  ;)

Haddas

This could help people like me, who never finish games because they lack in the scripting department. If that thing came with presets it would be awesome. That way I could study and see how things work and what to do to make things work. That's marvellous it is.

Candle

Well I hope some find it helpful .it sure helps me out.

Gilbert

Well it's simple but it sure is useful to me. Since I don't care about modules, I'd rather enter the codes myself.

Candle

I updated it now to use a txt file .
Watch the size of the code you add , it will bleed over to other code if it is to much. but don't think it will be a problem as most code is not that big.
if it be comes a problem I'll go back to the ini file.

Kinoko

Just how big is too big though?

Candle

I don't think you will have to worry about it as I just loaded 200 lines and it was fine.

RickJ

Candle this is a really great  idea!   I wonder if you would consider expanding the functionality to support snippet categories.  In this case each category would be a separate txt file.  The user could select a category from a file list.   There would be a default category called "work", "default", or something similarly appropiate.  This should alleviate any concerns about file size and make it easy for people to share snippet collections.   It would also be nice to be able to specify a path where the text files are to be saved.   

  • Settings - Use a separate ini file to store settings such as the GuiSize and Paths.

  • Paths - Allow user to specify a path where txt files are stored

  • Categories - Support multiple categories where each category is a seperate txt file.

    It would also be very useful if a category could also be  a collection of txt files rather than a single txt file.  The category.txt file would contain a directory specification and all the txt files in that directory would appear in the category.  This would be very useful for people who have templates that they include all the time.   

    Thanks for listening and for the great app.  It is muchly appreciated.

Candle

#13
I'll see what I can do Rick.
I'm working on the GUI so here are two pictures to look at and see if it is something your were thinking?
I add a Calendar too 2 shot shows the cal.
I don't know how long it will take me to do this part as I'm working on my game too and need breaks now and then. lol
I should add the window can be resized to preference .





I did find this program and it may be more to your liking Rick.
http://www.softpedia.com/get/Programming/Other-Programming-Files/CodeSnip.shtml

RickJ

Thanks for listening.  I checked out the link you provided but it is far too complicated for what I want.  Your little app loads quickly and is great.  Your new screen shots, if I understand them correctly, are just what I was thinking.  Not sure what the calendar is all about though?

Candle

Just tossed the calendar in for fun , but I'll see what I can do with what you ask for . can't promise it all will be done but will try.
i can take the Cal off. lol

TheYak

This application's very handy.  I keep all kinds of .txt files around with information referenced that I may need later.  Though I probably won't use it for coding, it could certainly be used for . . . er. . . pr0n.

Ubel

Now that I think about it, this application could be very useful for story design too! Especially dialog writing. You'd just make a gategory (a dialog topic) and few sub-gategories (dialog options) and then write the dialog in. Very very useful! I love it. :D

Rui 'Trovatore' Pires

I've been putting off adding this to my site because I don't think it'd be much use to me. It took 3 days to realize how impartial I should be towards any resources. I guess I'm just maturally thick. :) I'll be adding it purty soon, in fact as soon as Candle feels that the program is really finished.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

Candle

If you want to add it go ahead as it will be awhile before I update it again.

SMF spam blocked by CleanTalk