Favorite IDE/editor for Qt
-
It will be good if you will write something about reasons of using this IDE/editor. And in the "Other..." case please don't forget to leave a comment with your choice.
-
For all programming I do, my favorite is nowadays KDevelop. Simply because it has flexible project settings (and good CPP support... I've gotten too used to these IDEish features...). If I don't use kdevelop, I most likely use kwrite, or sometimes even kate.
For Java(because kdevelop does not have proper Java plugin, or so I heard) I mostly use Eclipse, even thogh IntelliJ Idea looks like better, it does not work on my machine(keys that uses alt gr does not work... meaning that I can't even write / there)
(also... I seriously should stop using brackets)
EDIT: I went quite a bit offtopic... I just wanted to bring out that IDE shouldn't be restricted to one thing.
-
Qt Creator because
- Excellent styling
** dimmed line numbers
** wrapping marker (more than just a line)
** highlighting of current symbol and search matches - Integrated Qt documentation
** Context sensitive
** Extensible with general .qch docs - Qt-savy code completion
- Cross-platform (use daily on Linux and Windows)
- Extensible (plugins and custom modifications)
- Excellent styling
-
Vim. Simply because most of the development time is spent editing code. So, even if I miss some things available in an IDE, those are easier to live without than to use a Ctrl-C-Ctrl-V editor :)
And since Vim is extensible using vimscript and python, there are no important things to be missed.
As for IDEs, Qt Creator feels nice, and KDevelop4 is just freaking awesome. (When the VIM mode in KDev becomes mature enough, I could even consider abandoning Vim)
-
Ivan: Are you aware that Qt Creator has a vi mode? Never used it myself, so I can not really say how well it works, but it seems to have quite a few users:-)
-
Yes, I know, so does the KDevelop.
QtCreator2 has come a long way concerning FakeVim mode (compared to 1.x), but it still isn't sufficiently powerful for my taste.
From my point of view, it needs (the same goes for KDev) exporting of menu actions and similar to FakeVim command - so that, for example, I can type :vsplit instead of Ctrl+E, 3... and it desperately needs command completion.
I haven't checked whether it supports custom key mapping (*map commands in Vim) but that also would be essential :)
-
In my most humble opinion, QtCreator is simply the best cross-platform fully integrated c++ IDE available. Sorry Eclipse, but I can't stomache using a Java IDE that is overloaded with features and hacked to provide c++ functionality. I can install QtCreator on any platform in minutes, and I can confiugre it for my personal uses just as fast.
-
I typically use Vim for editting, and Eclipse for debugging, but I've been trying to use Qt Creator more. I like the FakeVIM mode, but it still does not have enough features to replace VIM. One of the things I miss the most is the ctrl-N for word completion -- perhaps there is something equivalent.
For debugging I've still not been able to get Qt Creator debugger to work as well as Eclipse. For some tasks it works well, for other tasks, it has trouble displaying variables, and overall the GDB integration does not seem as stable as Eclipse. However, I'm looking forward to using it more as I learn Qt Creator, and it improves. I wrote a short article about the subject:
http://bec-systems.com/site/704/qt-creator-for-cc-development
-
cbrake: File feature requests in "our bugtracker":http://bugreports.qt.nokia.com/.
Please consider giving the master branch a try first... it is already pretty much different than 2.0 and has some FakeVim mode improvements, too IIRC.
-
Qt Creator is my fav for Qt developement, Visual studio for C#.Net stuff. I think. Qt creator is simply the best available for qt developpemnt. I really like the camel case completion :).
-
I use Qt Creator (Qt development for both mobile and desktop), Eclipse (for Java and Android development), vim for everything else and in-between.
-
[quote author="cbrake" date="1282679946"]I typically use Vim for editting, and Eclipse for debugging, but I've been trying to use Qt Creator more. I like the FakeVIM mode, but it still does not have enough features to replace VIM. One of the things I miss the most is the ctrl-N for word completion -- perhaps there is something equivalent.
For debugging I've still not been able to get Qt Creator debugger to work as well as Eclipse. For some tasks it works well, for other tasks, it has trouble displaying variables, and overall the GDB integration does not seem as stable as Eclipse. However, I'm looking forward to using it more as I learn Qt Creator, and it improves. I wrote a short article about the subject:
http://bec-systems.com/site/704/qt-creator-for-cc-development
[/quote]
ctrl-Space does word completion in QtCreator
-
It is rather difficult to get used to Ctrl+Space when you are used to Ctrl+N/Ctrl+P. Especially since C+N opens the /New/ dialogue :)
-
@Ivan: All keys can be reassigned, so just change them to suite your needs better.
-
[quote author="Ivan" date="1281359417"]Yes, I know, so does the KDevelop.[/quote]
They are different implementations, and differently "conforming".
[quote author="Ivan" date="1281359417"]QtCreator2 has come a long way concerning FakeVim mode (compared to 1.x), but it still isn't sufficiently powerful for my taste.
From my point of view, it needs (the same goes for KDev) exporting of menu actions and similar to FakeVim command - so that, for example, I can type :vsplit instead of Ctrl+E, 3... and it desperately needs command completion.[/quote]
Just typing :vsplit actually works. No need to map anything. But if you want to map anything, there's Tools->FakeVim->Ex Command Mappings.
[quote author="Ivan" date="1281359417"]I haven't checked whether it supports custom key mapping (*map commands in Vim) but that also would be essential :)[/quote]
Seeing commits like 44c02264d "fakevim: make :map work for non-ASCII characters" suggests that something like that works.
-
[quote author="Duck" date="1283074460"]
They are different implementations, and differently "conforming".
[/quote]Wasn't QtCreator's FakeVim based on Kate's (GSoC project from while back)?
[quote author="Duck" date="1283074460"]
Just typing :vsplit actually works.
[/quote]Yes, I saw. But I have no idea in which version it was introduced. And it behaves a bit odd when you want to close a split with :q - it leaves the splits, but closes the current file (and all splits that used to show it, become empty)
As for mapping, I meant something like
@:imap <F5> <ESC>:make<CR>@
(or a more complicated function calling etc. - it doesn't need to be Vimscript, Qt/ECMAScript would do just fine)
Thanks for the tip on ex-mappings. It can be useful, but it is a bit tedious to set up manually for every item.
From my point of view, if the above (vim-like-scripting) was implemented, the actions could have a default qtc_ActionName ex command, and we could define comething like this in .qtcreatorvimrc (or wherever)
@:command MyCommand call SomeFancyFunction(...)@