[Qt-creator] Why not separate Open File from Open Project?
Mateusz Loskot
mateusz at loskot.net
Sun Nov 10 11:40:03 CET 2013
On 10 Nov 2013 08:11, "Tomasz Siekierda" <sierdzio at gmail.com> wrote:
>
> On 10 November 2013 01:01, Mateusz Loskot <mateusz at loskot.net> wrote:
> > Hi,
> >
> > I wonder what's the rationale behind single "Open File or Project"
command.
> > Why not to have two separate commands in the File menu?
> >
> > If I have my.pro project loaded, I can't use CTRL+O dialog to open
> > my.pro file for editing, because Qt Creator complains:
> > "project already open".
>
> Funny how we all differ. This is one of the reasons why I love Qt
> Creator and despise other IDEs that have those menu entries separated
> :)
Heh, indeed :)
Simply, I prefer to use keyboard and reach mouse/touchpad as little as I
can.
In fact, Qt Creator with its ALT+* to togle panes, CTRL+K for locator
and other shortcuts is brilliant here.
So, instead of using mouse-n-clicks through panels in the sidebar,
for opening files quickly my workflow is based on CTRL+O is this:
- I'm editing /a/b/c/f1.cpp file
- I want to open f2.cpp
- I hit CTRL+O and because I'm viewing the f1.cpp, I assume IDE
automatically switches the Open File dialog to /a/b/c folder
- I type f2.cpp in dialog and hit ENTER
If I want to open /a/b/f3.cpp, I type ../f3.cpp.
IOW, similar to cd in command line :)
The same workflow is handy if I have a lot of files opened, instead of
mouse-n-click or looping over files with CTRL+TAB - I simply know what I'm
editing now (where in the project tree I am) and I know name of file I want
to switch to, so I can type all the information in, instead of clicking it
out :-)
Best regards,
--
Mateusz Loskot
(Sent from mobile, apology for top-posting and broken quotes)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20131110/46074c98/attachment.html>
More information about the Qt-creator
mailing list