Know any cross-platform code snippets manager? Topic is solved

This forum is reserved for everything you want to talk about. It could be about programming, opinions, open source programs, development in general, or just cool stuff to share!
Post Reply
daddydave
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 214
Joined: Wed Jun 15, 2005 3:31 am
Location: United States
Contact:

Know any cross-platform code snippets manager?

Post by daddydave »

There's got to be one somewhere. I mean, other than a text editor, other than web-based, and other than something I have to pay for. ;)
User avatar
T-Rex
Moderator
Moderator
Posts: 1248
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Post by T-Rex »

I'm not 100% sure but maybe wxCRP wil fit your needs.
I don't know if it is available for Linux but for Windows it is 100% free

http://www.xs4all.nl/~jorgb/wxcrp/
daddydave
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 214
Joined: Wed Jun 15, 2005 3:31 am
Location: United States
Contact:

Post by daddydave »

T-Rex wrote:I'm not 100% sure but maybe wxCRP wil fit your needs.
I don't know if it is available for Linux but for Windows it is 100% free

http://www.xs4all.nl/~jorgb/wxcrp/
You know, I like wxCRP, and it is available for Linux too, and one time I downloaded the Windows version and tried to use some of its powerful features, but it seemed kind of "heavy" for just impulsively storing the small snippets I have in mind. As far as I can tell, every snippet in wxCRP has to be in a separate file. If I am going to do that, I may as well just let the file system be the snippet repository. Or maybe I'm missing something obvious, Jorg?

I also want something with more interaction with "the clipboard," although in Linux, it seems like you have to ask "which clipboard?"
daddydave
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 214
Joined: Wed Jun 15, 2005 3:31 am
Location: United States
Contact:

Post by daddydave »

It's occured to me that maybe I just need a clipboard manager

It has also occured to me that if it's just text, maybe cross-platform doesn't matter that much.
daddydave
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 214
Joined: Wed Jun 15, 2005 3:31 am
Location: United States
Contact:

Post by daddydave »

Maybe TiddlyWiki (http://www.tiddlywiki.com) is the best thing to use for my purposes. Basically you download a self-editing HTML file. You create notes (which could be code snippets -- there is some trick* to keep them from being parsed for markup syntax) and somehow these are magically saved back into the HTML file, which is typically saved onto a USB drive. Since it is just HTML and javascript, that would tend to be cross platform. Extremely clever, in my opinion.

This kind of contradicts what I said about the clipboard and other things, but I guess I just had to talk myself through the answer

*UPDATED SOON AFTER POSTING
The trick to keep the snippets from being parsed for markup, I found again, is to precede the snippet with {{{ and to follow it with }}}. TiddlyWiki uses that for literals.
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

There is also Moin Moin desktop wiki, and WikiPad (written in wxPython) and ZuluPad announced here.

I am also in the process of making my own desktop wiki app because the other apps always seem to lack features such as;

- Store attachments in the DB
- Better TODO management
- Labels on pages
- Proper renaming of wiki pages (without having to manually rename all relations)
- Sub pages
- Auto HTML publish of edited pages
- etc

At work I use Moin Moin desktop wiki with Firefox, but ultimately I would like to create a desktop stand alone version. If I ever succeed, who knows. I am going to try wxPython for a change, my first trial apps were looking good

- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
daddydave
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 214
Joined: Wed Jun 15, 2005 3:31 am
Location: United States
Contact:

Post by daddydave »

Jorg wrote:I am also in the process of making my own desktop wiki app because the other apps always seem to lack features...
I look forward to seeing it!
Post Reply