Releases: microsoft/vscode-python
Releases · microsoft/vscode-python
2020.3.71659
2020.3.2 (2 April 2020)
Fixes
- Update
debugpy
to latest (v1.0.0b5). Fixes issue with connections with multi-process.
2020.3.71113
2020.3.1 (31 March 2020)
Fixes
- Update
debugpy
to latest (v1.0.0b4). Fixes issue with locale.
2020.3.69010
2020.3.0 (19 March 2020)
Enhancements
- Make interactive window wrap like the notebook editor does.
(#4466) - Support scrolling beyond the last line in the notebook editor and the interactive window. Uses the
editor.scrollBeyondLastLine
setting.
(#7892) - Allow user to override the arguments passed to Jupyter on startup. To change the arguments, run the 'Python: Specify Jupyter command line arguments" command.
(#8698) - When entering remote Jupyter Server, default the input value to uri in clipboard.
(#9163) - Added a command to allow users to select a kernel for a
Notebook
.
(#9228) - When saving new
notebooks
, default to the current workspace folder.
(#9331) - When the output of a cell gets trimmed for the first time, the user will be informed of it and which setting changes it.
(#9401) - Change the parameters for when a Data Science survey prompt comes up. After opening 5 notebooks (ever) or running 100 cells (ever).
(#10186) - Show quickfixes for launch.json.
(#10245)
Fixes
- Jupyter autocompletion will only show magic commands on empty lines, preventing them of appearing in functions.
(#10023) - Remove extra lines at the end of the file when formatting with Black.
(#1877) - Capitalize
Activate.ps1
in code for PowerShell Core on Linux.
(#2607) - Change interactive window to use the python interpreter associated with the file being run.
(#3123) - Make line numbers in errors for the Interactive window match the original file and make them clickable for jumping back to an error location.
(#6370) - Fix magic commands that return 'paged' output.
(#6900) - Ensure model is updated with user changes after user types into the editor.
(#8589) - Fix latex output from a code cell to render correctly.
(#8742) - Toggling cell type from
code
tomarkdown
will not set focus to the editor in cells of aNotebook
.
(#9102) - Remove whitespace from code before pushing to the interactive window.
(#9116) - Have sys info show that we have connected to an existing server.
(#9132) - Fix IPython.clear_output to behave like Jupyter.
(#9174) - Jupyter output tab was not showing anything when connecting to a remote server.
(#9177) - Fixed our css generation from custom color themes which caused the Data Viewer to not load.
(#9242) - Allow a user to skip switching to a kernel if the kernel dies during startup.
(#9250) - Clean up interative window styling and set focus to input box if clicking in the interactive window.
(#9282) - Change icon spacing to match vscode icon spacing in native editor toolbars and interactive window toolbar.
(#9283) - Display diff viewer for
ipynb
files without openingNotebooks
.
(#9395) - Python environments will not be activated in terminals hidden from the user.
(#9503) - Disable
Restart Kernel
andInterrupt Kernel
buttons when akernel
has not yet started.
(#9731) - Fixed an issue with multiple latex formulas in the same '$$' block.
(#9766) - Make notebook editor and interactive window honor undocumented editor.scrollbar.verticalScrollbarSize option + increase default to match vscode.
(#9803) - Ensure that invalid kernels don't hang notebook startup or running.
(#9845) - Switching kernels should disable the run/interrupt/restart buttons.
(#9935) - Prompt to install
pandas
if not found when opening theData Viewer
.
(#9944) - Prompt to reload VS Code when changing the Jupyter Server connection.
(#9945) - Support opening spark dataframes in the data viewer.
(#9959) - Make sure metadata in a cell survives execution.
(#9997) - Fix run all cells to force each cell to finish before running the next one.
(#10016) - Fix interrupts from always thinking a restart occurred.
(#10050) - Do not delay activation of extension by waiting for terminal to get activated.
(#10094) - LiveShare can prevent the jupyter server from starting if it crashes.
(#10097) - Mark
poetry.lock
file as toml syntax.
(thanks to remcohaszing)
(#10111) - Hide input in
Interactive Window
based on the settingallowInput
.
(#10124) - Fix scrolling for output to consistently scroll even during execution.
(#10137) - Correct image backgrounds for notebook editor.
(#10154) - Fix empty variables to show an empty string in the Notebook/Interactive Window variable explorer.
(#10204) - In addition to updating current working directory also add on our notebook file path to sys.path to match Jupyter.
(#10227) - Ensure message (about trimmed output) displayed in an output cell looks like a link.
(#10231) - Users can opt into or opt out of experiments in remote scenarios.
(#10232) - Ensure to correctly return env variables of the activated interpreter, when dealing with non-workspace interpreters.
(#10250) - Update kernel environments before each run to use the latest environment. Only do this for kernel specs created by the python extension.
(#10255) - Don't start up and shutdown an extra Jupyter notebook on server startup.
(#10311) - When you install missing dependencies for Jupyter successfully in an active interpreter also set that interpreter as the Jupyter selected interpreter.
(#10359) - Ensure default
host
is not set, ifconnect
orlisten
settings are available.
(#10597)
Code Health
- Use the new VS Code filesystem API as much as possible.
(#6911) - Functional tests using real jupyter can take 30-90 seconds each. Most of this time is searching for interpreters. Cache the interpreter search.
(#7997) - Use Python 3.8 in tests run on Azure DevOps.
(#8298) - Display
Commands
related toInteractive Window
andNotebooks
only when necessary.
(#8869) - Change cursor styles of buttons
pointer
inInteractive Window
andNative Editor
.
(#9341) - Update Jedi to 0.16.0.
(#9765) - Update version of
VSCode
inpackage.json
to1.42
.
(#10046) - Capture
mimetypes
of cell outputs.
(#10182) - Use debugpy in the core extension instead of ptvsd.
(#10184) - Add telemetry ...
2020.2.64397
2020.2.3 (21 February 2020)
Fixes
- Ensure to correctly return env variables of the activated interpreter, when dealing with non-workspace interpreters.
(#10250)
2020.2.63990
2020.2.63990
2020.2.63072
2020.2.62710
2020.2.0 (11 February 2020)
Enhancements
- Support opting in and out of an experiment group.
(#6816) - Add
python.languageServer
setting with values ofJedi
(acts same asjediEnabled
),
Microsoft
for the Microsoft Python Language Server andNone
, which suppresses
editor support in the extension so neither Jedi nor Microsoft Python Language Server
start.None
is useful for those users who prefer using other extensions for the
editor functionality.
(#7010) - Automatically start the Jupyter server when opening a notebook or the interative window, or when either of those has happened in the last 7 days. This behavior can be disabled with the 'python.dataScience.disableJupyterAutoStart' setting.
(#7232) - Add support for rendering local images within markdown cells in the
Notebook Editor
.
(#7704) - Add progress indicator for starting of jupyter with details of each stage.
(#7868) - Use a dedicated Python Interpreter for starting
Jupyter Notebook Server
.
This can be changed using the commandSelect Interpreter to start Jupyter server
from theCommand Palette
.
(#8623) - Implement pid quick pick for attach cases with the new debug adapter.
(#8701) - Provide attach to pid configuration via picker.
(#8702) - Support for custom python debug adapter.
(#8720) - Remove insiders re-enroll prompt.
(#8775) - Attach to pid picker - bodyblock users who are not in the new debugger experiment.
(#8935) - Pass
-y
toconda installer
to disable the prompt to install, as user has already ok'ed this action.
(#9194) - Updated
ptvsd
debugger to version v5.0.0a12.
(#9310) - Use common code to manipulate notebook cells.
(#9386) - Add support for
Find
in theNotebook Editor
.
(#9470) - Update Chinese (Traditional) translation.
(thanks pan93412)
(#9548) - Look for Conda interpreters in '~/opt/conda/' directory as well.
(#9701)
Fixes
- add --ip=127.0.0.1 argument of jupyter server when running in k8s container
(#9976) - Correct the server and kernel text for when not connected to a server.
(#9933) - Make sure to clear variable list on restart kernel.
(#9740) - Use the autoStart server when available.
(#9926) - Removed unnecessary warning when executing cells that use Scrapbook,
Fix an html crash when using not supported mime types
(#9796) - Fixed the focus on the interactive window when pressing ctrl + 1/ ctrl + 2
(#9693) - Fix variable explorer in Interactive and Notebook editors from interfering with execution.
(#5980) - Fix a crash when using pytest to discover doctests with unknown line number.
(thanks Olivier Grisel)
(#7487) - Don't show any install product prompts if interpreter is not selected.
(#7750) - Allow PYTHONWARNINGS to be set and not have it interfere with the launching of Jupyter notebooks.
(#8496) - Pressing Esc in the config quickpick now cancels debugging.
(#8626) - Support resolveCompletionItem so that we can get Jedi docstrings in Notebook Editor and Interactive Window.
(#8706) - Disable interrupt, export, and restart buttons when already performing an interrupt, export, or restart for Notebooks and the Interactive window.
(#8716) - Icons now cannot be overwritten by styles in cell outputs.
(#8946) - Command palette (and other keyboard shortcuts) don't work from the Interactive/Notebook editor in the insider's build (or when setting 'useWebViewServer').
(#8976) - Fix issue that prevented language server diagnostics from being published.
(#9096) - Fixed the native editor toolbar so it won't overlap.
(#9140) - Selectively render output and monaco editor to improve performance.
(#9204) - Set test debug console default to be
internalConsole
.
(#9259) - Fix the Data Science "Enable Plot Viewer" setting to pass figure_formats correctly when turned off.
(#9420) - Shift+Enter can no longer send multiple lines to the interactive window.
(#9437) - Shift+Enter can no longer run code in the terminal.
(#9439) - Scrape output to get the details of the registered kernel.
(#9444) - Update
ptvsd
debugger to version v5.0.0a11. Fixes signing forinject_dll_x86.exe
.
(#9474) - Disable use of
conda run
.
(#9490) - Improvements to responsiveness of code completions in
Notebook
cells andInteractive Window
.
(#9494) - Revert changes related to calling
mypy
with relative paths.
(#9496) - Remove default
pathMappings
for attach to local process by process Id.
(#9533) - Ensure event handler is bound to the right context.
(#9539) - Use the correct interpreter when creating the Python execution service used as a fallback by the Daemon.
(#9566) - Ensure environment variables are always strings in
launch.json
.
(#9568) - Fix error in developer console about serializing gather rules.
(#9571) - Do not open the output panel when building workspace symbols.
(#9603) - Use an activated environment python process to check if modules are installed.
(#9643) - When hidden 'useWebViewServer' is true, clicking on links in Notebook output don't work.
(#9645) - Always use latest version of the debugger when building extension.
(#9652) - Fix background for interactive window copy icon.
(#9658) - Fix text in markdown cells being lost when clicking away.
(#9719) - Fix debugging of Interactive Window cells. Don't start up a second notebook at Interactive Window startup.
(#9780) - When comitting intellisense in Notebook Editor with Jedi place code in correct position.
(#9857) - Ignore errors coming from stat(), where appropriate.
(#9901)
Code Health
- Use prettier as the
TypeScript
formatter and Black as thePython
formatter within the extension.
(#2012) - Use
vanillajs
for build scripts (instead oftypescript
, avoids the step of having to transpile).
(#5674) - Remove npx from webpack build as it breaks on windows on npm 6.11+ and doesn't seem to be getting fixes. Update npm to current version.
(#7197) - Clean up npm dependencies.
([#8302](https://github.com/Microsoft/...
2020.1.58038
2020.1.0 (6 January 2020)
Enhancements
- Added experiment for reloading feature of debugging web apps.
(#3473) - Activate conda environment using path when name is not available.
(#3834) - Add QuickPick dropdown option Run All/Debug All when clicking on a Code Lens for a parametrized test to be able to run/debug all belonging test variants at once.
(thanks to Philipp Loose)
(#5608) - Use Octicons in Code Lenses. (thanks Aidan Dang)
(#7192) - Improve startup performance of Jupyter by using a Python daemon.
(#7242) - Automatically indent following
async for
andasync with
statements.
(#7344) - Added extension option
activateEnvInCurrentTerminal
to detect if environment should be activated in the current open terminal.
(#7665) - Add telemetry for usage of activateEnvInCurrentTerminal setting.
(#8004) - Support multiprocess debugging using the new python debug adapter.
(#8105) - Support a per interpreter language server so that notebooks that aren't using the currently selected python can still have intellisense.
(#8206) - Add "processId" key in launch.json to enable attach-to-local-pid scenarios when using the new debug adapter.
(#8384) - Populate survey links with variables
(#8484) - Support the ability to take input from users inside of a notebook or the Interactive Window.
(#8601) - Create an MRU list for Jupyter notebook servers.
(#8613) - Add icons to the quick pick list for specifying the Jupyter server URI.
(#8753) - Added kernel status and selection toolbar to the notebook editor.
(#8866) - Updated
ptvsd
debugger to version v5.0.0a9.
(#8930) - Add ability to select an existing remote
kernel
.
(#4644) - Notify user when starting jupyter times out and added
Jupyter
output panel to display output from Jupyter.
(#9068)
Fixes
- Add implementations for
python.workspaceSymbols.rebuildOnStart
andpython.workspaceSymbols.rebuildOnFileSave
.
(#793) - Use relative paths when invoking mypy.
(thanks to yxliang01)
(#5326) - Make the dataviewer open a window much faster. Total load time is the same, but initial response is much faster.
(#6729) - Make sure the data viewer for notebooks comes up as soon as the user clicks.
(#6840) - Support saving plotly graphs in the Interactive Window or inside of a notebook.
(#7221) - Change 0th line in output to 1th in flake8.
(thanks to Ma007ks)
(#7349) - Support local images in markdown and output for notebooks.
(#7704) - Default notebookFileRoot to match the file that a notebook was opened with (or the first file run for the interactive window).
(#7780) - Execution count and output are cleared from the .ipynb file when the user clicks the 'Clear All Output'.
(#7853) - Fix clear_output(True) to work in notebook cells.
(#7970) - Prevented '$0' from appearing inside brackets when using intellisense autocomplete.
(#8101) - Intellisense can sometimes not appear in notebooks or the interactive window, especially when something is a large list.
(#8140) - Correctly update interpreter and kernel info in the metadata.
(#8223) - Dataframe viewer should use the same interpreter as the active notebook is using.
(#8227) - 'breakpoint' line shows up in the interactive window when debugging a cell.
(#8260) - Run above should include all code, and not just cells above.
(#8403) - Fix issue with test discovery when using
unittest
with--pattern
flag.
(#8465) - Set focus to the corresponding
Native Notebook Editor
when opening anipynb
file again.
(#8506) - Fix using all environment variables when running in integrated terminal.
(#8584) - Fix display of SVG images from previously executed ipynb files.
(#8600) - Fixes that the test selection drop-down did not open when a code lens for a parameterized test was clicked on windows.
(#8627) - Changes to how
node-fetch
is bundled in the extension.
(#8665) - Re-enable support for source-maps.
(#8686) - Fix order for print/display outputs in a notebook cell.
(#8739) - Fix scrolling inside of intellisense hover windows for notebooks.
(#8843) - Fix scrolling in large cells.
(#8895) - Set
python.workspaceSymbols.enabled
to false by default.
(#9046) - Add ability to pick a remote kernel.
(#3763) - Do not set "redirectOutput": true by default when not specified in launch.json, unless "console" is "internalConsole".
(#8865) - Fix slowdown in Notebook editor caused by using global storage for too much data.
(#8961) - 'y' and 'm' keys toggle cell type but also add a 'y' or 'm' to the cell.
(#9078) - Remove unnecessary matplotlib import from first cell.
(#9099) - Two 'default' options in the select a Jupyter server URI picker.
(#9101) - Plot viewer never opens.
(#9114) - Fix color contrast for kernel selection control.
(#9138) - Disconnect between displayed server and connected server in Kernel selection UI.
(#9151) - Eliminate extra storage space from global storage on first open of a notebook that had already written to storage.
(#9159) - Change kernel selection MRU to just save connection time and don't try to connect when popping the list. Plus add unit tests for it.
(#9171)
Code Health
- Re-enable our mac 3.7 debugger tests as a blocking ptvsd issue has been resolved.
(#6646) - Use "conda run" (instead of using the "python.pythonPath" setting directly) when executing
Python and an Anaconda environment is selected.
(#7696) - Change state management for react code to use redux.
(#7949) - Pass resource when accessing VS Code settings.
(#8001) - Adjust some notebook and interactive window telemetry.
(#8254) - Added a new telemetry event called
DATASCIENCE.NATIVE.OPEN_NOTEBOOK_ALL
that fires every time the user opens a jupyter notebook by any means.
(#8262) - Create python daemon for execution of python code.
(#8451) - Update npm package `https-proxy-a...
2020.1.57204
2020.1.57204
2019.11.50794
2019.11.50794