Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 4.13.0
-
None
Description
Hello all!
I code on wider screen with panes containing header files and source files side by side. This is fine but I think some features would really help this workflow
- I right click on a method in the header to create the method implementation. it will then change the current pane to the .cpp file.
- I am in the source pane and I jump to definition. It will then change the current pane to the header.
- A break point will change whichever pane is selected to the file with the break point that is hit
What I think would be nice is to have an option where it opens the header and source side by side and is kept side-by-side. To address the first two:
- Using the refactorer to make a method body would switch from the header pane to the source pane and not change the the currently selected pane to the .cpp file
- Jumping to definitions will also change selected pane as opposed to switching the current pane's open file
I can think of two nice implementation for this (that can co-exist):
- Automatically open header and source files together
- When jumping to a file or specific part of a file, check all panes to see if the file is already open. If it is, switch to that pane instead of changing the current pane.
This would be a setting that can be enabled or disabled (no one likes workflows imposed upon them!), 1. in the same place that you can add horizontal or vertical panes, and 2. in settings.
My point about hitting break points would be improved by both 1. and 2. together
If either of these suggestions already exist or if there is already a ticket about them, I apologise for your wasted time!
Attachments
Issue Links
- relates to
-
QTCREATORBUG-15823 Debugger Uses active editor even when needed file is already open.
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTCREATORBUG-24646 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
314040,2 | Debugger: Activate split that contains the breakpoint being hit | 4.13 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |