A
Asit Dhal
I have a lot of code snippets in my system which I mostly use during development. Is there any tool(like VSS though I don't need version control) in which I can store them and later get whenever I need ?
I have a lot of code snippets in my system which I mostly use during
development. Is there any tool(like VSS though I don't need version
control) in which I can store them and later get whenever I need ?
I have a lot of code snippets in my system which I mostly use during development. Is there any tool(like VSS though I don't need version control) in which I can store them and later get whenever I need ?
And then there's "Dude! Where's My Code! 1.1.6.0".Web search terms code+snippet+storage
This blog:
<http://blog.programmableweb.com/2011/08/16/access-pastebins-code-snippets-and-hacker-rants-via-api/>
suggests Snipt, Pastebin, Evernote.
This is like thousands of text files containing code and explanation. This is impossible to retrieve efficiently.
I need something which will tag something in a text file and store it. By searching in, I will get the code.
This is like thousands of text files containing code and explanation.
This is impossible to retrieve efficiently.
I need something which will tag something in a text file and store
it. By searching in, I will get the code.
This is like thousands of text files containing code and explanation. This is impossible to retrieve efficiently.
I need something which will tag something in a text file and store it. By searching in, I will get the code.
You're basically talking about an (enterprise) content management
system, or (E)CMS. One of the main things they do is store documents for
efficient search and retrieval by metadata (properties or keywords) and
content. There are a large number of free (and often open-source) CMSs
out there - you've probably heard of Drupal and Alfresco, to mention two
out of dozens.
I have a lot of code snippets in my system which I mostly use during development. Is there any tool(like VSS though I don't need version control) in which I can store them and later get whenever I need ?
Granted. I wouldn't necessarily recommend IBM FileNet either.I am sure that they can do it.
But using Alfresco to be able to search a few thousand text
files may be a bit of an overkill.
Arne
Another Eclipse feature you're post reminded me of is the Java ScrapbookDepending upon your development environment, you could search <my
development environment>+code+snippet.
When I search Eclipse+code+snippet, I get references to Snippet View and
Template View. Thanks, I wasn't even aware of them.
When I search emacs+code+snippet, I get yasnippet and Textmate.
Asit Dhal said:This is what I do now.
I have a folder named Java. In this folder code snippets are stored
in small text files. File name is what the snippet is about.
e.g.:-
CounDownLatch.java
HorseRace.java
SingletonThreaSafe.java
What I need is every file should be associated with some index string,
which is search able.
Again grep can't help me as I use Windows 7 for development environment.
code snippets are stored in small text files. File name is what the
snippet is about. e.g.:- CounDownLatch.java HorseRace.java
SingletonThreaSafe.java
What I need is every file should be associated with some index
string, which is search able.
Thank you everybody for reading my query and suggesting me.
This is what I do now.
I have a folder named Java. In this folder code snippets are stored in small text files. File name is what the snippet is about.
e.g.:-
CounDownLatch.java
HorseRace.java
SingletonThreaSafe.java
What I need is every file should be associated with some index
string, which is search able.
Again grep can't help me as I use Windows 7 for development
environment.
I have a lot of code snippets in my system which I mostly use
during development. Is there any tool(like VSS though I don't
need version control) in which I can store them and later get whenever I need ?
You could just store them as files in a directory tree. What other
service do you need?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.