Split Screen Without Tabs

Get your code and tests side-by-side without resorting to tabs.

As discussed previously, disabling tabs and focusing on the keyboard helps productivity. But without tabs, how can I see two files at once? For example, the code I'm testing and the tests I'm writing?

You can still split screens without tabs. Simply use the Split Vertically action (no default keybinding so use Find Action) and you'll get two frames. Then open your to-be-tested code on the left and test code on the right.

By default, PyCharm visual test runner tool window is at the bottom. This gives a familiar "TDD" (test-driven development) visual orientation: left for code, right for test, bottom for results. (Although on wide monitors, docking the test tool window on the right might make more sense.)

How to move between the left and right "Split Vertically" frames? The Go To Next Splitter action ⌃⌥⇥ (macOS) / Alt+Tab (Windows/Linux) is a convenient keybinding. Since these are the two files you are switching between editing, our old friend the Recent Files action ⌘E (macOS) / Ctrl+E (Windows/Linux) is a nice, already-memorized key sequence.


Related Resources

Clean Up Messy Imports With Optimize Imports
Clean Up Messy Imports With Optimize Imports
Quickly remove any unused imports and more.
Find in Path with the Navigation Bar
Find in Path with the Navigation Bar
Use the Navigation bar and Find in File together and be faster than all of your team members.
Speed search with the Navigation Bar
Speed search with the Navigation Bar
Use the keyboard abbreviations to quickly find what you're looking for in the Navigation bar.