scigor
scigor

Reputation: 1617

Handling really large multi language projects

I am working on an really large multi language project (1000+ Classes + Configs + Scripts), with files distributed over network drives. I am having trouble fighting through the code, since the available Tools are not helping. The main problem is finding things. For the C++ Part: VS with VAX can only find files and symbols which are in the solution. A lot of them are not. Same problem with Reshaper. Right now i am stuck with doing unindexed string and file searches, which is highly inefficient on a network drive. I heared that SourceInsight would be an option since it allows you to just specify the folders that are part of the project and than indexes them, but my company wont spent money on it.

So my question ist: what Tools are there available to fight through an incredible large amount of code? And if possible they should be low cost or even free/open source.

Upvotes: 5

Views: 366

Answers (6)

Mark Leighton Fisher
Mark Leighton Fisher

Reputation: 5693

The Perl program ack is also worth a look -- think of it as multi-file grep on steroids. The new version (in what I would call late beta) even lets you specify regexes for the files to process as well as regexes to search for -- a feature I've used extensively since it came out (I've got a subproject with 30k lines in 300+ classes, where this feature has been very helpful). You can even chain the new ack with itself so you can subselect the files to process.

Upvotes: 2

feruz
feruz

Reputation: 53

Try ndexer http://code.google.com/p/ndexer/

promises to Handle extremely large codebases!

Upvotes: 2

Miguel Grinberg
Miguel Grinberg

Reputation: 67479

VS with VAX can only find files and symbols which are in the solution. A lot of them are not.

You can add all the files that are not in your solution and set them to not build in the settings. Your VS build will not be affected by this, but now VS knows about those files and you can search them along with your VS native files.

Upvotes: 1

user1952500
user1952500

Reputation: 6771

You should take a look at LXR. This is used by many Linux kernel source listings.

Upvotes: 2

Happy Green Kid Naps
Happy Green Kid Naps

Reputation: 1673

Check out -

  1. ctags
  2. cscope
  3. idutils
  4. snavigator

In every one of these tools, you would have to invest(*) some time in reading the documentation, and then building your index. Consider switching to an editor that will work with these tools.

(*): I do mean invest, because it will reap dividends once you do.

hope this helps,

Upvotes: 6

guillaume
guillaume

Reputation: 421

If you need to maintain a large amount of code, you really should have a source code managment system, a lot of them will help you find text by indexing all the files

And Most of them will work with various language.

Otherwise you can install some indexer like Apache Lucene and index all your files...

Upvotes: 3

Related Questions