-
-
Notifications
You must be signed in to change notification settings - Fork 814
Code Editor updates #10302
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
base: master
Are you sure you want to change the base?
Code Editor updates #10302
Conversation
* Use the default Desktop Environment shortcut to find next/previous | ||
(:kbd:`Ctrl+G` and :kbd:`Shift+Ctrl+G`); | ||
* Automatically find first match when typing in find box; | ||
* |replace| :sup:`Replace` matching text with the text in the replace box; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also mention the "Replace all", as well as ability to use captured groups when regex is used? and this list item should be moved after all the subitems that refer to the "find" action, e.g. before the "esc" one..
* Pressing :kbd:`Esc` closes the find bar. | ||
|
||
* Object inspector: a class and function browser; | ||
* |commentEditorConsole| :sup:`Toggle Comment` in selected lines with :kbd:`Ctrl+:`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The use of "with" here looks weird to me, it sounds like you combine the keyboard shortcut with the button.
|
||
* Object inspector: a class and function browser; | ||
* |commentEditorConsole| :sup:`Toggle Comment` in selected lines with :kbd:`Ctrl+:`; | ||
* |formatCode| :sup:`Format Code`: check more :ref:`here <python_contextual_help>`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's be more verbose
* |formatCode| :sup:`Format Code`: check more :ref:`here <python_contextual_help>`; | |
* |formatCode| :sup:`Reformat Code`: allows to manually apply various formatting rules | |
(sort imports, indentation, line length, ...) to the code, following :ref:`user-defined settings <python_code_formatting>`. | |
This may require installation of additional Python modules. |
And we either use a dedicated anchor pointing to the "reformat code" instruction or show the path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance it is reduced to a more common size for icons?
* Object inspector: a class and function browser; | ||
* |commentEditorConsole| :sup:`Toggle Comment` in selected lines with :kbd:`Ctrl+:`; | ||
* |formatCode| :sup:`Format Code`: check more :ref:`here <python_contextual_help>`; | ||
* |browserConsole| :sup:`Object inspector`: a class and function browser; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really know how this button works and what it really does but it is enabled from the Python settings, run and debug group. Worth a mention.
fixes #9106
fixes #10242