KDevelop slow code parsing in Ubuntu 14.04

A place for Ogre users to discuss non-Ogre subjects with friends from the community.
User avatar
Herb
Orc
Posts: 412
Joined: Thu Jun 04, 2009 3:21 am
Location: Kalamazoo,MI
x 38

KDevelop slow code parsing in Ubuntu 14.04

Post by Herb »

Does anyone use KDevelop, if so, version 4.6 that is standard with Ubuntu 14.04? I really love the tool overall, as it works seamless with cmake on Linux, but for some reason it's really slow with the code parsing feature (only in new version). Ex - I start typing Ogre::V (with the intend of typing Vector3) and it hangs for several seconds looking up the options. I really only see the hang-up with large libraries like Ogre. Not sure if anyone has seen this, or have a work around. The only setting I see is adjusting the number of background threads for parsing which had no effect. Thought I'd see if anyone had thoughts as jacmoe from this forum was the person that got me hooked on using it :)
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5488
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1361

Re: KDevelop slow code parsing in Ubuntu 14.04

Post by dark_sylinc »

Well, I never got to get along with KDevelop too much.
On Linux I use Qt Creator + CMake, which is by far the best tool and its C++ parsing is the fastest I've seen. I even use it on Windows (except for debugging on Windows, which I launch VS for that).

I use a modified version of Qt Creator (which can be built with Qt Creator) to get more useful debugging environment (I've also made other UI improvements than mentioned in that post)
User avatar
Herb
Orc
Posts: 412
Joined: Thu Jun 04, 2009 3:21 am
Location: Kalamazoo,MI
x 38

Re: KDevelop slow code parsing in Ubuntu 14.04

Post by Herb »

Interesting.... I didn't realize QT creator worked with cmake. Thought you'd have to have QT project files and such which I was trying to avoid. Overall I like kdevelop. The older version on Ubuntu 12 crashed randomly, especially on ARM cross compile projects. The new version (4.6) is more stable, but ogre is making typing hang when I'm in the ogre namespace. I'll spend some time tomorrow giving the QT ide a shot. Appreciate the tip! :)
User avatar
Zonder
Ogre Magi
Posts: 1173
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 76

Re: KDevelop slow code parsing in Ubuntu 14.04

Post by Zonder »

OT but though worth a mention

I got an email from jetbrains yesterday about CLion a new C/C++ ide they are creating it also uses cmake for project files. I didn't have chance to read into it much yet though.

http://www.jetbrains.com/clion
There are 10 types of people in the world: Those who understand binary, and those who don't...
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4304
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 136

Re: KDevelop slow code parsing in Ubuntu 14.04

Post by spacegaier »

Zonder wrote:OT but though worth a mention

I got an email from jetbrains yesterday about CLion a new C/C++ ide they are creating it also uses cmake for project files. I didn't have chance to read into it much yet though.

http://www.jetbrains.com/clion
Yes, saw that too. Is still in development, but you can download and test it. Details on their Early Access Program are here. Hadn't had the time yet to give it a try...
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
User avatar
Herb
Orc
Posts: 412
Joined: Thu Jun 04, 2009 3:21 am
Location: Kalamazoo,MI
x 38

Re: KDevelop slow code parsing in Ubuntu 14.04

Post by Herb »

I have liked jetbrains tools in the past when I did .net development. Wonder how much it will cost when fully released...
User avatar
Herb
Orc
Posts: 412
Joined: Thu Jun 04, 2009 3:21 am
Location: Kalamazoo,MI
x 38

Re: KDevelop slow code parsing in Ubuntu 14.04

Post by Herb »

As a follow-up, have one of my projects in Qt Creator now. I'm pretty impressed. Intellisense is very quick and like the features. The debugging capabilities are very nice. My only issue so far is more stylistic, which is I miss having the open files being in a tabbed format across the top. Weird to have the open files in a combo box drop down. In any case, I've made the switch. :) Thanks again for the tip dark_sylinc!