-
Notifications
You must be signed in to change notification settings - Fork 76
add feature to manage and switch views #1217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Cool! How do you use this feature? I only use a single layout, really, and the only thing I do is change the width of the editor window as I change between smaller/bigger screens :) |
|
Ah, zen mode (#289) |
|
There is a description at the top of the new file: Lines 1 to 33 in 2c23532
DemonstrationCreate a new view:
Switch back to the normal view:
To quickly switch between the two recently used views, press the "A" key again when the dialog is open. This will move the selection in the list widget, similar to repeatedly pressing the Tab key in the "Editor tab history" dialog. The "[NORMAL]" view is exactly like in older Pyzo versions. Custom views keep their geometry settings until you update them manually. My use casesCurrently I have following views in my user settings:
|
This PR makes it possible to define multiple views and easily switch between them. A "view" contains the window and panel geometries of the Pyzo IDE, including the tools.
There is a new default keyboard shortcut Ctrl+Shift+A for switching views, similar to the existing Ctrl+Tab for switching between editors.
See the docstring in pyzo/core/views.py for more details.