14

I'm looking for a good code snippet manager, with syntax highlighting and search capabilities. Another important feature is the capability of changing the code area background color. I have tested some Adobe Air apps that had white background everywhere, which hurts my eyes.

I'm using KDE btw. I use Kate for coding, but I don't like it's snippet plugin.

andrewsomething
  • 37,262
  • 13
  • 93
  • 140
lovinglinux
  • 6,347
  • 1
  • 32
  • 38
  • I don't really like snippet plugins because the encourage copy-and-paste style coding. What you should be trying to do is to write good javascript libraries of find some that do it for you so that you do not need these snippets lying around. That would be my suggestion. – Robert Massaioli Oct 12 '10 at 04:06
  • I agree with you, to a certain point. The problem is that I need to constantly access Firefox's API with the same methods. So is not a matter of writing a library to avoid copy and paste. – lovinglinux Oct 12 '10 at 11:43
  • 3
    @Robert, i think that's a little BS. Just because I don't want to write `` or `sudo /etc/init.d/apache2 stop` over and over again rather than just a simple key combo like `ctrl+alt+shift+j` or whatever doesn't make us bad developers... – Oscar Godson Feb 05 '11 at 06:08
  • 1
    @Oscar Your opinion is fine, if you want to do that and you like it then that is fine. Notice that I did not say that it makes you a bad developer but rather that it encourages a style that I do not think is good; doing it though does not make you a bad developer. I offered an opinion with no facts which means that anybody can take it or leave it and that your comment is equally valid. – Robert Massaioli Feb 06 '11 at 05:28

11 Answers11

6

If you're working in python, Acire is a good choice.

acire

First, you need to install the Python Snippets library

sudo add-apt-repository ppa:python-snippets-drivers/python-snippets-daily
sudo apt-get update
sudo apt-get install python-snippets

Then you can install Acire itself:

sudo add-apt-repository ppa:acire-team/acire-releases
sudo apt-get update
sudo apt-get install acire
andrewsomething
  • 37,262
  • 13
  • 93
  • 140
2

I'm using Eclipse, which has a really nice snippet manager, with support for variables and drag-and-drop.

lovinglinux
  • 6,347
  • 1
  • 32
  • 38
2

instead of kate i recommend you Gvim and the SnipMate plugin, it's highly customizable, and really easy to use. Greetings

forellana
  • 303
  • 2
  • 10
2

You should try Code Barrel. It is cloud based so you can get your snippets anywhere. Oh, and it's free.

keird
  • 21
  • 1
  • Thanks. It looks awesome. I have tried it is what I'm looking for. The problem is that it is kind of slow and you can only store 25 snippets in the free plan. I'm definitely not willing to pay $9.95 a month to store snippets. I think this is more useful for companies with many developers. – lovinglinux Oct 12 '10 at 12:42
1

This is old, but I thought i'd add: http://code.google.com/p/snippely/

I hate AIR apps, but this one was an exception. It's well designed and works well.

Oscar Godson
  • 1,645
  • 5
  • 26
  • 30
1

If you're still looking for a good snippet manager tool, may I recommend QSnipps. It's cross-platform, has syntax highlighting, supports database share across all your computers.. etc.

Give it a try at: http://www.qsnipps.com/

Gabi
  • 11
  • 1
1

For the benefit of others, try gistboxapp, this is an extension for Chrome. You can use this in any platform. It is very light.

hg8
  • 13,410
  • 12
  • 71
  • 103
lonestar
  • 111
  • 1
0

I recommend Molimentum Quick (disclaimer: I'm the founder). It's available for Ubuntu. You can insert code snippets with ease with some shortcuts (check out the "smart insert" feature in docs). You can then click a shortcut, search, and it's copied to the clipboard. It supports syntax highlighting and because of the versatile design, it works in every editor. It also supports a dark theme.

0

Use a post-it application, like TomBoy or GNote. It's light and nice and stays in the panel at the top.

0

I would recommend Snip2Code - http://www.snip2code.com.

It allows the user to collect, organize and share code snippets, from the web site as well as directly within the preferred IDE (Visual Studio, Eclipse, IntelliJ, Notepad++) or through the native apps for Windows8 and Mac OS X.

Check it out!

0

Well Here are Some Really good , Colur full and light softwares: bluefish gedit(comes with default geany emacs qt creator and many more

user49557
  • 498
  • 3
  • 16