Eclipse as a Code Browser
March 31, 2008 8:19 AM Subscribe
How do I use Eclipse as a code browser and indexer and not as a build tool?
I'm dealing with a large codebase (C, not Java) that's not an Eclipse project, and I'd like to use Eclipse to navigate the code. The build is custom and complex and I have no fantasies of converting this over to a true Eclipse project. I've installed CDT, which has an indexing feature.
What I'd like to do is this: create a project in a different directory and have the original directory be part of the project. I can't write to the directory with the existing code, and I don't want to copy all the code to a different place. Is this possible?
I'm dealing with a large codebase (C, not Java) that's not an Eclipse project, and I'd like to use Eclipse to navigate the code. The build is custom and complex and I have no fantasies of converting this over to a true Eclipse project. I've installed CDT, which has an indexing feature.
What I'd like to do is this: create a project in a different directory and have the original directory be part of the project. I can't write to the directory with the existing code, and I don't want to copy all the code to a different place. Is this possible?
Response by poster: The codebase is not in CVS. And FYI, I won't be making changes--I would just like to use Eclipse to peruse the code.
posted by king walnut at 8:38 AM on March 31, 2008
posted by king walnut at 8:38 AM on March 31, 2008
Best answer: Since you mentioned joining folders in a project, it sounded like you want to edit the project. If you just want to peruse the code, and assuming that this codebase is not a subdirectory of your workspace directory, create a new project and then File -> New Folder, click "Advanced", select the "Link to folder in the file system" option.
posted by Blazecock Pileon at 10:44 AM on March 31, 2008
posted by Blazecock Pileon at 10:44 AM on March 31, 2008
« Older Please help us deal with a rumor! | Regexp seems great but how do I output the result? Newer »
This thread is closed to new comments.
posted by Blazecock Pileon at 8:25 AM on March 31, 2008