Code snippet manager for Ubuntu?
Solution 1
I'm using Eclipse, which has a really nice snippet manager, with support for variables and drag-and-drop.
Solution 2
If you're working in python, Acire is a good choice.
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
Solution 3
instead of kate i recommend you Gvim and the SnipMate plugin, it's highly customizable, and really easy to use. Greetings
Solution 4
You should try Code Barrel. It is cloud based so you can get your snippets anywhere. Oh, and it's free.
Solution 5
For the benefit of others, try gistboxapp, this is an extension for Chrome. You can use this in any platform. It is very light.
Related videos on Youtube
lovinglinux
Updated on September 17, 2022Comments
-
lovinglinux almost 2 years
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.
-
Cashew over 13 yearsI 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.
-
lovinglinux over 13 yearsI 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.
-
Oscar Godson over 13 years@Robert, i think that's a little BS. Just because I don't want to write
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.js"></script>
orsudo /etc/init.d/apache2 stop
over and over again rather than just a simple key combo likectrl+alt+shift+j
or whatever doesn't make us bad developers... -
Cashew over 13 years@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.
-
-
lovinglinux over 13 yearsThanks for your suggestion, but I really like kate and don't like vim.
-
lovinglinux over 13 yearsI work mainly with XUL and Javascript.
-
lovinglinux over 13 yearsThanks. 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.
-
Asifa.K almost 8 yearsGoogle Code has shut down. Has this project been moved elsewhere?