hoangKnLai / vscode-ipython

VSCode Extension integrating Editor with IPython console.
MIT License
18 stars 5 forks source link

ipython

Enable IPython Terminal creation and direct execution of python code from .py in editor.

Features

Key features tagged with IPython:

See ipython: Feature Contribution tab in VSCode Extension (Ctrl + Shift + X) panel for latest features and details.

If you find the extension useful, it would be awesome if you can leave a comment and/or a suggestion on the project page!

feature X

Requirements

python.exe with ipython.exe package installed (recommend using virtual environment such as virtualenv, venv). Here are some info:

More on vscode handling of python virtual environment can be found in vscode python documentation

Microsoft Python Extension

Installation

Install into vscode via the vscode marketplace.

Alternativey search for hoangkimlai.ipython under the Extensions tab in vscode.

Settings

Here are some recommended VSCode settings (settings.json) to get started:

{
  // On Window, strongly recommend using Git Bash as default to launch IPython terminal
  // On Linux, most terminal type should work
  "terminal.integrated.defaultProfile.windows": "Git Bash",

  // IPython terminal is non-recoverable and cannot persists between sessions.
  // These settings tells vscode to stop attempting and fail to recover the
  // last session terminals.
  "terminal.integrated.persistentSessionReviveProcess": "never",
  "terminal.integrated.enablePersistentSessions": false
}

Dependent on your project, you might:

Release Notes

2024.3.x

2024.1.x

2023.11.x

2023.10.x

2023.9.x

2023.8.x

2023.3.x

2023.2.x

2022.9.x

2022.7.x

2022.4.x

2021.10.17

2021.10.15

Fixes:

2021.10.3

Fixes:

Features:

Fixes:

2021.09.1

Features:

Fixes:

2021.09.0

Hot of the press!