LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-08-2008, 10:05 AM   #1
TiredOfThis
Member
 
Registered: Oct 2007
Posts: 53

Rep: Reputation: 15
Beating Eclipse into submission :) -- The indexer


Hey,

I've been using Eclipse as my Linux C IDE for a few months now. I'm not a big fan, but I hate it less than other Linux graphical IDEs, so Eclipse it is.

My big problem with it is that our codebase is pretty huge, and the indexer tends to choke on it. I would frequently see out of memory errors--and even when it completes, it takes a lot longer to run than say cscope or vim tags do.

First of all, is there any way to incorporate cscope/tags into Eclipse? That would be a pretty cool plugin--using cscope information instead of the CDT indexer. And secondly, any suggestions for managing this?

Thanks,
Nathan
 
Old 02-09-2008, 12:21 PM   #2
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
That's what they get for writing it in Java. Are you talking about the C/C++ indexer or general indexer? I don't really trust either, mostly because "find" sometimes brings up cached versions of files which leads me to make symbol changes more than once and the indexers trip over the pipes I have in my project directory. Unfortunately the "find" function is what I use it for the most, but I try not to do anything really serious since the IDE somehow manages to put one of a few assorted previous selections or deletions into the clipboard instead of what you're trying to cut/copy if you don't give it at least 2 seconds to catch up. Not to mention the fact that it's deleted files entirely for no apparent reason a few times. Maybe you just need a new IDE? I still build and test in a terminal: I only use Eclipse for editing. There are millions of plug-ins out there for Eclipse, though.
ta0kira
 
Old 02-09-2008, 05:24 PM   #3
TiredOfThis
Member
 
Registered: Oct 2007
Posts: 53

Original Poster
Rep: Reputation: 15
Yeah, I'm talking about the CDT indexer.

I am certainly open to a new IDE. The problem is that Eclipse works mostly like I expect it to work, so it had a very low learning curve, yet I still feel productive when using it (except when the indexer is busy crashing, of course). None of the other KDE-based IDEs I've tried come as close, and though I know plenty of hardcore C programmers use vim or possibly emacs, I've never come to more than an uneasy truce with emacs and, though I like vim, I have trouble using it for large projects without it getting in my way more than helping me.

Thanks for posting!
 
Old 02-19-2008, 03:57 PM   #4
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Did you happen to find anything? Do you know if there's a plug-in that will find everywhere I assign something of one type to another type? I'd like to find everywhere that I assign or compare char* to std::string.
ta0kira
 
Old 02-19-2008, 05:27 PM   #5
TiredOfThis
Member
 
Registered: Oct 2007
Posts: 53

Original Poster
Rep: Reputation: 15
Nope. I did file a bug, so let's see what happens

I don't know of a plugin that will do what you describe. cscope might be able to do that, but I'm not sure.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HCL submission format elfoozo LQ Suggestions & Feedback 4 08-25-2007 04:34 PM
Job submission on cluster kossi_vi Linux - Server 1 03-09-2007 09:01 AM
Capture at job number upon submission AmyBVT Programming 4 03-10-2006 12:31 AM
I need a web crawler and indexer for linux jrenzi Programming 2 10-28-2004 01:11 AM
sendmail opend submission ciphe Slackware 0 11-20-2003 08:12 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration