Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I love emacs, and use it daily for lots of text-editing, but since I've been learning Qt, I've been using Qt Creator and seems much easier to get certain things (which granted might be available in emacs, or visual studio but haven't checked how).

For example adding function class member in the .h or .cpp file, and then adding the other part automatically. Or changing arguments, and little balloon comes up, you pres alt+enter - and gives you choices how to make the changes.

Then switch between header/cpp (right visual studio doesn't have this built-in) and few other things make Qt Creator a very good choice.



You can switch between .h and .cpp easily with ff-other-file. Bind it to a key:

(add-hook 'c-mode-common-hook (lambda() (local-set-key (kbd "C-c o") 'ff-find-other-file)))

If the .h is in the same directory as .c/.cpp, then Emacs automatically opens. Otherwise, you prompt for the .h file. Once the .h file is opened, subsequent execution of the command switches between the two files.


Qt Creator is way easy to code and debug than visual studio. My Advice is use Qt Creator for Qt development and avoid visual studio. Also Qt Creator is much faster than visual studio.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: