How do I index and make available reusable code? [closed]

倖福魔咒の 提交于 2019-11-28 10:21:56

You might want to try refactormycode.com or set up your own wiki for it. A wiki actually sounds like a good application here.

If you're working with .NET / Visual Studio, you could look at adding them as code snippets

Code Keep is a pretty good online repo for CodeSnippets and has plugins for VS2008

What we've done at work is created a common account for the dev to use, so everyone submits to codekeep under a common login and then can retrieve everyone elses snippets.

Also it might be worth your while creating a developer wiki on your dev network. Somewhere that the old hands can leave documentation on your regularly used patterns & snippets and new team members can check for help. We use TRAC in house as an all in one WIKI / Issue Management / SVN Integration and it does the job nicely

Paul Tomblin

Another similar result from searching StackOverflow: Best Application For Storing Code Snippets

I find the only way to manage source code is in the source control repository. This includes templates and pseudo code algorithms. How it's different from the rest of your code ? I'm familiar with cvs that can be hosted for example here (setting up cvs server is not to complex task either) you can search the repository using cvsearch and browse it using cvs web client.
I'm not saying cvs is a best option just another one that fulfill all your need.

Code snippets is a not a good option, IMHO.

You can do a full-text index of your hard drive using a tool like Copernic, Windows Live Search, or Google Desktop. Then whenever you want a code snippet that does a specific thing, just search for the relevant keywords and there it goes.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!