Is it possible to have multiple python consoles side to side or as independent windows in PyCharm?
Note: I am already using Windowed Mode to have the console panel as a window, but I want to have separate consoles on separate windows.
I am using PyCharm Professional 2018.1
I open a Python console via View -> Tool Windows -> Python console. Clicking on the green "plus" symbol I can open multiple consoles, but they are showed as different tabs.
What I would like it being able to see the "content" of multiple console at the same time, hence having them side to side or as independent windows I can arrange as I want.
How can I achieve this?
Unfortunately, splitting console is still a feature in request right now for Pycharm 2018.2.3 as mentioned in this question.
Related
I have just installed IntelliJ 9.0.2 on a machine running 64-bit Ubuntu 10.04.
How do I get another window to put on my second screen?
I would like to have both an editor and some tool windows on both screens.
All 'windows' inside of IntelliJ other than the code editor tabs have a "Float" option which pops open an independent window which you can drag to anywhere on your screen. This will allow you to manage your IDEA windows however you like.
IntelliJ also allow you to open multiple projects at once. When opening a project with one already opened, you are prompted as to wether you would like it in your current window or a "New Instance". If you choose new instance, it will open up a completely new IntelliJ with the other project in it. This will work for you if you have many projects you work on at once.
IntelliJ 14 and onwards you can select the settings cog and tick floating mode to detach menus, or drag editor tabs off the main window to detach them
If you're running on OSX you'll need to make sure it's not treating the screens as separate spaces, otherwise they'll snap back onto the same window as the main editor when switching between windows.
To do this untick Displays have separate Spaces in the Mission Control System Preferences.
IntelliJ 10 will have draggable & dockable editor tabs. A very nice feature. It's already present in the early access versions.
I am trying to create a second Ipython window in my VS Code Environment.
Sorry to say, but currently there can only be one Interactive Window open at a time. We do have an issue filed on allowing multiple windows here:
https://github.com/Microsoft/vscode-python/issues/3104
Which you can upvote or comment on if you would like.
The response above is longer up-to-date. Now, VS code supports multiple interactive windows: Open settings and search "interactive window mode".
You can select from single, multiple, per-file
see https://visualstudiomagazine.com/articles/2020/08/13/vs-code-python.aspx
To create another interactive window go to command pallete (Ctrl+Shift+p) and search for "Create Interactive Window."
Since VS Code supports JupyterNotebooks natively with the Python extension (https://code.visualstudio.com/docs/python/jupyter-support) I like to launch the notebooks and see the outputs directly in VS Code.
The only issue I'm having with this is that the Python Interactive window is not that interactive, it just works to show the output of the cells.
Is there any way to allow autocomplete functionality in that console? Something more like an IPython console where I can hit Tab and see all the available options.
The answer is that this currently does not exist. The input box on the Interactive Windows is basically just a plain text input terminal (with colorization) currently. We do have a work item to track adding autocomplete here. If you want to watch or upvote that item it's located here:
https://github.com/Microsoft/vscode-python/issues/4170
I have few different codes and routines open on my spyder and each of them that I run, a new console tab opens that exclusively belongs to that certain code, while I prefer to have the same console. One reason is that I want the variables to work in all the conosoles to try different things on the console without having to introduce a variable in each tab separately.
I believe that the default of Spyder is only one console but I think I have done something wrong so it has now as many consoles tabs as editors tabs.
cheers
Travis
Preferences > Run > Execute in current console
Ctrl + F6 to bring up Configuration per file under Run in top bar.
Under Console,
When I launch my Python program with the debugger in Eclipse with PyDev (Python plug-in for Eclipse), the console is always split into two windows. One where I can actually enter code and the other displays my code entries and their output. See the following snippet.
There is also a "dedicated" debug console which I can start whenever my program is paused, but this requires a manual click (PyDev > Debug Console). This console doesn't have the slip view. See snippet.
Why are there two ways to interact with Python while my program is paused? Why is the default console (from the first screenshot) split into two windows? How can I make my default console be more like the second console without the split view?
The second bottom console keeps a history of user commands that are injected into the current context. It provides a cleaner input mechanism with the ability to navigate through a history of commands. In addition some programs running loops may print to the original console frequently making it difficult to print commands into the top console.
It may have been added for future features as well, like changing the context of the input to a different spot in the code.
That is just my guess. There is a "hide console prompt" terminal button if you do not want to see it. Both consoles can have commands entered in if you are debugging and paused.