You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
In many cases it would be useful to run custom shell commands from within the IDE: Examples include:
Static code analysis tools, that are not directly supported
importmagic or similar refactoring tools
Invoking build systems
Invoking version control tools (e.g. git gui).
In order to be useful, such a feature would need to support at least:
Binding to hotkeys and presence in the menu-bar.
Display of the output in a pane, preferably separate from the regular Console pane.
Passing information about the invocation context (such as the path of the active file in the editor) to the command.
Desirable additional features include:
Turning common file/line-number patterns into clickable links, e.g. compiler-warning style lines of the form relative/path/to/file.py:123: message.
Declare, that the file should be saved before invoking the command.
Declare, that the command is expected to change files opened in the editor, and automatically reload them after the command finishes.
Declare, that the command is interactive, and automatically focus the command pane.
Declare that the command should continue running in the background, even if new commands are executed (e.g. git gui).
Currently the closest feature is invoking the iPython magic syntax ! command in the ipython shell, but the iPython shell may be set to a working directory other than the source code directory, and typing out long commands repeatedly makes them less useful.
Hi @kbauer, thanks for the suggestion! This will be taken into account in the near future when Spyder-Terminal is migrated to allow console program execution from the editor. Right now, the Spyder team is focusing in stabilizing all the plugins after the Spyder 5 release, however, we will come back to this feature request later on.
As @andfoy said, I think this is a feature request for spyder-terminal, i.e. adding buttons or menu entries that allow bash/batch scripts to be executed directly there.
Therefore, I'm going to be move this issue to that repo.
Issue Report Checklist
Not really applicable, because it is an enhancement request. The relevant subset:
conda update spyder
(orpip
, if not using Anaconda)Problem Description
In many cases it would be useful to run custom shell commands from within the IDE: Examples include:
git gui
).In order to be useful, such a feature would need to support at least:
Desirable additional features include:
git gui
).Currently the closest feature is invoking the iPython magic syntax
! command
in the ipython shell, but the iPython shell may be set to a working directory other than the source code directory, and typing out long commands repeatedly makes them less useful.Versions
Python 3.9.4 64-bit | Qt 5.9.7 | PyQt5 5.9.2 | Linux 4.12.14-lp151.28.91-default
Dependencies
The text was updated successfully, but these errors were encountered: