Skip to content

Latest commit

 

History

History
6060 lines (5428 loc) · 360 KB

CHANGELOG.md

File metadata and controls

6060 lines (5428 loc) · 360 KB

Changelog

2020.5.1 (19 May 2020)

Fixes

  1. Do not execute shebang as an interpreter until user has clicked on the codelens enclosing the shebang. (#11687)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2020.5.0 (12 May 2020)

Enhancements

  1. Added ability to manually enter a path to interpreter in the select interpreter dropdown. (#216)
  2. Add status bar item with icon when installing Insiders/Stable build. (thanks to ErwanDL) (#10495)
  3. Support for language servers that don't allow incremental document updates inside of notebooks and the interactive window. (#10818)
  4. Add telemetry for "Python is not installed" prompt. (#10885)
  5. Add basic liveshare support for raw kernels. (#10988)
  6. Do a one-off transfer of existing values for python.pythonPath setting to new Interpreter storage if in DeprecatePythonPath experiment. (#11052)
  7. Ensure the language server can query pythonPath when in the Deprecate PythonPath experiment. (#11083)
  8. Added prompt asking users to delete python.pythonPath key from their workspace settings when in Deprecate PythonPath experiment. (#11108)
  9. Added getDebuggerPackagePath extension API to get the debugger package path. (#11236)
  10. Expose currently selected interpreter path using API. (#11294)
  11. Show a prompt asking user to upgrade Code runner to new version to keep using it when in Deprecate PythonPath experiment. (#11327)
  12. Rename string ${config:python.pythonPath} which is used in launch.json to refer to interpreter path set in settings, to ${config:python.interpreterPath}. (#11446)

Fixes

  1. Added 'Enable Scrolling For Cell Outputs' setting. Works together with the 'Max Output Size' setting. (#9801)
  2. Fix ctrl+enter on markdown cells. Now they render. (#10006)
  3. Cancelling the prompt to restart the kernel should not leave the toolbar buttons disabled. (#10356)
  4. Getting environment variables of activated environments should ignore the setting python.terminal.activateEnvironment. (#10370)
  5. Show notebook path when listing remote kernels. (#10521)
  6. Allow filtering on '0' for the Data Viewer. (#10552)
  7. Allow interrupting the kernel more than once. (#10587)
  8. Make error links in exception tracebacks support multiple cells in the stack and extra spaces. (#10708)
  9. Add channel property onto returned ZMQ messages. (#10785)
  10. Fix problem with shape not being computed for some types in the variable explorer. (#10825)
  11. Enable cell related commands when a Python file is already open. (#10884)
  12. Fix issue with parsing long conda environment names. (#10942)
  13. Hide progress indicator once Interactive Window has loaded. (#11065)
  14. Do not perform pipenv interpreter discovery on extension activation. Fix for CVE-2020-1171. (#11127)
  15. Ensure arguments are included in log messages when using decorators. (#11153)
  16. Fix for opening the interactive window when no workspace is open. (#11291)
  17. Conda environments working with raw kernels. (#11306)
  18. Ensure isolate script is passed as command argument when installing modules. (#11399)
  19. Make raw kernel launch respect launched resource environment. (#11451)
  20. When using a kernelspec without a fully qualified python path make sure we use the resource to get the active interpreter. (#11469)
  21. For direct kernel launch correctly detect if interpreter has changed since last launch. (#11530)
  22. Performance improvements when executing multiple cells in Notebook and Interactive Window. (#11576)
  23. Ensure kernel daemons are disposed correctly when closing notebooks. (#11579)
  24. When VS quits, make sure to save contents of notebook for next reopen. (#11557)
  25. Fix scrolling when clicking in the interactive window to not jump around. (#11554)
  26. Setting "Data Science: Run Startup Commands" is now limited to being a user setting. Fix for CVE-2020-1192.

Code Health

  1. Enable the Self Cert tests for Notebooks. (#10447)
  2. Remove deprecated telemetry and old way of searching for Jupyter. (#10809)
  3. Add telemetry for pipenv interpreter discovery. (#11128)
  4. Update to the latest version of jedi (0.17). Note that this may be the last version of Jedi to support Python 2 and Python 3.5. (#11221; thanks Peter Law) (#11221)
  5. Lazy load types from jupyterlab/services and similar npm modules. (#11297)
  6. Remove IJMPConnection implementation while maintaining tests written for it. (#11470)
  7. Implement an IJupyterVariables provider for the debugger. (#11542)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2020.4.1 (27 April 2020)

Fixes

  1. Use node FS APIs when searching for python. This is a temporary change until VSC FS APIs are fixed. (#10850)
  2. Show unhandled widget messages in the jupyter output window. (#11239)
  3. Warn when using a version of the widget qgrid greater than 1.1.1 with the recommendation to downgrade to 1.1.1. (#11245)
  4. Allow user modules import when discovering tests. (#11264)
  5. Fix issue where downloading ipywidgets from the CDN might be busy. (#11274)
  6. Error: Timeout is shown after running any widget more than once. (#11334)
  7. Change "python.dataScience.runStartupCommands" commands to be a global setting, not a workspace setting. (#11352)
  8. Closing the interactive window shuts down other active notebook sessions. (#11404)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2020.4.0 (20 April 2020)

Enhancements

  1. Add support for ipywidgets. (#3429)
  2. Support output and interact ipywidgets. (#9524)
  3. Support using 'esc' or 'ctrl+u' to clear the contents of the interactive window input box. (#10198)
  4. Use new interpreter storage supporting multiroot workspaces when in Deprecate PythonPath experiment. (#10325)
  5. Modified Select interpreter command to support setting interpreter at workspace level. (#10372)
  6. Added a command Clear Workspace Interpreter Setting to clear value of Python interpreter from workspace settings. (#10374)
  7. Support reverse connection ("listen" in launch.json) from debug adapter to VSCode. (#10437)
  8. Use specific icons when downloading MPLS and Insiders instead of the spinner. (#10495)
  9. Notebook metadata is now initialized in alphabetical order. (#10571)
  10. Added command translations for Hindi Language. (thanks Pai026) (#10711)
  11. Prompt when an "untrusted" workspace Python environment is to be auto selected when in Deprecate PythonPath experiment. (#10879)
  12. Added a command Reset stored info for untrusted Interpreters to reset "untrusted" interpreters storage when in Deprecate PythonPath experiment. (#10912)
  13. Added a user setting python.defaultInterpreterPath to set up the default interpreter path when in Deprecate PythonPath experiment. (#11021)
  14. Hide "untrusted" interpreters from 'Select interpreter' dropdown list when in DeprecatePythonPath Experiment. (#11046)
  15. Make spacing of icons on notebook toolbars match spacing on other VS code toolbars. (#10464)
  16. Make jupyter server status centered in the UI and use the same font as the rest of VS code. (#10465)
  17. Performa validation of interpreter only when a Notebook is opened instead of when extension activates. (#10893)
  18. Scrolling in cells doesn't happen on new line. (#10952)
  19. Ensure images in workspace folder are supported within markdown cells in a Notebook. (#11040)
  20. Make sure ipywidgets have a white background so they display in dark themes. (#11060)
  21. Arrowing down through cells put the cursor in the wrong spot. (#11094)

Fixes

  1. Ensure plot fits within the page of the PDF. (#9403)
  2. Fix typing in output of cells to not delete or modify any cells. (#9519)
  3. Show an error when ipywidgets cannot be found. (#9523)
  4. Experiments no longer block on telemetry. (#10008)
  5. Fix interactive window debugging after running cells in a notebook. (#10206)
  6. Fix problem with Data Viewer not working when builtin functions are overridden (like max). (#10280)
  7. Fix interactive window debugging when debugging the first cell to be run. (#10395)
  8. Fix interactive window debugging for extra lines in a function. (#10396)
  9. Notebook metadata is now initialized in the correct place. (#10544)
  10. Fix save button not working on notebooks. (#10647)
  11. Fix toolbars on 3rd party widgets to show correct icons. (#10734)
  12. Clicking or double clicking in output of a cell selects or gives focus to a cell. It should only affect the controls in the output. (#10749)
  13. Fix for notebooks not becoming dirty when changing a kernel. (#10795)
  14. Auto save for focusChange is not respected when switching to non text documents. Menu focus will still not cause a save (no callback from VS code for this), but should work for switching to other apps and non text documents. (#10853)
  15. Handle display.update inside of cells. (#10873)
  16. ZMQ should not cause local server to fail. (#10877)
  17. Fixes issue with spaces in debugger paths when using getRemoteLauncherCommand. (#10905)
  18. Fix output and interact widgets to work again. (#10915)
  19. Make sure the same python is used for the data viewer as the notebook so that pandas can be found. (#10926)
  20. Ensure user code in cell is preserved between cell execution and cell edits. (#10949)
  21. Make sure the interpreter in the notebook matches the kernel. (#10953)
  22. Jupyter notebooks and interactive window crashing on startup. (#11035)
  23. Fix perf problems after running the interactive window for an extended period of time. (#10971)
  24. Fix problem with opening a notebook in jupyter after saving in VS code. (#11151)
  25. Fix CTRL+Z and Z for undo on notebooks. (#11160)
  26. Fix saving to PDF for viewed plots. (#11157)
  27. Fix scrolling in a notebook whenever resizing or opening. (#11238)

Code Health

  1. Add conda environments to nightly test runs. (#10134)
  2. Refactor the extension activation code to split on phases. (#10454)
  3. Added a kernel launcher to spawn python kernels without Jupyter. (#10479)
  4. Add ZMQ library to extension. (#10483)
  5. Added test harness for ipywidgets in notebooks. (#10655)
  6. Run internal modules and scripts in isolated manner. This helps avoid problems like shadowing stdlib modules. (#10681)
  7. Add telemetry for .env files. (#10780)
  8. Update prettier to latest version. (#10837)
  9. Update typescript to 3.8. (#10839)
  10. Add telemetry around ipywidgets usage, failures, and overhead. (#11027)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2020.3.2 (2 April 2020)

Fixes

  1. Update debugpy to latest (v1.0.0b5). Fixes issue with connections with multi-process.

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2020.3.1 (31 March 2020)

Fixes

  1. Update debugpy to latest (v1.0.0b4). Fixes issue with locale.

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2020.3.0 (19 March 2020)

Enhancements

  1. Make interactive window wrap like the notebook editor does. (#4466)
  2. Support scrolling beyond the last line in the notebook editor and the interactive window. Uses the editor.scrollBeyondLastLine setting. (#7892)
  3. 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)
  4. When entering remote Jupyter Server, default the input value to uri in clipboard. (#9163)
  5. Added a command to allow users to select a kernel for a Notebook. (#9228)
  6. When saving new notebooks, default to the current workspace folder. (#9331)
  7. 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)
  8. Change the parameters for when a Data Science survey prompt comes up. After opening 5 notebooks (ever) or running 100 cells (ever). (#10186)
  9. Show quickfixes for launch.json. (#10245)

Fixes

  1. Jupyter autocompletion will only show magic commands on empty lines, preventing them of appearing in functions. (#10023)
  2. Remove extra lines at the end of the file when formatting with Black. (#1877)
  3. Capitalize Activate.ps1 in code for PowerShell Core on Linux. (#2607)
  4. Change interactive window to use the python interpreter associated with the file being run. (#3123)
  5. 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)
  6. Fix magic commands that return 'paged' output. (#6900)
  7. Ensure model is updated with user changes after user types into the editor. (#8589)
  8. Fix latex output from a code cell to render correctly. (#8742)
  9. Toggling cell type from code to markdown will not set focus to the editor in cells of a Notebook. (#9102)
  10. Remove whitespace from code before pushing to the interactive window. (#9116)
  11. Have sys info show that we have connected to an existing server. (#9132)
  12. Fix IPython.clear_output to behave like Jupyter. (#9174)
  13. Jupyter output tab was not showing anything when connecting to a remote server. (#9177)
  14. Fixed our css generation from custom color themes which caused the Data Viewer to not load. (#9242)
  15. Allow a user to skip switching to a kernel if the kernel dies during startup. (#9250)
  16. Clean up interative window styling and set focus to input box if clicking in the interactive window. (#9282)
  17. Change icon spacing to match vscode icon spacing in native editor toolbars and interactive window toolbar. (#9283)
  18. Display diff viewer for ipynb files without opening Notebooks. (#9395)
  19. Python environments will not be activated in terminals hidden from the user. (#9503)
  20. Disable Restart Kernel and Interrupt Kernel buttons when a kernel has not yet started. (#9731)
  21. Fixed an issue with multiple latex formulas in the same '$$' block. (#9766)
  22. Make notebook editor and interactive window honor undocumented editor.scrollbar.verticalScrollbarSize option + increase default to match vscode. (#9803)
  23. Ensure that invalid kernels don't hang notebook startup or running. (#9845)
  24. Switching kernels should disable the run/interrupt/restart buttons. (#9935)
  25. Prompt to install pandas if not found when opening the Data Viewer. (#9944)
  26. Prompt to reload VS Code when changing the Jupyter Server connection. (#9945)
  27. Support opening spark dataframes in the data viewer. (#9959)
  28. Make sure metadata in a cell survives execution. (#9997)
  29. Fix run all cells to force each cell to finish before running the next one. (#10016)
  30. Fix interrupts from always thinking a restart occurred. (#10050)
  31. Do not delay activation of extension by waiting for terminal to get activated. (#10094)
  32. LiveShare can prevent the jupyter server from starting if it crashes. (#10097)
  33. Mark poetry.lock file as toml syntax. (thanks to remcohaszing) (#10111)
  34. Hide input in Interactive Window based on the setting allowInput. (#10124)
  35. Fix scrolling for output to consistently scroll even during execution. (#10137)
  36. Correct image backgrounds for notebook editor. (#10154)
  37. Fix empty variables to show an empty string in the Notebook/Interactive Window variable explorer. (#10204)
  38. In addition to updating current working directory also add on our notebook file path to sys.path to match Jupyter. (#10227)
  39. Ensure message (about trimmed output) displayed in an output cell looks like a link. (#10231)
  40. Users can opt into or opt out of experiments in remote scenarios. (#10232)
  41. Ensure to correctly return env variables of the activated interpreter, when dealing with non-workspace interpreters. (#10250)
  42. Update kernel environments before each run to use the latest environment. Only do this for kernel specs created by the python extension. (#10255)
  43. Don't start up and shutdown an extra Jupyter notebook on server startup. (#10311)
  44. When you install missing dependencies for Jupyter successfully in an active interpreter also set that interpreter as the Jupyter selected interpreter. (#10359)
  45. Ensure default host is not set, if connect or listen settings are available. (#10597)

Code Health

  1. Use the new VS Code filesystem API as much as possible. (#6911)
  2. Functional tests using real jupyter can take 30-90 seconds each. Most of this time is searching for interpreters. Cache the interpreter search. (#7997)
  3. Use Python 3.8 in tests run on Azure DevOps. (#8298)
  4. Display Commands related to Interactive Window and Notebooks only when necessary. (#8869)
  5. Change cursor styles of buttons pointer in Interactive Window and Native Editor. (#9341)
  6. Update Jedi to 0.16.0. (#9765)
  7. Update version of VSCode in package.json to 1.42. (#10046)
  8. Capture mimetypes of cell outputs. (#10182)
  9. Use debugpy in the core extension instead of ptvsd. (#10184)
  10. Add telemetry for imports in notebooks. (#10209)
  11. Update data science component to use debugpy. (#10211)
  12. Use new MacOS VM in Pipelines. (#10288)
  13. Split the windows PR tests into two sections so they do not time out. (#10293)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2020.2.3 (21 February 2020)

Fixes

  1. Ensure to correctly return env variables of the activated interpreter, when dealing with non-workspace interpreters. (#10250)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2020.2.2 (19 February 2020)

Fixes

  1. Improve error messaging when the jupyter notebook cannot be started. (#9904)
  2. Clear variables in notebooks and interactive-window when restarting. (#9991)
  3. Re-install Jupyter instead of installing kernelspec if kernelspec cannot be found in the python environment. (#10071)
  4. Fixes problem with showing ndarrays in the data viewer. (#10074)
  5. Fix data viewer not opening on certain data frames. (#10075)
  6. Fix svg mimetype so it shows up correctly in richest mimetype order. (#10168)
  7. Perf improvements to executing startup code for Data Science features when extension loads. (#10170)

Code Health

  1. Add telemetry to track notebook languages (#9819)
  2. Telemetry around kernels not working and installs not working. (#9883)
  3. Change select kernel telemetry to track duration till quick pick appears. (#10049)
  4. Track cold/warm times to execute notebook cells. (#10176)
  5. Telemetry to capture connections to localhost using the connect to remote Jupyter server feature. (#10098)
  6. Telemetry to capture perceived startup times of Jupyter and time to execute a cell. (#10212)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2020.2.1 (12 February 2020)

Fixes

  1. Re-install Jupyter instead of installing kernelspec if kernelspec cannot be found in the python environment. (#10071)
  2. Fix zh-tw localization file loading issue. (thanks to ChenKB91) (#10072)

Note

  1. Please only set the python.languageServer setting if you want to turn IntelliSense off. To switch between language servers, please keep using the python.jediEnabled setting for now.

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2020.2.0 (11 February 2020)

Enhancements

  1. Support opting in and out of an experiment group. (#6816)
  2. Add python.languageServer setting with values of Jedi (acts same as jediEnabled), Microsoft for the Microsoft Python Language Server and None, 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)
  3. 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)
  4. Add support for rendering local images within markdown cells in the Notebook Editor. (#7704)
  5. Add progress indicator for starting of jupyter with details of each stage. (#7868)
  6. Use a dedicated Python Interpreter for starting Jupyter Notebook Server. This can be changed using the command Select Interpreter to start Jupyter server from the Command Palette. (#8623)
  7. Implement pid quick pick for attach cases with the new debug adapter. (#8701)
  8. Provide attach to pid configuration via picker. (#8702)
  9. Support for custom python debug adapter. (#8720)
  10. Remove insiders re-enroll prompt. (#8775)
  11. Attach to pid picker - bodyblock users who are not in the new debugger experiment. (#8935)
  12. Pass -y to conda installer to disable the prompt to install, as user has already ok'ed this action. (#9194)
  13. Updated ptvsd debugger to version v5.0.0a12. (#9310)
  14. Use common code to manipulate notebook cells. (#9386)
  15. Add support for Find in the Notebook Editor. (#9470)
  16. Update Chinese (Traditional) translation. (thanks pan93412) (#9548)
  17. Look for Conda interpreters in ~/opt/*conda*/ directory as well. (#9701)

Fixes

  1. add --ip=127.0.0.1 argument of jupyter server when running in k8s container (#9976)
  2. Correct the server and kernel text for when not connected to a server. (#9933)
  3. Make sure to clear variable list on restart kernel. (#9740)
  4. Use the autoStart server when available. (#9926)
  5. Removed unnecessary warning when executing cells that use Scrapbook, Fix an html crash when using not supported mime types (#9796)
  6. Fixed the focus on the interactive window when pressing ctrl + 1/ ctrl + 2 (#9693)
  7. Fix variable explorer in Interactive and Notebook editors from interfering with execution. (#5980)
  8. Fix a crash when using pytest to discover doctests with unknown line number. (thanks Olivier Grisel) (#7487)
  9. Don't show any install product prompts if interpreter is not selected. (#7750)
  10. Allow PYTHONWARNINGS to be set and not have it interfere with the launching of Jupyter notebooks. (#8496)
  11. Pressing Esc in the config quickpick now cancels debugging. (#8626)
  12. Support resolveCompletionItem so that we can get Jedi docstrings in Notebook Editor and Interactive Window. (#8706)
  13. Disable interrupt, export, and restart buttons when already performing an interrupt, export, or restart for Notebooks and the Interactive window. (#8716)
  14. Icons now cannot be overwritten by styles in cell outputs. (#8946)
  15. Command palette (and other keyboard shortcuts) don't work from the Interactive/Notebook editor in the insider's build (or when setting 'useWebViewServer'). (#8976)
  16. Fix issue that prevented language server diagnostics from being published. (#9096)
  17. Fixed the native editor toolbar so it won't overlap. (#9140)
  18. Selectively render output and monaco editor to improve performance. (#9204)
  19. Set test debug console default to be internalConsole. (#9259)
  20. Fix the Data Science "Enable Plot Viewer" setting to pass figure_formats correctly when turned off. (#9420)
  21. Shift+Enter can no longer send multiple lines to the interactive window. (#9437)
  22. Shift+Enter can no longer run code in the terminal. (#9439)
  23. Scrape output to get the details of the registered kernel. (#9444)
  24. Update ptvsd debugger to version v5.0.0a11. Fixes signing for inject_dll_x86.exe. (#9474)
  25. Disable use of conda run. (#9490)
  26. Improvements to responsiveness of code completions in Notebook cells and Interactive Window. (#9494)
  27. Revert changes related to calling mypy with relative paths. (#9496)
  28. Remove default pathMappings for attach to local process by process Id. (#9533)
  29. Ensure event handler is bound to the right context. (#9539)
  30. Use the correct interpreter when creating the Python execution service used as a fallback by the Daemon. (#9566)
  31. Ensure environment variables are always strings in launch.json. (#9568)
  32. Fix error in developer console about serializing gather rules. (#9571)
  33. Do not open the output panel when building workspace symbols. (#9603)
  34. Use an activated environment python process to check if modules are installed. (#9643)
  35. When hidden 'useWebViewServer' is true, clicking on links in Notebook output don't work. (#9645)
  36. Always use latest version of the debugger when building extension. (#9652)
  37. Fix background for interactive window copy icon. (#9658)
  38. Fix text in markdown cells being lost when clicking away. (#9719)
  39. Fix debugging of Interactive Window cells. Don't start up a second notebook at Interactive Window startup. (#9780)
  40. When comitting intellisense in Notebook Editor with Jedi place code in correct position. (#9857)
  41. Ignore errors coming from stat(), where appropriate. (#9901)

Code Health

  1. Use prettier as the TypeScript formatter and Black as the Python formatter within the extension. (#2012)
  2. Use vanillajs for build scripts (instead of typescript, avoids the step of having to transpile). (#5674)
  3. 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)
  4. Clean up npm dependencies. (#8302)
  5. Update version of node to 12.4.0. (#8453)
  6. Use a hidden terminal to retrieve environment variables of an activated Python Interpreter. (#8928)
  7. Fix broken LiveShare connect via codewatcher test. (#9005)
  8. Refactor webpack build scripts to build DS bundles using separate config files. (#9055)
  9. Change how we handle keyboard input for our functional editor tests. (#9084)
  10. Fix working directory path verification for notebook tests. (#9191)
  11. Update Jedi to 0.15.2 and parso to 0.5.2. (#9243)
  12. Added a test performance measuring pipeline. (#9421)
  13. Audit existing telemetry events for datascience or ds_internal. (#9626)
  14. CI failure on Data science memoize-one dependency being removed. (#9646)
  15. Make sure to check dependencies during PRs. (#9714)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2020.1.0 (6 January 2020)

Enhancements

  1. Added experiment for reloading feature of debugging web apps. (#3473)
  2. Activate conda environment using path when name is not available. (#3834)
  3. 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)
  4. Use Octicons in Code Lenses. (thanks Aidan Dang) (#7192)
  5. Improve startup performance of Jupyter by using a Python daemon. (#7242)
  6. Automatically indent following async for and async with statements. (#7344)
  7. Added extension option activateEnvInCurrentTerminal to detect if environment should be activated in the current open terminal. (#7665)
  8. Add telemetry for usage of activateEnvInCurrentTerminal setting. (#8004)
  9. Support multiprocess debugging using the new python debug adapter. (#8105)
  10. Support a per interpreter language server so that notebooks that aren't using the currently selected python can still have intellisense. (#8206)
  11. Add "processId" key in launch.json to enable attach-to-local-pid scenarios when using the new debug adapter. (#8384)
  12. Populate survey links with variables (#8484)
  13. Support the ability to take input from users inside of a notebook or the Interactive Window. (#8601)
  14. Create an MRU list for Jupyter notebook servers. (#8613)
  15. Add icons to the quick pick list for specifying the Jupyter server URI. (#8753)
  16. Added kernel status and selection toolbar to the notebook editor. (#8866)
  17. Updated ptvsd debugger to version v5.0.0a9. (#8930)
  18. Add ability to select an existing remote kernel. (#4644)
  19. Notify user when starting jupyter times out and added Jupyter output panel to display output from Jupyter. (#9068)

Fixes

  1. Add implementations for python.workspaceSymbols.rebuildOnStart and python.workspaceSymbols.rebuildOnFileSave. (#793)
  2. Use relative paths when invoking mypy. (thanks to yxliang01) (#5326)
  3. Make the dataviewer open a window much faster. Total load time is the same, but initial response is much faster. (#6729)
  4. Make sure the data viewer for notebooks comes up as soon as the user clicks. (#6840)
  5. Support saving plotly graphs in the Interactive Window or inside of a notebook. (#7221)
  6. Change 0th line in output to 1th in flake8. (thanks to Ma007ks) (#7349)
  7. Support local images in markdown and output for notebooks. (#7704)
  8. Default notebookFileRoot to match the file that a notebook was opened with (or the first file run for the interactive window). (#7780)
  9. Execution count and output are cleared from the .ipynb file when the user clicks the 'Clear All Output'. (#7853)
  10. Fix clear_output(True) to work in notebook cells. (#7970)
  11. Prevented '$0' from appearing inside brackets when using intellisense autocomplete. (#8101)
  12. Intellisense can sometimes not appear in notebooks or the interactive window, especially when something is a large list. (#8140)
  13. Correctly update interpreter and kernel info in the metadata. (#8223)
  14. Dataframe viewer should use the same interpreter as the active notebook is using. (#8227)
  15. 'breakpoint' line shows up in the interactive window when debugging a cell. (#8260)
  16. Run above should include all code, and not just cells above. (#8403)
  17. Fix issue with test discovery when using unittest with --pattern flag. (#8465)
  18. Set focus to the corresponding Native Notebook Editor when opening an ipynb file again. (#8506)
  19. Fix using all environment variables when running in integrated terminal. (#8584)
  20. Fix display of SVG images from previously executed ipynb files. (#8600)
  21. Fixes that the test selection drop-down did not open when a code lens for a parameterized test was clicked on windows. (#8627)
  22. Changes to how node-fetch is bundled in the extension. (#8665)
  23. Re-enable support for source-maps. (#8686)
  24. Fix order for print/display outputs in a notebook cell. (#8739)
  25. Fix scrolling inside of intellisense hover windows for notebooks. (#8843)
  26. Fix scrolling in large cells. (#8895)
  27. Set python.workspaceSymbols.enabled to false by default. (#9046)
  28. Add ability to pick a remote kernel. (#3763)
  29. Do not set "redirectOutput": true by default when not specified in launch.json, unless "console" is "internalConsole". (#8865)
  30. Fix slowdown in Notebook editor caused by using global storage for too much data. (#8961)
  31. 'y' and 'm' keys toggle cell type but also add a 'y' or 'm' to the cell. (#9078)
  32. Remove unnecessary matplotlib import from first cell. (#9099)
  33. Two 'default' options in the select a Jupyter server URI picker. (#9101)
  34. Plot viewer never opens. (#9114)
  35. Fix color contrast for kernel selection control. (#9138)
  36. Disconnect between displayed server and connected server in Kernel selection UI. (#9151)
  37. Eliminate extra storage space from global storage on first open of a notebook that had already written to storage. (#9159)
  38. 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

  1. Re-enable our mac 3.7 debugger tests as a blocking ptvsd issue has been resolved. (#6646)
  2. Use "conda run" (instead of using the "python.pythonPath" setting directly) when executing Python and an Anaconda environment is selected. (#7696)
  3. Change state management for react code to use redux. (#7949)
  4. Pass resource when accessing VS Code settings. (#8001)
  5. Adjust some notebook and interactive window telemetry. (#8254)
  6. 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)
  7. Create python daemon for execution of python code. (#8451)
  8. Update npm package https-proxy-agent by updating the packages that pull it in. (#8537)
  9. Improve startup times of unit tests by optionally ignoring some bootstrapping required for monaco and react tests. (#8564)
  10. Skip checking dependencies on CI in PRs. (#8840)
  11. Fix installation of sqlite on CI linux machines. (#8883)
  12. Fix the "convert to python" functional test failure. (#8899)
  13. Remove unused auto-save-enabled telemetry. (#8906)
  14. Added ability to wait for completion of the installation of modules. (#8952)
  15. Fix failing Data Viewer functional tests. (#8992)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2019.11.1 (22 November 2019)

Fixes

  1. Some LaTeX equations do not print in notebooks or the interactive window. (#8673)
  2. Converting to python script no longer working from a notebook. (#8677)
  3. Fixes to starting Jupyter in a Docker container. (#8661)
  4. Ensure arguments are generated correctly for getRemoteLauncherCommand when in debugger experiment. (#8685)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2019.11.0 (18 November 2019)

Enhancements

  1. Add Vega support into our list of transforms for output. (#4125)
  2. Add .flake8 file association as ini-file. (thanks thernstig) (#6506)
  3. Provide user feedback when searching for a Jupyter server to use and allow the user to cancel this process. (#7262)
  4. By default, don't change matplotlib themes and place all plots on a white background regardless of VS Code theme. Add a setting to allow for plots to try to theme. (#8000)
  5. Prompt to open exported Notebook in the Notebook Editor. (#8078)
  6. Add commands translation for Farsi locale. (thanks Nikronic) (#8092)
  7. Enhance "select a workspace" message when selecting interpreter. (thanks Nikolay Kondratyev) (#8103)
  8. Add logging support for python debug adapter. (#8106)
  9. Style adjustments to line numbers (color and width) in the Native Editor, to line up with VS Code styles. (#8289)
  10. Added command translations for Turkish. (thanks to alioguzhan) (#8320)
  11. Toolbar was updated to take less space and be reached more easily. (#8366)

Fixes

  1. Fix running a unittest file executing only the first test. (thanks Nikolay Kondratyev) (#4567)
  2. Force the pytest root dir to always be the workspace root folder. (#6548)
  3. The notebook editor will now treat wrapped lines as different lines, so moving in cells and between cells with the arrow keys (and j and k) will be easier. (#7227)
  4. During test discovery, ignore tests generated by pytest plugins (like pep8). Tests like that were causing discovery to fail. (#7287)
  5. When exporting a notebook editor to python script don't use the temp file location for generating the export. (#7567)
  6. Unicode symbol used to mark skipped tests was almost not visible on Linux and Windows. (#7705)
  7. Editing cells in a notebook, closing VS code, and then reopening will not have the cell content visible. (#7754)
  8. Sonar warnings. (#7812)
  9. Remove --ci flag from install_ptvsd.py to fix execution of "Setup" instructions from CONTRIBUTING.md. (#7814)
  10. Add telemetry for control groups in debug adapter experiments. (#7817)
  11. Allow the language server to pick a default caching mode. (#7821)
  12. Respect ignoreVSCodeTheme setting and correctly swap icons when changing from light to dark color themes. (#7847)
  13. 'Clear All Output' now deletes execution count for all cells. (#7853)
  14. If a Jupyter server fails to start, allow user to retry without having to restart VS code. (#7865)
  15. Fix strings of commas appearing in text/html output in the notebook editor. (#7873)
  16. When creating a new blank notebook, it has existing text in it already. (#7980)
  17. Can now include a LaTeX-style equation without surrounding the equation with '$' in a markdown cell. (#7992)
  18. Make a spinner appear during executing a cell. (#8003)
  19. Signature help is overflowing out of the signature help widget on the Notebook Editor. (#8006)
  20. Ensure intellisense (& similar widgets/popups) are dispaled for one cell in the Notebook editor. (#8007)
  21. Correctly restart Jupyter sessions when the active interpreter is changed. (#8019)
  22. Clear up wording around jupyterServerURI and remove the quick pick from the flow of setting that. (#8021)
  23. Use actual filename comparison for filename equality checks. (#8022)
  24. Opening a notebook a second time round with changes (made from another editor) should be preserved. (#8025)
  25. Minimize the GPU impact of the interactive window and the notebook editor. (#8039)
  26. Store version of the Python interpreter (kernel) in the notebook metadata when running cells. (#8064)
  27. Make shift+enter not take focus unless about to add a new cell. (#8069)
  28. When checking the version of pandas, use the same interpreter used to start Jupyter. (#8084)
  29. Make brackets and paranthesis auto complete in the Notebook Editor and Interactive Window (based on editor settings). (#8086)
  30. Cannot create more than one blank notebook. (#8132)
  31. Fix for code disappearing after switching between markdown and code in a Notebook Editor. (#8141)
  32. Support ⌘+s keyboard shortcut for saving Notebooks. (#8151)
  33. Fix closing a Notebook Editor to actually wait for the kernel to restart. (#8167)
  34. Inserting a cell in a notebook can sometimes cause the contents to be the cell below it. (#8194)
  35. Scroll the notebook editor when giving focus or changing line of a code cell. (#8205)
  36. Prevent code from changing in the Notebook Editor while running a cell. (#8215)
  37. When updating the Python extension, unsaved changes to notebooks are lost. (#8263)
  38. Fix CI to use Python 3.7.5. (#8296)
  39. Correctly transition markdown cells into code cells. (#8386)
  40. Fix cells being erased when saving and then changing focus to another cell. (#8399)
  41. Add a white background for most non-text mimetypes. This lets stuff like Atlair look good in dark mode. (#8423)
  42. Export to python button is blue in native editor. (#8424)
  43. CTRL+Z is deleting cells. It should only undo changes inside of the code for a cell. 'Z' and 'SHIFT+Z' are for undoing/redoing cell adds/moves. (#7999)
  44. Ensure clicking ctrl+s in a new notebook prompts the user to select a file once instead of twice. (#8138)
  45. Creating a new blank notebook should not require a search for jupyter. (#8481)
  46. Arrowing up and down through cells can lose code that was just typed. (#8491)
  47. After pasting code, arrow keys don't navigate in a cell. (#8495)
  48. Typing 'z' in a cell causes the cell to disappear. (#8594)

Code Health

  1. Add unit tests for src/client/common/process/pythonProcess.ts. (#6065)
  2. Remove try...catch around use of vscode.env.shell. (#6912)
  3. Test plan needed to be updated to include support for the Notebook Editor. (#7593)
  4. Add test step to get correct pywin32 installed with python 3.6 on windows. (#7798)
  5. Update Test Explorer icons to match new VS Code icons. (#7809)
  6. Fix native editor mime type functional test. (#7877)
  7. Fix variable explorer loading test. (#7878)
  8. Add telemetry to capture usage of features in the Notebook Editor for Data Science features. (#7908)
  9. Fix debug temporary functional test for Mac / Linux. (#7994)
  10. Variable explorer tests failing on nightly. (#8124)
  11. Timeout with new waitForMessage in native editor tests. (#8255)
  12. Remove code used to track perf of creation classes. (#8280)
  13. Update TypeScript to 3.7. (#8395)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2019.10.1 (22 October 2019)

Enhancements

  1. Support other variables for notebookFileRoot besides ${workspaceRoot}. Specifically allow things like ${fileDirName} so that the dir of the first file run in the interactive window is used for the current directory. (#4441)
  2. Add command palette commands for native editor (run all cells, run selected cell, add new cell). And remove interactive window commands from contexts where they don't apply. (#7800)
  3. Added ability to auto-save chagnes made to the notebook. (#7831)

Fixes

  1. Fix regression to allow connection to servers with no token and no password and add functional test for this scenario (#7137)
  2. Perf improvements for opening notebooks with more than 100 cells. (#7483)
  3. Fix jupyter server startup hang when xeus-cling kernel is installed. (#7569)
  4. Make interactive window and native take their fontSize and fontFamily from the settings in VS Code. (#7624)
  5. Fix a hang in the Interactive window when connecting guest to host after the host has already started the interactive window. (#7638)
  6. Change the default cell marker to '# %%' instead of '#%%' to prevent linter errors in python files with markers. Also added a new setting to change this - 'python.dataScience.defaultCellMarker'. (#7674)
  7. When there's no workspace open, use the directory of the opened file as the root directory for a jupyter session. (#7688)
  8. Fix selection and focus not updating when clicking around in a notebook editor. (#7802)
  9. Fix add new cell buttons in the notebook editor to give the new cell focus. (#7820)
  10. Do not use the PTVSD package version in the folder name for the wheel experiment. (#7836)
  11. Prevent updates to the cell text when cell execution of the same cell has commenced or completed. (#7844)
  12. Hide the parameters intellisense widget in the Notebook Editor when it is not longer required. (#7851)
  13. Allow the "Create New Blank Jupyter Notebook" command to be run when the python extension is not loaded yet. (#7888)
  14. Ensure the *.trie files related to font kit npm module are copied into the output directory as part of the Webpack bundling operation. (#7899)
  15. CTRL+S is not saving a Notebook file. (#7904)
  16. When automatically opening the Notebook Editor, then ignore uris that do not have a file scheme (#7905)
  17. Minimize the changes to an ipynb file when saving - preserve metadata and spacing. (#7960)
  18. Fix intellisense popping up in the wrong spot when first typing in a cell. (#8009)
  19. Fix python.dataScience.maxOutputSize to be honored again. (#8010)
  20. Fix markdown disappearing after editing and hitting the escape key. (#8045)

Code Health

  1. Add functional tests for notebook editor's use of the variable list. (#7369)
  2. More functional tests for the notebook editor. (#7372)
  3. Update version of @types/vscode. (#7832)
  4. Use Webview.asWebviewUri to generate a URI for use in the Webview Panel instead of hardcoding the resource vscode-resource. (#7834)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2019.10.0 (8 October 2019)

Enhancements

  1. Experimental version of a native editor for ipynb files. (#5959)
  2. Added A/A testing. (#6793)
  3. Opt insiders users into beta language server by default. (#7108)
  4. Add basic liveshare support for native. (#7235)
  5. Change main toolbar to match design spec. (#7240)
  6. Telemetry for native editor support. (#7252)
  7. Change Variable Explorer to use a sticky button on the main toolbar. (#7354)
  8. Add left side navigation bar to native editor. (#7377)
  9. Add middle toolbar to a native editor cell. (#7378)
  10. Indented the status bar for outputs and changed the background color in the native editor. (#7379)
  11. Added a setting python.experiments.enabled to enable/disable A/B tests within the extension. (#7410)
  12. Add a play button for all users. (#7423)
  13. Add a command to show the Language Server output panel. (#7459)
  14. Make empty notebooks (from File | New File) contain at least one cell. (#7516)
  15. Add "clear all output" button to native editor. (#7517)
  16. Add support for ptvsd and debug adapter experiments in remote debugging API. (#7549)
  17. Support other variables for notebookFileRoot besides ${workspaceRoot}. Specifically allow things like ${fileDirName} so that the directory of the first file run in the interactive window is used for the current directory. (#4441)

Fixes

  1. Replaced occurrences of pep8 with pycodestyle. All mentions of pep8 have been replaced with pycodestyle. Add script to replace outdated settings with the new ones in user settings.json
    • python.linting.pep8Args -> python.linting.pycodestyleArgs
    • python.linting.pep8CategorySeverity.E -> python.linting.pycodestyleCategorySeverity.E
    • python.linting.pep8CategorySeverity.W -> python.linting.pycodestyleCategorySeverity.W
    • python.linting.pep8Enabled -> python.linting.pycodestyleEnabled
    • python.linting.pep8Path -> python.linting.pycodestylePath
    • (thanks Marsfan) (#410)
  2. Do not change foreground colors in test statusbar. (#4387)
  3. Set the __file__ variable whenever running code so that __file__ usage works in the interactive window. (#5459)
  4. Ensure Windows Store install of Python is displayed in the statusbar. (#5926)
  5. Fix loging for determining python path from workspace of active text editor (thanks Eric Bajumpaa (@SteelPhase)). (#6282)
  6. Changed the way scrolling is treated. Now we only check for the position of the scroll, the size of the cell won't matter. Still the interactive window will snap to the bottom if you already are at the bottom, and will stay in place if you are not. Like a chat window. Tested to work with:
    • regular code
    • dataframes
    • big and regular plots Turned the check of the scroll at the bottom from checking equal to checking a range to make it work with fractions. (#6580)
  7. Changed the name of the setting 'Run Magic Commands' to 'Run Startup Commands' to avoid confusion. (#6842)
  8. Fix the debugger being installed even when available from the VSCode install. (#6907)
  9. Fixes to detection of shell. (#6928)
  10. Delete the old session immediately after session restart instead of on close. (#6975)
  11. Add support for the new JUnit XML format used by pytest 5.1+. (#6990)
  12. Set a content security policy on webviews. (#7007)
  13. Fix regression to allow connection to servers with no token and no password and add functional test for this scenario. (#7137)
  14. Resolve variables such as ${workspaceFolder} in the envFile setting of launch.json. (#7210)
  15. Fixed A/B testing sampling. (#7218)
  16. Added commands for 'dd', 'ctrl + enter', 'alt + enter', 'a', 'b', 'j', 'k' in the native Editor to behave just like JupyterLabs. (#7229)
  17. Add support for CTRL+S when the native editor has input focus (best we can do without true editor support) Also fix issue with opening two or more not gaining focus correctly. (#7238)
  18. Fix monaco editor layout perf. (#7241)
  19. Fix 'history' in the input box for the interactive window to work again. Up arrow and down arrow should now scroll through the things already typed in. (#7253)
  20. Fix plot viewer to allow exporting again. (#7257)
  21. Make ipynb files auto save on shutting down VS code as our least bad option at the moment. (#7258)
  22. Update icons to newer look. (#7261)
  23. The native editor will now wrap all its content instead of showing a horizontal scrollbar. (#7272)
  24. Deprecate the 'runMagicCommands' datascience setting. (#7294)
  25. Fix white icon background and finish update all icons to new style. (#7302)
  26. Fixes to display Python specific debug configurations in launch.json. (#7304)
  27. Fixed intellisense support on the native editor. (#7316)
  28. Fix double opening an ipynb file to still use the native editor. (#7318)
  29. 'j' and 'k' were reversed for navigating through the native editor. (#7330)
  30. 'a' keyboard shortcut doesn't add a cell above if current cell is the first. (#7334)
  31. Add the 'add cell' line between cells, on cells, and at the bottom and top. (#7362)
  32. Runtime errors cause the run button to disappear. (#7370)
  33. Surface jupyter notebook search errors to the user. (#7392)
  34. Allow cells to be re-executed on second open of an ipynb file. (#7417)
  35. Implement dirty file tracking for notebooks so that on reopening of VS code they are shown in the dirty state. Canceling the save will get them back to their on disk state. (#7418)
  36. Make ipynb files change to dirty when moving/deleting/changing cells. (#7439)
  37. Initial collapse / expand state broken by native liveshare work / gather. (#7445)
  38. Converting a native markdown cell to code removes the markdown source. (#7446)
  39. Text is cut off on the right hand side of a notebook editor. (#7472)
  40. Added a prompt asking users to enroll back in the insiders program. (#7473)
  41. Fix collapse bar and add new line spacing for the native editor. (#7489)
  42. Add new cell top most toolbar button should take selection into account when adding a cell. (#7490)
  43. Move up and move down arrows in native editor are different sizes. (#7494)
  44. Fix jedi intellisense in the notebook editor to be performant. (#7497)
  45. The add cell line should have a hover cursor. (#7508)
  46. Toolbar in the middle of a notebook cell should show up on hover. (#7515)
  47. 'z' key will now undo cell deletes/adds/moves. (#7518)
  48. Rename and restyle the save as python file button. (#7519)
  49. Fix for changing a file in the status bar to a notebook/jupyter file to open the new native notebook editor. (#7521)
  50. Running a cell by clicking the mouse should behave like shift+enter and move to the next cell (or add one to the bottom). (#7522)
  51. Output color makes a text only notebook with a lot of cells hard to read. Change output color to be the same as the background like Jupyter does. (#7526)
  52. Fix data viewer sometimes showing no data at all (especially on small datasets). (#7530)
  53. First run of run all cells doesn't run the first cell first. (#7558)
  54. Saving an untitled notebook editor doesn't change the tab to have the new file name. (#7561)
  55. Closing and reopening a notebook doesn't reset the execution count. (#7565)
  56. After restarting kernel, variables don't reset in the notebook editor. (#7573)
  57. CTRL+1/CTRL+2 had stopped working in the interactive window. (#7597)
  58. Ensure the insiders prompt only shows once. (#7606)
  59. Added prompt to flip "inheritEnv" setting to false to fix conda activation issue. (#7607)
  60. Toggling line numbers and output was not possible in the notebook editor. (#7610)
  61. Align execution count with first line of a cell. (#7611)
  62. Fix debugging cells to work when the python executable has spaces in the path. (#7627)
  63. Add switch channel commands into activationEvents to fix command 'Python.swichToDailyChannel' not found. (#7636)
  64. Goto cell code lens was not scrolling. (#7639)
  65. Make interactive window and native take their fontSize and fontFamily from the settings in VS Code. (#7624)
  66. Fix a hang in the Interactive window when connecting guest to host after the host has already started the interactive window. (#7638)
  67. When there's no workspace open, use the directory of the opened file as the root directory for a Jupyter session. (#7688)
  68. Allow the language server to pick a default caching mode. (#7821)

Code Health

  1. Use jsonc-parser instead of strip-json-comments. (thanks Mikhail Bulash) (#4819)
  2. Remove donjamayanne.jupyter integration. (thanks Mikhail Bulash) (#6052)
  3. Drop python.updateSparkLibrary command. (thanks Mikhail Bulash) (#6091)
  4. Re-enabled smoke tests (refactored in node.js with puppeteer). (#6511)
  5. Handle situations where language client is disposed earlier than expected. (#6865)
  6. Put Data science functional tests that use real jupyter into their own test pipeline. (#7066)
  7. Send telemetry for what language server is chosen. (#7109)
  8. Add telemetry to measure debugger start up performance. (#7332)
  9. Decouple the DS location tracker from the debug session telemetry. (#7352)
  10. Test scaffolding for notebook editor. (#7367)
  11. Add functional tests for notebook editor's use of the variable list. (#7369)
  12. Tests for the notebook editor for different mime types. (#7371)
  13. Split Cell class for different views. (#7376)
  14. Refactor Azure Pipelines to use stages. (#7431)
  15. Add unit tests to guarantee that the extension version in the master branch has the '-dev' suffix. (#7471)
  16. Add a smoke test for the Interactive Window. (#7653)
  17. Download PTVSD wheels (for the new PTVSD) as part of CI. (#7028)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2019.9.1 (6 September 2019)

Fixes

  1. Fixes to automatic scrolling on the interactive window. (#6580)

2019.9.0 (3 September 2019)

Enhancements

  1. Get "select virtual environment for the workspace" prompt to show up regardless of pythonpath setting. (#5499)
  2. Changes to telemetry with regards to discovery of python environments. (#5593)
  3. Update Jedi to 0.15.1 and parso to 0.5.1. (#6294)
  4. Moved Language Server logging to its own output channel. (#6559)
  5. Interactive window will only snap to the bottom if the user is already in the bottom, like a chat window. (#6580)
  6. Add debug command code lenses when in debug mode. (#6672)
  7. Implemented prompt for survey. (#6752)
  8. Add code gathering tools. (#6810)
  9. Added a setting called 'Run Magic Commands'. The input should be python code to be executed when the interactive window is loading. (#6842)
  10. Added a setting so the user can decide if they want the debugger to debug only their code, or also debug external libraries. (#6870)
  11. Implemented prompt for survey using A/B test framework. (#6957)

Fixes

  1. Delete the old session immediatly after session restart instead of on close (#6975)
  2. Add support for the "pathMappings" setting in "launch" debug configs. (#3568)
  3. Supports error codes like ABC123 as used in plugins. (#4074)
  4. Fixes to insertion of commas when inserting generated debug configurations in launch.json. (#5531)
  5. Fix code lenses shown for pytest. (#6303)
  6. Make data viewer change row height according to font size in settings. (#6614)
  7. Fix miniconda environments to work. (#6802)
  8. Drop dedent-on-enter for "return" statements. It will be addressed in microsoft#6564. (#6813)
  9. Show PTVSD exceptions to the user. (#6818)
  10. Tweaked message for restarting VS Code to use a Python Extension insider build (thanks Marsfan). (#6838)
  11. Do not execute empty code cells or render them in the interactive window when sent from the editor or input box. (#6839)
  12. Fix failing functional tests (for pytest) in the extension. (#6940)
  13. Fix ptvsd typo in descriptions. (#7097)

Code Health

  1. Update the message and the link displayed when Language Server isn't supported. (#5969)

  2. Normalize path separators in stack traces. (#6460)

  3. Update package.json to define supported languages for breakpoints. Update telemetry code to hardcode Telemetry Key in code (removed from package.json). (#6469)

  4. Functional tests for DataScience Error Handler. (#6697)

  5. Move .env file handling into the extension. This is in preparation to switch to the out-of-proc debug adapter from ptvsd. (#6770)

  6. Track enablement of a test framework. (#6783)

  7. Track how code was sent to the terminal (via command or UI). (#6801)

  8. Upload coverage reports to codecov. (#6938)

  9. Bump version of PTVSD to 4.3.2.

    • Fix an issue with Jump to cursor command. #1667
    • Fix "Unable to find threadStateIndex for the current thread" message in terminal. #1587
    • Fixes crash when using python 3.7.4. #1688 (#6961)
  10. Move nightly functional tests to use mock jupyter and create a new pipeline for flakey tests which use real jupyter. (#7066)

  11. Corrected spelling of name for method to be hasConfigurationFileInWorkspace. (#7072)

  12. Fix functional test failures due to new WindowsStoreInterpreter addition. (#7081)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2019.8.0 (6 August 2019)

Enhancements

  1. Added ability to auto update Insiders build of extension. (#2772)
  2. Add an icon for the "Run Python File in Terminal" command. (#5321)
  3. Hook up ptvsd debugger to Jupyter UI. (#5900)
  4. Improved keyboard and screen reader support for the data explorer. (#6019)
  5. Provide code mapping service for debugging cells. (#6318)
  6. Change copy back to code button in the interactive window to insert wherever the current selection is. (#6350)
  7. Add new 'goto cell' code lens on every cell that is run from a file. (#6359)
  8. Allow for cancelling all cells when an error occurs. Backed by 'stopOnError' setting. (#6366)
  9. Added Code Lens and Snippet to add new cell. (#6367)
  10. Support hitting breakpoints in actual source code for interactive window debugging. (#6376)
  11. Give the option to install ptvsd if user is missing it and tries to debug. (#6378)
  12. Add support for remote debugging of Jupyter cells. (#6379)
  13. Make the input box more visible to new users. (#6381)
  14. Add feature flag python.dataScience.magicCommandsAsComments so linters and other tools can work with them. (thanks Janosh Riebesell) (#6408)
  15. Support break on enter for debugging a cell. (#6449)
  16. instead of asking the user to select an installer, we now autodetect the environment being used, and use that installer. (#6569)
  17. Remove "Debug cell" action from data science code lenses for markdown cells. (thanks Janosh Riebesell) (#6588)
  18. Add debug command code lenses when in debug mode (#6672)

Fixes

  1. Fix executeInFileDir for when a file is not in a workspace. (thanks Bet4) (#1062)
  2. Fix indentation after string literals containing escaped characters. (#4241)
  3. The extension will now prompt to auto install jupyter in case its not found. (#5682)
  4. Append --allow-prereleases to black installation command so pipenv can properly resolve it. (#5756)
  5. Remove existing positional arguments when running single pytest tests. (#5757)
  6. Fix shift+enter to work when code lens are turned off. (#5879)
  7. Prompt to insall test framework only if test frame is not already installed. (#5919)
  8. Trim stream text output at the server to prevent sending massive strings of overwritten data. (#6001)
  9. Detect shell in Visual Studio Code using the Visual Studio Code API. (#6050)
  10. Make long running output not crash the extension host. Also improve perf of streaming. (#6222)
  11. Opting out of telemetry correctly opts out of A/B testing. (#6270)
  12. Add error messages if data_rate_limit is exceeded on remote (or local) connection. (#6273)
  13. Add pytest-xdist's -n option to the list of supported pytest options. (#6293)
  14. Simplify the import regex to minimize performance overhead. (#6319)
  15. Clarify regexes used for decreasing indentation. (#6333)
  16. Add new plot viewer button images and fix button colors in different themes. (#6336)
  17. Update telemetry property name for Jedi memory usage. (#6339)
  18. Fix png scaling on non standard DPI. Add 'enablePlotViewer' setting to allow user to render PNGs instead of SVG files. (#6344)
  19. Do best effort to download the experiments and use it in the very first session only. (#6348)
  20. Linux can pick the wrong kernel to use when starting the interactive window. (#6375)
  21. Add missing keys for data science interactive window button tooltips in package.nls.json. (#6386)
  22. Fix overwriting of cwd in the path list when discovering tests. (#6417)
  23. Fixes a bug in pytest test discovery. (thanks Rainer Dreyer) (#6463)
  24. Fix debugging to work on restarting the jupyter kernel. (#6502)
  25. Escape key in the interactive window moves to the delete button when auto complete is open. Escape should only move when no autocomplete is open. (#6507)
  26. Render plots as png, but save an svg for exporting/image viewing. Speeds up plot rendering. (#6526)
  27. Import get_ipython at the start of each imported jupyter notebook if there are line magics in the file (#6574)
  28. Fix a problem where we retrieved and rendered old codelenses for multiple imports of jupyter notebooks if cells in the resultant import file were executed without saving the file to disk. (#6582)
  29. PTVSD install for jupyter debugging should check version without actually importing into the jupyter kernel. (#6592)
  30. Fix pandas version parsing to handle strings. (#6595)
  31. Unpin the version of ptvsd in the install and add -U. (#6718)
  32. Fix stepping when more than one blank line at the end of a cell. (#6719)
  33. Render plots as png, but save an svg for exporting/image viewing. Speeds up plot rendering. (#6724)
  34. Fix random occurrences of output not concatenating correctly in the interactive window. (#6728)
  35. In order to debug without '#%%' defined in a file, support a Debug Entire File. (#6730)
  36. Add support for "Run Below" back. (#6737)
  37. Fix the 'Variables not available while debugging' message to be more descriptive. (#6740)
  38. Make breakpoints on enter always be the case unless 'stopOnFirstLineWhileDebugging' is set. (#6743)
  39. Remove Debug Cell and Run Cell from the command palette. They should both be 'Debug Current Cell' and 'Run Current Cell' (#6754)
  40. Make the dataviewer open a window much faster. Total load time is the same, but initial response is much faster. (#6729)
  41. Debugging an untitled file causes an error 'Untitled-1 cannot be opened'. (#6738)
  42. Eliminate 'History_<guid>' from the problems list when using the interactive panel. (#6748)

Code Health

  1. Log processes executed behind the scenes in the extension output panel. (#1131)
  2. Specify pyramid.scripts.pserve when creating a debug configuration for Pyramid apps instead of trying to calculate the location of the pserve command. (#2427)
  3. UI Tests using selenium & behave. (#4692)
  4. Upload coverage reports to coveralls. (#5999)
  5. Upgrade Jedi to version 0.13.3. (#6013)
  6. Add unit tests for client/activation/serviceRegistry.ts. (#6163)
  7. Remove test.ipynb from the root folder. (#6212)
  8. Fail the smoke tests CI job when the smoke tests fail. (#6253)
  9. Add a bunch of perf measurements to telemetry. (#6283)
  10. Retry failing debugger test (retry due to intermittent issues on Azure Pipelines). (#6322)
  11. Update version of isort to 4.3.21. (#6369)
  12. Functional test for debugging jupyter cells. (#6377)
  13. Consolidate telemetry. (#6451)
  14. Removed npm package vscode, and added to use vscode-test and @types/vscode (see here for more info). (#6456)
  15. Fix the variable explorer exclude test to be less strict. (#6525)
  16. Merge ArgumentsHelper unit tests into one file. (#6583)
  17. Fix jupyter remote tests to respect new notebook 6.0 output format. (#6625)
  18. Unit Tests for DataScience Error Handler. (#6670)
  19. Fix DataExplorer tests after accessibility fixes. (#6711)
  20. Bump version of PTVSD to 4.3.0. (#6771)
    • Support for Jupyter debugging
    • Support for ipython cells
    • API to enable and disable tracing via ptvsd.tracing
    • ptvsd.enable_attach accepts address=('localhost', 0) and returns server port
    • Known issue: Unable to find threadStateIndex for the current thread. curPyThread (#11587)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2019.6.1 (9 July 2019)

Fixes

  1. Fixes to A/B testing. (#6400)

2019.6.0 (25 June 2019)

Enhancements

  1. Dedent selected code before sending it to the terminal. (#2837)
  2. Allow password for remote authentication. (#3624)
  3. Add support for sub process debugging, when debugging tests. (#4525)
  4. Change title of Discover Tests to Discovering when discovering tests. (#4562)
  5. Add an extra viewer for plots in the interactive window. (#4967)
  6. Allow for self signed certificates for jupyter connections. (#4987)
  7. Add support for A/B testing and staged rollouts of new functionality. (#5042)
  8. Removed --nothreading flag from the Django debug configuration. (#5116)
  9. Test Explorer : Remove time from all nodes except the tests. (#5120)
  10. Add support for a copy back to source. (#5286)
  11. Add visual separation between the variable explorer and the rest of the Interactive Window content. (#5389)
  12. Changes placeholder label in testConfigurationManager.ts from 'Select the directory containing the unit tests' to 'Select the directory containing the tests'. (thanks James Flynn) (#5602)
  13. Updated labels in File > Preferences > Settings. It now states 'Pytest' where it stated 'Py Test'. (thanks James Flynn) (#5603)
  14. Updated label for "Enable unit testing for Pytest" to remove the word "unit". (thanks James Flynn) (#5604)
  15. Importing a notebook should show the output of the notebook in the Python Interactive window. This feature can be turned off with the 'previewImportedNotebooksInInteractivePane' setting. (#5675)
  16. Add flag to auto preview an ipynb file when opened. (#5790)
  17. Change pytest description from configuration menu. (#5832)
  18. Support faster restart of the kernel by creating two kernels (two python processes running under the covers). (#5876)
  19. Allow a 'Dont ask me again' option for restarting the kernel. (#5951)
  20. Added experiment to always display the test explorer. (#6211)

Fixes

  1. Added support for activation of conda environments in powershell. (#668)
  2. Provide pathMappings to debugger when attaching to child processes. (#3568)
  3. Add virtualenvwrapper default virtual environment location to the python.venvFolders config setting. (#4642)
  4. Advance to the next cell if cursor is in the current cell and user clicks 'Run Cell'. (#5067)
  5. Fix localhost path mappings to lowercase the drive letter on Windows. (#5362)
  6. Fix import/export paths to be escaped on windows. (#5386)
  7. Support loading larger dataframes in the dataviewer (anything more than 1000 columns will still be slow, but won't crash). (#5469)
  8. Fix magics running from a python file. (#5537)
  9. Change scrolling to not animate to workaround async updates breaking the animation. (#5560)
  10. Add support for opening hyperlinks from the interactive window. (#5630)
  11. Remove extra padding in the dataviewer. (#5653)
  12. Add 'Add empty cell to file' command. Shortcut for having to type '#%%'. (#5667)
  13. Add 'ctrl+enter' as a keyboard shortcut for run current cell (runs without advancing) (#5673)
  14. Adjust input box prompt to look more an IPython console prompt. (#5729)
  15. Jupyter-notebook exists after shutdown. (#5731)
  16. Fix horizontal scrolling in the Interactive Window. (#5734)
  17. Fix problem with using up/down arrows in autocomplete. (#5774)
  18. Fix latex and markdown scrolling. (#5775)
  19. Add support for jupyter controls that clear. (#5801)
  20. Fix up arrow on signature help closing the help. (#5813)
  21. Make the interactive window respect editor cursor and blink style. (#5814)
  22. Remove extra overlay on editor when matching parentheses. (#5815)
  23. Fix theme color missing errors inside interactive window. (#5827)
  24. Fix problem with shift+enter not working after using goto source. (#5829)
  25. Fix CI failures related to history import changes. (#5844)
  26. Disable quoting of paths sent to the debugger as arguments. (#5861)
  27. Fix shift+enter to work in newly created files with cells. (#5879)
  28. Fix nightly failures caused by new jupyter command line. (#5883)
  29. Improve accessibility of the 'Python Interactive' window. (#5884)
  30. Auto preview notebooks on import. (#5891)
  31. Fix liveloss test to not have so many dependencies. (#5909)
  32. Fixes to detection of the shell. (#5916)
  33. Fixes to activation of Conda environments. (#5929)
  34. Fix themes in the interactive window that use 3 color hex values (like Cobalt2). (#5950)
  35. Fix jupyter services node-fetch connection issue. (#5956)
  36. Allow selection and running of indented code in the python interactive window. (#5983)
  37. Account for files being opened in Visual Studio Code that do not belong to a workspace. (#6624)
  38. Accessibility pass on plot viewer (#6020)
  39. Allow for both password and self cert server to work together (#6265)
  40. Fix pdf export in release bits. (#6277)

Code Health

  1. Add code coverage reporting. (#4472)
  2. Minimize data sent as part of the ERROR telemetry event. (#4602)
  3. Fixes to decorator tests. (#5085)
  4. Add sorting test for DataViewer. (#5415)
  5. Rename "unit test" to "tests" from drop menu when clicking on "Run Tests" on the status bar. (#5605)
  6. Added telemetry to track memory usage of the Jedi Language Server process. (#5726)
  7. Fix nightly functional tests from timing out during process cleanup. (#5870)
  8. Change how telemetry is sent for the 'shift+enter' banner. (#5887)
  9. Fixes to gulp script used to bundle the extension with WebPack. (#5932)
  10. Tighten up the import-matching regex to minimize false-positives. (#5988)
  11. Merge multiple coverage reports into one. (#6000)
  12. Fix DataScience nightly tests. (#6032)
  13. Update version of TypeScript to 3.5. (#6033)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2019.5.18875 (6 June 2019)

Fixes

  1. Disable quoting of paths sent to the debugger as arguments. (#5861)
  2. Fixes to activation of Conda environments. (#5929)

2019.5.18678 (5 June 2019)

Fixes

  1. Fixes to detection of the shell. (#5916)

2019.5.18875 (6 June 2019)

Fixes

  1. Disable quoting of paths sent to the debugger as arguments. (#5861)
  2. Fixes to activation of Conda environments. (#5929)

2019.5.18678 (5 June 2019)

Fixes

  1. Fixes to detection of the shell. (#5916)

2019.5.18426 (4 June 2019)

Fixes

  1. Changes to identification of shell for the activation of environments in the terminal. (#5743)

2019.5.17517 (30 May 2019)

Fixes

  1. Revert changes related to pathMappings in launch.json for debugging #3568 (#5833)

2019.5.17059 (28 May 2019)

Enhancements

  1. Add visual separation between the variable explorer and the rest of the Interactive Window content (#5389)
  2. Show a message when no variables are defined (#5228)
  3. Variable explorer UI fixes via PM / designer (#5274)
  4. Allow column sorting in variable explorer (#5281)
  5. Provide basic intellisense in Interactive Windows, using the language server. (#5342)
  6. Add support for Jupyter autocomplete data in Interactive Window. (#5346)
  7. Swap getsizeof size value for something more sensible in the variable explorer (#5368)
  8. Pass parent debug session to child debug sessions using new DA API (#5464)

Fixes

  1. Advance to the next cell if cursor is in the current cell and user clicks 'Run Cell' (#5067)
  2. Fix import/export paths to be escaped on windows. (#5386)
  3. Fix magics running from a python file. (#5537)
  4. Change scrolling to not animate to workaround async updates breaking the animation. (#5560)
  5. Add support for opening hyperlinks from the interactive window. (#5630)
  6. Add 'Add empty cell to file' command. Shortcut for having to type '#%%' (#5667)
  7. Add 'ctrl+enter' as a keyboard shortcut for run current cell (runs without advancing) (#5673)
  8. Adjust input box prompt to look more an IPython console prompt. (#5729)
  9. Fix horizontal scrolling in the Interactive Window (#5734)
  10. Fix problem with using up/down arrows in autocomplete. (#5774)
  11. Fix latex and markdown scrolling. (#5775)
  12. Use the correct activation script for conda environments (#4402)
  13. Improve pipenv error messages (thanks David Lechner) (#4866)
  14. Quote paths returned by debugger API (#4966)
  15. Reliably end test tasks in Azure Pipelines. (#5129)
  16. Append --pre to black installation command so pipenv can properly resolve it. (thanks Erin O'Connell) (#5171)
  17. Make background cell color useable in all themes. (#5236)
  18. Filtered rows shows 'fetching' instead of No rows. (#5278)
  19. Always show pytest's output when it fails. (#5313)
  20. Value 'None' sometimes shows up in the Count column of the variable explorer (#5387)
  21. Multi-dimensional arrays don't open in the data viewer. (#5395)
  22. Fix sorting of lists with numbers and missing entries. (#5414)
  23. Fix error with bad len() values in variable explorer (#5420)
  24. Remove trailing commas from JSON files. (thanks Romain) (#5437)
  25. Handle missing index columns and non trivial data types for columns. (#5452)
  26. Fix ignoreVscodeTheme to play along with dynamic theme updates. Also support setting in the variable explorer. (#5480)
  27. Fix matplotlib updating for dark theme after restarting (#5486)
  28. Add dev flag to poetry installer. (thanks Yan Pashkovsky) (#5496)
  29. Default PYTHONPATH to an empty string if the environment variable is not defined. (#5579)
  30. Fix problems if other language kernels are installed that are using python under the covers (bash is one such example). (#5586)
  31. Allow collapsed code to affect intellisense. (#5631)
  32. Eliminate search support in the mini-editors in the Python Interactive window. (#5637)
  33. Fix perf problem with intellisense in the Interactive Window. (#5697)
  34. Using "request": "launch" item in launch.json for debugging sends pathMappings (#3568)
  35. Fix perf issues with long collections and variable explorer (#5511)
  36. Changed synchronous file system operation into async (#4895)
  37. Update ptvsd to 4.2.10.
    • No longer switch off getpass on import.
    • Fixes a crash on evaluate request.
    • Fix a issue with running no-debug.
    • Fixes issue with forwarding sys.stdin.read().
    • Remove sys.prefix form library roots.

Code Health

  1. Deprecate travis in favor of Azure Pipelines. (#4024)
  2. Smoke Tests must be run on nightly and CI on Azdo (#5090)
  3. Increase timeout and retries in Jupyter wait for idle (#5430)
  4. Update manual test plan for Variable Explorer and Data Viewer (#5476)
  5. Auto-update version number in CHANGELOG.md in the CI pipeline. (#5523)
  6. Fix security issues. (#5538)
  7. Send logging output into a text file on CI server. (#5651)
  8. Fix python 2.7 and 3.5 variable explorer nightly tests (#5433)
  9. Update isort to version 4.3.20. (Thanks Andrew Blakey) (#5642)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2019.4.1 (24 April 2019)

Fixes

  1. Remove trailing commas in JSON files. (thanks Romain) (#5437)

2019.4.0 (23 April 2019)

Enhancements

  1. Download the language server using HTTP if http.proxyStrictSSL is set to true. (#2849)
  2. Launch the Python debug configuration UI when manually adding entries into the launch.json file. (#3321)
  3. Add tracking of 'current' cell in the editor. Also add cell boundaries for non active cell. (#3542)
  4. Change default behavior of debugger to display return values. (#3754)
  5. Replace setting debugStdLib with justMyCode (#4032)
  6. Change "Unit Test" phrasing to "Test" or "Testing". (#4384)
  7. Auto expand tree view in Test Explorer to display failed tests. (#4386)
  8. Add a data grid control and web view panel. (#4675)
  9. Add support for viewing dataframes, lists, dicts, nparrays. (#4677)
  10. Auto-expand the first level of the test explorer tree view. (#4767)
  11. Use Python code for discovery of tests when using pytest. (#4795)
  12. Intergrate the variable explorer into the header better and refactor HTML and CSS. (#4800)
  13. Integrate the variable viewer with the IJupyterVariable interface. (#4802)
  14. Include number of skipped tests in Test Data item tooltip. (#4849)
  15. Add prompt to select virtual environment for the worskpace. (#4908)
  16. Prompt to turn on Pylint if a pylintrc or .pylintrc file is found. (#4941)
  17. Variable explorer handles new cell submissions. (#4948)
  18. Pass one at getting our data grid styled correctly to match vscode styles and the spec. (#4998)
  19. Ensure Language Server can start without ICU. (#5043)
  20. Support running under docker. (#5047)
  21. Add exclude list to variable viewer. (#5104)
  22. Display a tip to the user informing them of the ability to change the interpreter from the statusbar. (#5180)
  23. Hook up the variable explorer to the data frame explorer. (#5187)
  24. Remove the debug config snippets (rely on handler instead). (#5189)
  25. Add setting to just enable/disable the data science codelens. (#5211)
  26. Change settings from python.unitTest.* to python.testing.*. (#5219)
  27. Add telemetry for variable explorer and turn on by default. (#5337)
  28. Show a message when no variables are defined (#5228)
  29. Variable explorer UI fixes via PM / designer (#5274)
  30. Allow column sorting in variable explorer (#5281)
  31. Swap getsizeof size value for something more sensible in the variable explorer (#5368)

Fixes

  1. Ignore the extension's Python files when debugging. (#3201)
  2. Dispose processes started within the extension during. (#3331)
  3. Fix problem with errors not showing up for import when no jupyter installed. (#3958)
  4. Fix tabs in comments to come out in cells. (#4029)
  5. Use configuration API and provide Resource when retrieving settings. (#4486)
  6. When debugging, the extension correctly uses custom .env files. (#4537)
  7. Accomadate trailing commands in the JSON contents of launch.json file. (#4543)
  8. Kill liveshare sessions if a guest connects without the python extension installed. (#4947)
  9. Shutting down a session should not cause the host to stop working. (#4949)
  10. Fix cell spacing issues. (#4979)
  11. Fix hangs in functional tests. (#4992)
  12. Fix triple quoted comments in cells to not affect anything. (#5012)
  13. Restarting the kernel will eventually force Jupyter server to shutdown if it doesn't come back. (#5025)
  14. Adjust styling for data viewer. (#5058)
  15. Fix MimeTypes test after we stopped stripping comments. (#5086)
  16. No prompt displayed to install pylint. (#5087)
  17. Fix scrolling in the interactive window. (#5131)
  18. Default colors when theme.json cannot be found. Fix Python interactive window to update when theme changes. (#5136)
  19. Replace 'Run Above' and 'Run Below' in the palette with 'Run Cells Above Cursor' and 'Run Current Cell and Below'. (#5143)
  20. Variables not cleared after a kernel restart. (#5244)
  21. Fix variable explorer to work in Live Share. (#5277)
  22. Update matplotlib based on theme changes. (#5294)
  23. Restrict files from being processed by Language Server only when in a mult-root workspace. (#5333)
  24. Fix dataviewer header column alignment. (#5351)
  25. Make background cell color useable in all themes. (#5236)
  26. Filtered rows shows 'fetching' instead of No rows. (#5278)
  27. Multi-dimensional arrays don't open in the data viewer. (#5395)
  28. Fix sorting of lists with numbers and missing entries. (#5414)
  29. Fix error with bad len() values in variable explorer (#5420)
  30. Update ptvsd to 4.2.8.
    • Path mapping bug fixes.
    • Fix for hang when using debug console.
    • Fix for set next statement.
    • Fix for multi-threading.

Code Health

  1. Enable typescript's strict mode. (#611)
  2. Update to use Node version 10.5.0. (#1138)
  3. Update launch.json to use internalConsole instead of none. (#4321)
  4. Change flaky tests (relying on File System Watchers) into unit tests. (#4468)
  5. Corrected Smoke test failure for 'Run Python File In Terminal'. (#4515)
  6. Drop (official) support for Python 3.4. (#4528)
  7. Support debouncing decorated async methods. (#4641)
  8. Add functional tests for pytest adapter script. (#4739)
  9. Remove the use of timers in unittest code. Simulate the passing of time instead. (#4776)
  10. Add functional testing for variable explorer. (#4803)
  11. Add tests for variable explorer Python files. (#4804)
  12. Add real environment variables provider on to get functional tests to pass on macOS. (#4820)
  13. Handle done on all jupyter requests to make sure an unhandle exception isn't passed on shutdown. (#4827)
  14. Clean up language server initialization and configuration. (#4832)
  15. Hash imports of top-level packages to see what users need supported. (#4852)
  16. Have tpn clearly state why a project's license entry in the configuration file is considered stale. (#4865)
  17. Kill the test process on CI, 10s after the tests have completed. (#4905)
  18. Remove hardcoded Azdo Pipeline of 30m, leaving it to the default of 60m. (#4914)
  19. Use the Python interpreter prescribed by CI instead of trying to locate the best possible one. (#4920)
  20. Skip linter tests correctly. (#4923)
  21. Remove redundant compilation step on CI. (#4926)
  22. Dispose handles to timers created from using setTimeout. (#4930)
  23. Ensure sockets get disposed along with other resources. (#4935)
  24. Fix intermittent test failure with listeners. (#4936)
  25. Update mocha to the latest version. (#4937)
  26. Remove redundant mult-root tests. (#4943)
  27. Fix intermittent test failure with kernel shutdown. (#4951)
  28. Update version of isort to 4.3.17 (#5059)
  29. Fix typo and use constants instead of hardcoded command names. (thanks Allan Wang) (#5204)
  30. Add datascience specific settings to telemetry gathered. Make sure to scrape any strings of PII. (#5212)
  31. Add telemetry around people hitting 'no' on the enable interactive shift enter. Reword the message to be more descriptive. (#5213)
  32. Fix failing variable explorer test. (#5348)
  33. Reliably end test tasks in Azure Pipelines. (#5129)
  34. Deprecate travis in favor of Azure Pipelines. (#4024)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2019.3.3 (8 April 2019)

Fixes

  1. Update ptvsd to 4.2.7.
    • Fix issues related to debugging Django templates.
  2. Update the Python language server to 0.2.47.

Code Health

  1. Capture telemetry to track switching to and from the Language Server. (#5162)

2019.3.2 (2 April 2019)

Fixes

  1. Fix regression preventing the expansion of variables in the watch window and the debug console. (#5035)
  2. Display survey banner (again) for Language Server when using current Language Server. (#5064)
  3. Update ptvsd to 4.2.6. (#5083)
    • Fix issue with expanding variables in watch window and hover.
    • Fix issue with launching a sub-module.

Code Health

  1. Capture telemetry to track which installer was used when installing packages via the extension. (#5063)

2019.3.1 (28 March 2019)

Enhancements

  1. Use the download same logic for stable channel of the Language Server as that in beta. (#4960)

Code Health

  1. Capture telemetry when tests are disabled.. (#4801)

2019.3.6139 (26 March 2019)

Enhancements

  1. Add support for poetry to install packages. (#1871)
  2. Disabled opening the output pane when sorting imports via isort fails. (thanks chrised) (#2522)
  3. Remove run all cells codelens and replace with run above and run below commands Add run to and from line commands in context menu (#4259)
  4. Support multi-root workspaces in test explorer. (#4268)
  5. Added support for fetching variable values from the jupyter server (#4291)
  6. Added commands translation for polish locale. (thanks pypros) (#4435)
  7. Show sub-tests in a subtree in the test explorer. (#4503)
  8. Add support for palette commands for Live Share scenarios. (#4520)
  9. Retain state of tests when auto discovering tests. (#4576)
  10. Update icons and tooltip in test explorer indicating status of test files/suites (#4583)
  11. Add 'ignoreVscodeTheme' setting to allow a user to skip using the theme for VS Code in the Python Interactive Window. (#4640)
  12. Add telemetry around imports. (#4718)
  13. Update status of test suite when all tests pass (#4727)
  14. Add button to ignore the message warning about the use of the macOS system install of Python. (thanks Alina Lobastova) (#4448)
  15. Add "Run In Interactive" command to run the contents of a file not cell by cell. Group data science context commands in one group. Add run file command to explorer context menu. (#4855)

Fixes

  1. Add 'errorBackgroundColor' (defaults to white/#FFFFFF) for errors in the Interactive Window. Computes foreground based on background. (#3175)
  2. If selection is being sent to the Interactive Windows still allow for context menu commands to run selection in terminal or run file in terminal (#4207)
  3. Support multiline comments for markdown cells (#4215)
  4. Conda activation fails when there is a space in the env name (#4243)
  5. Fixes to ensure tests work in multi-root workspaces. (#4268)
  6. Allow Interactive Window to run commands as both -m jupyter command and as -m command (#4306)
  7. Fix shift enter to send selection when cells are defined. (#4413)
  8. Test explorer icon should be hidden when tests are disabled (#4494)
  9. Fix double running of cells with the context menu (#4532)
  10. Show an "unknown" icon when test status is unknown. (#4578)
  11. Add sys info when switching interpreters (#4588)
  12. Display test explorer when discovery has been run. (#4590)
  13. Resolve pythonPath before comparing it to shebang (#4601)
  14. When sending selection to the Interactive Window nothing selected should send the entire line (#4604)
  15. Provide telemetry for when we show the shift+enter banner and if the user clicks yes (#4636)
  16. Better error message when connecting to remote server (#4666)
  17. Fix problem with restart never finishing (#4691)
  18. Fixes to ensure we invoke the right command when running a parameterized test function. (#4713)
  19. Handle view state changes for the Python Interactive window so that it gains focus when appropriate. (CTRL+1/2/3 etc should give focus to the interactive window) (#4733)
  20. Don't have "run all above" on first cell and don't start history for empty code runs (#4743)
  21. Perform case insensitive comparison of Python Environment paths (#4797)
  22. Ensure Jedi uses the currently selected interpreter. (thanks Selim Belhaouane) (#4687)
  23. Multiline comments with text on the first line break Python Interactive window execution. (#4791)
  24. Fix status bar when using Live Share or just starting the Python Interactive window. (#4853)
  25. Change the names of our "Run All Cells Above" and "Run Cell and All Below" commands to be more concise (#4876)
  26. Ensure the Python output panel does not steal focus when there errors in the Language Server. (#4868)
  27. Update ptvsd to 4.2.5. (#4932)
    • Fix issues with django and jinja2 exceptions.
    • Detaching sometimes throws ValueError.
    • StackTrace request respecting just-my-code.
    • Don't give error redirecting output with pythonw.
    • Fix for stop on entry issue.
  28. Update the Python language server to 0.2.31.

Code Health

  1. Add a Python script to run PyTest correctly for discovery. (#4033)
  2. Ensure post npm install scripts do not fail when run more than once. (#4109)
  3. Improve Azure DevOps pipeline for PR validation. Added speed improvements, documented the process better, and simplified what happens in PR validation. (#4123)
  4. Move to new Azure DevOps instance and bring the Nightly CI build closer to running cleanly by skipping tests and improving reporting transparency. (#4336)
  5. Add more logging to diagnose issues getting the Python Interactive window to show up. Add checks for Conda activation never finishing. (#4424)
  6. Update nyc and remove gulp-watch and gulp-debounced-watch. (#4490)
  7. Force WS to at least 3.3.1 to alleviate security concerns. (#4497)
  8. Add tests for Live Share support. (#4521)
  9. Fix running Live Share support in a release build. (#4529)
  10. Delete the pvsc-dev-ext.py file as it was not being properly maintained. (#4530)
  11. Increase timeouts for loading of extension when preparing to run tests. (#4540)
  12. Exclude files travis*.log, pythonFiles/tests/**, types/** from the extension. (#4554)
  13. Exclude *.vsix from source control. (#4556)
  14. Add more logging for ECONNREFUSED errors and Jupyter server crashes (#4573)
  15. Add travis task to verify bundle can be created. (#4711)
  16. Add manual test plan for data science (#4716)
  17. Fix Live Share nightly functional tests (#4757)
  18. Make cancel test and server cache test more robust (#4818)
  19. Generalize code used to parse Test results service (#4796)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

2019.2.2 (6 March 2019)

Fixes

  1. If selection is being sent to the Interactive Windows still allow for context menu commands to run selection in terminal or run file in terminal (#4207)
  2. When sending selection to the Interactive Window nothing selected should send the entire line (#4604)
  3. Provide telemetry for when we show the shift-enter banner and if the user clicks yes (#4636)

2019.2.5433 (27 Feb 2019)

Fixes

  1. Exclude files travis*.log, pythonFiles/tests/**, types/** from the extension. (#4554) (#4566)

2019.2.0 (26 Feb 2019)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

Enhancements

  1. Support launch configs for debugging tests. (#332)
  2. Add way to send code to the Python Interactive window without having to put #%% into a file. (#3171)
  3. Support simple variable substitution in .env files. (#3275)
  4. Support live share in Python interactive window (experimental). (#3581)
  5. Strip comments before sending so shell command and multiline jupyter magics work correctly. (#4064)
  6. Add a build number to our released builds. (#4183)
  7. Prompt the user to send shift-enter to the interactive window. (#4184)
  8. Added Dutch translation. (thanks Robin Martijn with the feedback of Michael van Tellingen) (#4186)
  9. Add the Test Activity view. (#4272)
  10. Added action buttons to top of Test Explorer. (#4275)
  11. Navigation to test output from Test Explorer. (#4279)
  12. Add the command 'Configure Unit Tests'. (#4286)
  13. Do not update unit test settings if configuration is cancelled. (#4287)
  14. Keep testing configuration alive when losing UI focus. (#4288)
  15. Display test activity only when tests have been discovered. (#4317)
  16. Added a button to configure unit tests when prompting users that tests weren't discovered. (#4318)
  17. Use VSC API to open browser window (#4322)
  18. Don't shut down the notebook server on window close. (#4348)
  19. Added command Show Output to display the Python output panel. (#4362)
  20. Fix order of icons in test explorer and items. (#4364)
  21. Run failed tests icon should only appear if and when a test has failed. (#4371)
  22. Update ptvsd to 4.2.4. (#4457)
    • Validate breakpoint targets.
    • Properly exclude certain files from showing up in the debugger.

Fixes

  1. Add support for multi root workspaces with the new language server server. (#3008)
  2. Move linting tests to unit-testing for better reliability. (#3914)
  3. Allow "Run Cell" code lenses on non-local files. (#3995)
  4. Functional test for the input portion of the python interactive window. (#4057)
  5. Fix hitting the up arrow on the input prompt for the Python Interactive window to behave like the terminal window when only 1 item in the history. (#4145)
  6. Fix problem with webview panel not being dockable anywhere but view column 2. (#4237)
  7. More fixes for history in the Python Interactive window input prompt. (#4255)
  8. Fix precedence in parsePyTestModuleCollectionResult. (thanks Tammo Ippen) (#4360)
  9. Revert pipenv activation to not use pipenv shell.` (#4394)
  10. Fix shift enter to send selection when cells are defined. (#4413)
  11. Icons should display only in test explorer. (#4418)
  12. Update ptvsd to 4.2.4. (#4457)
    • BreakOnSystemExitZero now respected.
    • Fix a bug causing breakpoints not to be hit when attached to a remote target.
  13. Fix double running of cells with the context menu (#4532)
  14. Update the Python language server to 0.1.80.

Code Health

  1. Fix all typescript errors when compiled in strict mode. (#611)
  2. Get functional tests running nightly again. (#3973)
  3. Turn on strict type checking (typescript compiling) for Datascience code. (#4058)
  4. Turn on strict typescript compile for the data science react code. (#4091)
  5. Fix issue causing debugger tests to timeout on CI servers. (#4148)
  6. Don't register language server onTelemetry when downloadLanguageServer is false. (#4199)
  7. Fixes to smoke tests on CI. (#4201)

2019.1.0 (29 Jan 2019)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

Enhancements

  1. Add the capability to have custom regex's for cell/markdown matching (#4065)
  2. Perform all validation checks in the background (#3019)
  3. Watermark for Python Interactive input prompt (#4111)
  4. Create diagnostics for failed/skipped tests that were run with pytest. (thanks Chris NeJame) (#120)
  5. Add the python.pipenvPath config setting. (#978)
  6. Add localRoot and remoteRoot defaults for Remote Debugging configuration in launch.json. (#1385)
  7. Activate pipenv environments in the shell using the command pipenv shell. (#2855)
  8. Use Pylint message names instead of codes (thanks to Roman Kornev) (#2906)
  9. Add ability to enter Python code directly into the Python Interactive window (#3101)
  10. Allow interactive window inputs to either be collapsed by default or totally hidden (#3266)
  11. Notify the user when language server extraction fails (#3268)
  12. Indent on enter after line continuations. (#3284)
  13. Improvements to automatic selection of the Python interpreter. (#3369)
  14. Add support for column numbers for problems returned by mypy. (thanks Eric Traut) (#3597)
  15. Display actionable message when language server is not supported (#3634)
  16. Make sure we are looking for conda in all the right places (#3641)
  17. Improvements to message displayed when linter is not installed (#3659)
  18. Improvements to message displayed when Python path is invalid (in launch.json) (#3661)
  19. Add the Jupyter Server URI to the Interactive Window info cell (#3668)
  20. Handle errors happening during extension activation. (#3740)
  21. Validate Mac Interpreters in the background. (#3908)
  22. When cell inputs to Python Interactive are hidden, don't show cells without any output (#3981)

Fixes

  1. Have the new export commands use our directory change code (#4140)
  2. Theme should not be exported without output when doing an export. (#4141)
  3. Deleting all cells should not remove the input prompt (#4152)
  4. Fix ctrl+c to work in code that has already been entered (#4168)
  5. Auto-select virtual environment in multi-root workspaces (#3501)
  6. Validate interpreter in multi-root workspaces (#3502)
  7. Allow clicking anywhere in an input cell to give focus to the input box for the Python Interactive window (#4076)
  8. Cursor in Interactive Windows now appears on whitespace (#4081)
  9. Fix problem with double scrollbars when typing in the input window. Make code wrap instead. (#4084)
  10. Remove execution count from the prompt cell. (#4086)
  11. Make sure showing a plain Python Interactive window lists out the sys info (#4088)
  12. Fix Python interactive window up/down arrows in the input prompt to behave like a terminal. (#4092)
  13. Handle stdout changes with updates to pytest 4.1.x series (without breaking 4.0.x series parsing). (#4099)
  14. Fix bug affecting multiple linters used in a workspace. (thanks Ilia Novoselov) (#2571)
  15. Activate any selected Python Environment when running unit tests. (#3330)
  16. Ensure extension does not start multiple language servers. (#3346)
  17. Add support for running an entire file in the Python Interactive window (#3362)
  18. When in multi-root workspace, store selected python path in the settings.json file of the workspace folder. (#3419)
  19. Fix console wrapping in output so that console based status bars and spinners work. (#3529)
  20. Support other virtual environments besides conda (#3537)
  21. Fixed tests related to the onEnter format provider. (#3674)
  22. Lowering threshold for Language Server support on a platform. (#3693)
  23. Survive missing kernelspecs as a default will be created. (#3699)
  24. Activate the extension when loading ipynb files (#3734)
  25. Don't restart the Jupyter server on any settings change. Also don't throw interpreter changed events on unrelated settings changes. (#3749)
  26. Support whitespace (tabs and spaces) in output (#3757)
  27. Ensure file names are not captured when sending telemetry for unit tests. (#3767)
  28. Address problem with Python Interactive icons not working in insider's build. VS Code is more restrictive on what files can load in a webview. (#3775)
  29. Fix output so that it wraps '<' entries in <xmp> to allow html like tags to be output. (#3824)
  30. Keep the Jupyter remote server URI input box open so you can copy and paste into it easier (#3856)
  31. Changes to how source maps are enabled and disabled in the extension. (#3905)
  32. Clean up command names for data science (#3925)
  33. Add more data when we get an unknown mime type (#3945)
  34. Match dots in ignorePatterns globs; fixes .venv not being ignored (thanks to Russell Davis) (#3947)
  35. Remove duplicates from interpreters listed in the interpreter selection list. (#3953)
  36. Add telemetry for local versus remote connect (#3985)
  37. Add new maxOutputSize setting for text output in the Python Interactive window. -1 means infinite, otherwise the number of pixels. (#4010)
  38. fix pythonPath typo (thanks David Lechner) (#4047)
  39. Fix a type in generated header comment when importing a notebook: DataSciece --> DataScience. (thanks sunt05) (#4048)
  40. Allow clicking anywhere in an input cell to give focus to the input box for the Python Interactive window (#4076)
  41. Fix problem with double scrollbars when typing in the input window. Make code wrap instead. (#4084)
  42. Remove execution count from the prompt cell. (#4086)
  43. Make sure showing a plain Python Interactive window lists out the sys info (#4088)

Code Health

  1. Fix build issue with code.tsx (#4156)
  2. Expose an event to notify changes to settings instead of casting settings to concrete class. (#642)
  3. Created system test to ensure terminal gets activated with anaconda environment (#1521)
  4. Added system tests to ensure terminal gets activated with virtualenv environment (#1522)
  5. Added system test to ensure terminal gets activated with pipenv (#1523)
  6. Fix flaky tests related to auto selection of virtual environments. (#2339)
  7. Use enums for event names instead of constants. (#2904)
  8. Add tests for clicking buttons in history pane (#3084)
  9. Add tests for clear and delete buttons in the history pane (#3087)
  10. Add tests for clicking buttons on individual cells (#3092)
  11. Handle a 404 when trying to download the language server (#3267)
  12. Ensure new warnings are not ignored when bundling the extension with WebPack. (#3468)
  13. Update our CI/nightly full build to a YAML definition build in Azure DevOps. (#3555)
  14. Add mock of Jupyter API to allow functional tests to run more quickly and more consistently. (#3556)
  15. Use Jedi if Language Server fails to activate (#3633)
  16. Fix the timeout for DataScience functional tests (#3682)
  17. Fixed language server smoke tests. (#3684)
  18. Add a functional test for interactive window remote connect scenario (#3714)
  19. Detect usage of xonsh shells (this does not add support for xonsh itself) (#3746)
  20. Remove src/server folder, as this is no longer required. (#3781)
  21. Bugfix to pvsc-dev-ext.py where arguments to git would not be passed on POSIX-based environments. Extended pvsc-dev-ext.py setup command with 2 optional flags-- --repo and --branch to override the default git repository URL and the branch used to clone and install the extension. (thanks Anthony Shaw) (#3837)
  22. Improvements to execution times of CI on Travis. (#3899)
  23. Add telemetry to check if global interpreter is used in workspace. (#3901)
  24. Make sure to search for the best Python when launching the non default interpreter. (#3916)
  25. Add tests for expand / collapse and hiding of cell inputs mid run (#3982)
  26. Move splitParent from string.ts into tests folder. (#3988)
  27. Ensure debounce decorator cannot be applied to async functions. (#4055)

2018.12.1 (14 Dec 2018)

Fixes

  1. Lowering threshold for Language Server support on a platform. (#3693)
  2. Fix bug affecting multiple linters used in a workspace. (thanks Ilia Novoselov) (#3700)

2018.12.0 (13 Dec 2018)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

Enhancements

  1. Load the configured language server in the background during extension activation. (#3020)
  2. Display progress indicator when activating the language server and validating user setup. (#3082)
  3. Allow for connection to a remote Jupyter server. (#3316)
  4. Allow users to request the 'Install missing Linter' prompt to not show again for pylint. (#3349)
  5. Add the Jupyter server URI to the interactive window info cell. (#3668)

Fixes

  1. Updated logic used to determine whether the Microsoft Python Language Server is supported. (#2729)
  2. Add export from the Python interactive window as a notebook file. (#3109)
  3. Fix issue with the unittest runner where test suite/module initialization methods were not for a single test method. (thanks Alex Yu) (#3295)
  4. Activate conda prior to running jupyter for the Python interactive window. (#3341)
  5. Respect value defined for pylintEnabled in user settings.json. (#3388)
  6. Expand variables in pythonPath before validating it. (#3392)
  7. Clear cached display name of Python if interpreter changes. (#3406)
  8. Run in the workspace directory by default for the interactive window. (#3407)
  9. Create a default config when starting a local Jupyter server to resolve potential conflicts with user's custom configuration. (#3475)
  10. Add support for running Python interactive commands from the command palette. (#3476)
  11. Handle interrupts crashing the kernel. (#3511)
  12. Revert ctags argument from --extras to --extra. (#3517)
  13. Fix problems with jupyter startup related to custom configurations. (#3533)
  14. Fix crash when kernelspec is missing path or language. (#3561)
  15. Update the Microsoft Python Language Server to 0.1.72/2018.12.1 (#3657):
    • Properly resolve namespace packages and relative imports.
    • Go to Definition now supports namespace packages.
    • Fixed null reference exceptions.
    • Fixed erroneously reporting None, True, and False as undefined.

Code Health

  1. Pin python dependencies bundled with the extension in a requirements.txt file. (#2965)
  2. Remove scripts that bundled the extension using the old way, without webpack. (#3479)
  3. Fix environment variable token in Azure DevOps YAML. (#3630)
  4. Add missing imports and enable functional tests. (#3649)
  5. Enable code coverage for unit tests and functional tests. (#3650)
  6. Add logging for improved diagnostics. (#3460)

2018.11.0 (29 Nov 2018)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

Enhancements

  1. Update Jedi to 0.13.1 and parso 0.3.1. (#2667)
  2. Make diagnostic message actionable when opening a workspace with no currently selected Python interpreter. (#2983)
  3. Expose an API that can be used by other extensions to interact with the Python Extension. (#3121)
  4. Updated the language server to 0.1.65:
    • Improved formatOnType so it handles mismatched braces better (#3482)

Fixes

  1. Have ctags use the --extras option instead of --extra. (thanks to Brandy Sandrowicz) (#793)
  2. Always use bundled version of ptvsd, unless specified. To use a custom version of ptvsd in the debugger, add customDebugger into your launch.json configuration as follows:
        "type": "python",
        "request": "launch",
        "customDebugger": true
    (#3283)
  3. Fix problems with virtual environments not matching the loaded python when running cells. (#3294)
  4. Add button for interrupting the jupyter kernel (#3314)
  5. Auto select Python Interpreter prior to validation of interpreters and changes to messages displayed. (#3326)
  6. Fix Jupyter server connection issues involving IP addresses, base_url, and missing tokens (#3332)
  7. Make nbconvert in a installation not prevent notebooks from starting. (#3343)
  8. Re-run Jupyter notebook setup when the kernel is restarted. This correctly picks up dark color themes for matplotlib. (#3418)
  9. Update the language server to 0.1.65:
    • Fixed null reference exception when executing "Find symbol in workspace"
    • Fixed null argument exception that could happen when a function used tuples
    • Fixed issue when variables in nested list comprehensions were marked as undefined
    • Fixed exception that could be thrown with certain generic syntax (#3482)

Code Health

  1. Added basic integration tests for the new Language Server. (#2041)
  2. Add smoke tests for the extension. (#3021)
  3. Improvements to the webpack configuration file used to build the Data Science UI components. Added pre-build validations to ensure all npm modules used by Data Science UI components are registered. (#3122)
  4. Removed IsTestExecution guard from around data science banner calls (#3246)
  5. Unit tests for CodeLensProvider and CodeWatcher (#3264)
  6. Use EXTENSION_ROOT_DIR instead of __dirname in preparation for bundling of extension. (#3317)
  7. Add YAML file specification for CI builds (#3350)
  8. Stop running CI tests against the master branch of ptvsd. (#3414)
  9. Be more aggressive in searching for a Python environment that can run Jupyter (make sure to cleanup any kernelspecs that are created during this process). (#3433)

2018.10.1 (09 Nov 2018)

Fixes

  1. When attempting to 'Run Cell', get error - Cannot read property 'length' of null (#3286)

2018.10.0 (08 Nov 2018)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

Enhancements

  1. Add support for code completion in the debug console window. (#1076)
  2. Add a new simple snippet for if __name__ == '__main__': block. The snippet can be accessed by typing __main__ (thanks R S Nikhil Krishna) (#2242)
  3. Add Python Interactive mode for data science. (#2302)
  4. Added a debugger setting to show return values of functions while stepping. (#2463)
  5. Enable on-type formatting from language server (#2690)
  6. Add bandit to supported linters. (thanks Steven Demurjian Jr.) (#2775)
  7. Ensure python.condaPath supports paths relative to Home. E.g. "python.condaPath":"~/anaconda3/bin/conda". (#2781)
  8. Updated the language server to 0.1.57/2018.11.0 (from 2018.10.0) and the debugger to 4.2.0 (from 4.1.3). Highlights include:
  9. Add localization of strings. Localized versions are specified in the package.nls.<locale>.json files. (#463)
  10. Clear cached list of interpreters when an interpeter is created in the workspace folder (this allows for virtual environments created in one's workspace folder to be detectable immediately). (#656)
  11. Pylint is no longer enabled by default when using the language server. Users that have not configured pylint but who have installed it in their workspace will be asked if they'd like to enable it. (#974)

Fixes

  1. Support "conda activate" after 4.4.0. (#1882)
  2. Fix installation of codna packages when conda environment contains spaces. (#2015)
  3. Ensure python.formatting.blackPath supports paths relative to Home. E.g. "python.formatting.blackPath":"~/venv/bin/black". (#2274)
  4. Correct errors with timing, resetting, and exceptions, related to unittest during discovery and execution of tests. Re-enable unittest.test suite. (#2692)
  5. Fix colon-triggered block formatting. (#2714)
  6. Ensure relative paths to python interpreters in python.pythonPath of settings.json are prefixed with ./ or .\\ (depending on the OS). (#2744)
  7. Give preference to PTSVD in current path. (#2818)
  8. Fixed a typo in the Python interpreter selection balloon for macOS. (thanks Joe Graham) (#2868)
  9. Updated the language server to 0.1.57/2018.11.0 (from 2018.10.0) and the debugger to 4.2.0 (from 4.1.3). Highlights include:
    • Language server
      • Completions on generic containers work (e.g. x: List[T] now have completions for x, not just x[]).
      • Fixed issues relating to Go to Definition for from ... import statements.
      • None is no longer flagged as undefined.
      • BadSourceException should no longer be raised.
      • Fixed a null reference exception when handling certain function overloads.
    • Debugger
      • Properly deal with handled or unhandled exception in top level frames.
      • Any folder ending with site-packages is considered a library.
      • Treat any code not in site-packages as user code.
      • Handle case where no completions are provided by the debugger.

Code Health

  1. Remove test-specific code from configSettings.ts class. (#2678)
  2. Add a unit test for the MyPy output regex. (#2696)
  3. Update all npm dependencies to use the caret operator. (#2746)
  4. Move contents of the folder src/utils into src/client/common/utils. (#2748)
  5. Moved languageServer-related files to a languageServer folder. (#2756)
  6. Skip known failing tests for specific OS and Python version combinations to get CI running cleanly. (#2795)
  7. Move the linting error code out of the linting message and let VS Code manage it in the Problems panel (Thanks Nafly Mohammed). (#2815)
  8. Remove code related to the old debugger. (#2828)
  9. Upgrade Gulp to 4.0.0. (#2909)
  10. Remove pre-commit hooks. (#2963)
  11. Only perform Black-related formatting tests when the current Python-version supports it. (#2999)
  12. Move language server downloads to the CDN. (#3000)
  13. Pin extension to a minimum version of the language server. (#3125)

2018.9.2 (29 Oct 2018)

Fixes

  1. Update version of vscode-extension-telemetry to resolve issue with regards to spawning of numerous powershell processes. (#2996)

Code Health

  1. Forward telemetry from the language server. (#2940)

2018.9.1 (18 Oct 2018)

Fixes

  1. Disable activation of conda environments in PowerShell. (#2732)
  2. Add logging along with some some improvements to the load times of the extension. (#2827)
  3. Stop normalizationForInterpreter.py script from returning CRCRLF line-endings. (#2857)

Code Health

  1. Add ability to publish extension builds from release branches into the blob store. (#2874)

2018.9.0 (9 Oct 2018)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

Enhancements

  1. Adds support for code completion in the debug console window. (#1076)
  2. Auto activate Python Environment in terminals (disable with "python.terminal.activateEnvironment": false). (#1387)
  3. Add support for activation of pyenv environments in the Terminal. (#1526)
  4. Display a message with options when user selects the default macOS Python interpreter. (#1689)
  5. Add debug configuration snippet for modules for the debugger. (#2175)
  6. Search for python interpreters in all paths found in the PATH/Path environment variable. (#2398)
  7. Add telemetry to download, extract, and analyze, phases of the Python Language Server. (#2461)
  8. The pvsc-dev-ext.py script now captures stderr for more informative exceptions when execution fails. (#2483)
  9. Display notification when attempting to debug without selecting a python interpreter. (#2494)
  10. Add support for out of band updates to the language server. (#2580)
  11. Ensure status bar with interpreter information takes priority over other items. (#2617)
  12. Add Python Language Server version to the survey banner URL presented to some users. (#2630)
  13. Language server now provides rename functionality. (#2650)
  14. Search for default known paths for conda environments on windows. (#2794
  15. Add bandit to supported linters. (thanks Steven Demurjian) (#2775)

Fixes

  1. Improvements to the display format of interpreter information in the list of interpreters. (#1352)
  2. Deprecate the use of the setting python.autoComplete.preloadModules. Recommendation is to utilize the new language server (change the setting "python.jediEnabled": false). (#1704)
  3. Add a new python.condaPath setting to use if conda is not found on PATH. (#1944)
  4. Ensure code is executed when the last line of selected code is indented. (#2167)
  5. Stop duplicate initializations of the Python Language Server's progress reporter. (#2297)
  6. Fix the regex expression to match MyPy linter messages that expects the file name to have a .py extension, that isn't always the case, to catch any filename. E.g., .pyi files that describes interfaces wouldn't get the linter messages to Problems tab. (#2380)
  7. Do not use variable substitution when updating python.pythonPath. This matters because VS Code does not do variable substitution in settings values. (#2459)
  8. Use a python script to launch the debugger, instead of using -m which requires changes to the PYTHONPATH variable. (#2509)
  9. Provide paths from PYTHONPATH environment variable to the language server, as additional search locations of Python modules. (#2518)
  10. Fix issue preventing debugger user survey banner from opening. (#2557)
  11. Use folder name of the Python interpreter as the name of the virtual environment. (#2562)
  12. Give preference to bitness information retrieved from the Python interpreter over what's been retrieved from Windows Registry. (#2563)
  13. Use the environment folder name for environments without environment names in the Conda Environments list file. (#2577)
  14. Update environment variable naming convention for SPARK_HOME, when stored in settings.json. (#2628)
  15. Fix debug adapter Attach test. (#2655)
  16. Fix colon-triggered block formatting. (#2714)
  17. Use full path to activate command in conda environments on windows when python.condaPath is set. (#2753)

Code Health

  1. Fix broken CI on Azure DevOps. (#2549)
  2. Upgraded our version of request to 2.87.0. (#2621)
  3. Include the version of language server in telemetry. (#2702)
  4. Update vscode-extension-telemetry to 0.0.22. (#2745)

2018.8.0 (04 September 2018)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

Enhancements

  1. Improved language server startup time by 40%. (#1865)
  2. Add pip dependency support to the conda environment.yml YAML schema support (thanks Mark Edwards). (#2119)
  3. Added a German translation. (thanks to bschley and by means of berndverst and croth1 for the reviews) (#2203)
  4. The new setting python.analysis.diagnosticPublishDelay allows you to control when language server publishes diagnostics. Default is 1 second after the user activity, such a typing, ceases. If diagnostic is clear (i.e. errors got fixed), the publishing is immediate. (#2270)
  5. Language server now supports hierarchical document outline per language server protocol 4.4+ and VS Code 1.26+. (#2384)
  6. Make use of the http.proxy field in settings.json when downloading the Python Language Server. (#2385)

Fixes

  1. Fix debugger issue that prevented users from copying the value of a variable from the Variables debugger window. (#1398)
  2. Enable code lenses for tests when using the new language server. (#1948)
  3. Fix null reference exception in the language server causing server initialization to fail. The exception happened when search paths contained a folder that did not exist. (#2017)
  4. Language server now populates document outline with all symbols instead of just top-level ones. (#2050)
  5. Ensure test count values in the status bar represent the correct number of tests that were discovered and run. (#2143)
  6. Fixed issue in the language server when documentation for a function always produced "Documentation is still being calculated, please try again soon". (#2179)
  7. Change linter message parsing so it respects python.linting.maxNumberOfProblems. (thanks Scott Saponas) (#2198)
  8. Fixed language server issue when it could enter infinite loop reloading modules. (#2207)
  9. Ensure workspace pipenv environment is not labeled as a virtual env. (#2223)
  10. Improve reliability of document outline population with language server. (#2224)
  11. Language server now correctly handles with statement when __enter__ is declared in a base class. (#2240)
  12. Fix visualstudio_py_testLauncher to stop breaking out of test discovery too soon. (#2241)
  13. Notify the user when the language server does not support their platform. (#2245)
  14. Fix issue with survey not opening in a browser for Windows users. (#2252)
  15. Correct banner survey question text to reference the Python Language Server. (#2253)
  16. Fixed issue in the language server when typing dot under certain conditions produced null reference exception. (#2262)
  17. Fix error when switching from new language server to the old Jedi language server. (#2281)
  18. Unpin Pylint from < 2.0 (prospector was upgraded and isn't stuck on that any longer) (#2284)
  19. Add support for breaking into the first line of code in the new debugger. (#2299)
  20. Show the debugger survey banner for only a subset of users. (#2300)
  21. Ensure Flask debug configuration launches flask in a debug environment with the Flask debug mode disabled. This is necessary to ensure the custom debugger takes precedence over the interactive debugger, and live reloading is disabled. http://flask.pocoo.org/docs/1.0/api/#flask.Flask.debug (#2309)
  22. Language server now correctly merges data from typeshed and the Python library. (#2345)
  23. Fix pytest >= 3.7 test discovery. (#2347)
  24. Update the downloaded Python language server nuget package filename to Python-Language-Server-{OSType}.beta.nupkg. (#2362)
  25. Added setting to control language server log output. Default is now 'error' so there should be much less noise in the output. (#2405)
  26. Fix experimental debugger when debugging Python files with Unicode characters in the file path. (#688)
  27. Ensure stepping out of debugged code does not take user into PTVSD debugger code. (#767)
  28. Upgrade pythonExperimental to python in launch.json. (#2478)

Code Health

  1. Revert change that moved IExperimentalDebuggerBanner into a common location. (#2195)
  2. Decorate EventEmitter within a try..catch to play nice with other extensions performing the same operation. (#2196)
  3. Change the default interpreter to favor Python 3 over Python 2. (#2266)
  4. Deprecate command Python: Build Workspace Symbols when using the language server. (#2267)
  5. Pin version of pylint to 3.6.3 to allow ensure pylint gets installed on Travis with Python2.7. (#2305)
  6. Remove some of the debugger tests and fix some minor debugger issues. (#2307)
  7. Only use the current stable version of PTVSD in CI builds/releases. (#2432)

2018.7.1 (23 July 2018)

Fixes

  1. Update the language server to code as of 651468731500ec1cc644029c3666c57b82f77d76. (#2233)

2018.7.0 (18 July 2018)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

Enhancements

  1. Language server now reports code analysis progress in the status bar. (#1591)
  2. Only report Language Server download progress once. (#2000)
  3. Messages changes to reflect name of the language server: 'Microsoft Python Language Server'; folder name changed from analysis to languageServer. (#2107)
  4. Set default analysis for language server to open files only. (#2113)
  5. Add two popups to the extension: one to ask users to move to the new language server, the other to request feedback from users of that language server. (#2127)

Fixes

  1. Ensure dunder variables are always displayed in code completion when using the new language server. (#2013)
  2. Store testId for files & suites during unittest discovery. (#2044)
  3. editor.formatOnType no longer adds space after * in multi-line arguments. (#2048)
  4. Fix bug where tooltips would popup whenever a comma is typed within a string. (#2057)
  5. Change keyboard shortcut for Run Selection/Line in Python Terminal to not interfere with the Find/Replace dialog box. (#2068)
  6. Relax validation of the environment Path variable. (#2076)
  7. editor.formatOnType is more reliable handling floating point numbers. (#2079)
  8. Change the default port used in remote debugging using Experimental debugger to 5678. (#2146)
  9. Register test manager when using the new language server. (#2186)

Code Health

  1. Removed pre-commit hook that ran unit tests. (#1986)
  2. Pass OS type to the debugger. (#2128)
  3. Ensure 'languageServer' directory is excluded from the build output. (#2150)
  4. Change the download links of the language server files. (#2180)

2018.6.0 (20 June 2018)

Thanks

Thanks to the following projects which we fully rely on to provide some of our features:

Also thanks to the various projects we provide integrations with which help make this extension useful:

And finally thanks to the Python development team and community for creating a fantastic programming language and community to be a part of!

Enhancements

  1. Add setting to control automatic test discovery on save, python.unitTest.autoTestDiscoverOnSaveEnabled. (thanks Lingyu Li) (#1037)
  2. Add gevent launch configuration option to enable debugging of gevent monkey patched code. (thanks Bence Nagy) (#127)
  3. Add support for the "source.organizeImports" setting for "editor.codeActionsOnSave" (thanks Nathan Gaberel); you can turn this on just for Python using:
    "[python]": {
        "editor.codeActionsOnSave": {
            "source.organizeImports": true
        }
    }
    (#156)
  4. Added Spanish translation. (thanks Mario Rubio) (#1902)
  5. Add a French translation (thanks to Jérémy for the initial patch, and thanks to Nathan Gaberel, Bruno Alla, and Tarek Ziade for reviews). (#1959)
  6. Add syntax highlighting for Pipenv-related files (thanks Nathan Gaberel). (#995)

Fixes

  1. Modified to change error message displayed when path to a tool (linter, formatter, etc) is invalid. (#1064)
  2. Improvements to the logic used to parse the arguments passed into the test frameworks. (#1070)
  3. Ensure navigation to definitions follows imports and is transparent to decoration. (thanks Peter Law) (#1638)
  4. Fix for intellisense failing when using the new Outline feature. (#1721)
  5. When debugging unit tests, use the env file configured in settings.json under python.envFile. (#1759)
  6. Fix to display all interpreters in the interpreter list when a workspace contains a Pipfile. (#1800)
  7. Use file system API to perform file path comparisons when performing code navigation. (thanks to bstaint for the problem diagnosis) (#1811)
  8. Automatically add path mappings for remote debugging when attaching to the localhost. (#1829)
  9. Change keyboard shortcut for Run Selection/Line in Python Terminal to Shift+Enter. (#1875)
  10. Fix unhandled rejected promises in unit tests. (#1919)
  11. Fix debugger issue that causes the debugger to hang and silently exit stepping over a line of code instantiating an ITK vector object. (#459)

Code Health

  1. Add telemetry to capture type of python interpreter used in workspace. (#1237)
  2. Enabled multi-thrreaded debugger tests for the experimental debugger. (#1250)
  3. Log relevant environment information when the existence of pipenv cannot be determined. (#1338)
  4. Use dotenv package to parse environment variables definition files. (#1376)
  5. Move from yarn to npm. (#1402)
  6. Fix django and flask debugger tests when using the experimental debugger. (#1407)
  7. Capture telemetry for the usage of the Create Terminal command along with other instances when a terminal is created implicitly. (#1542)
  8. Add telemetry to capture availability of Python 3, version of Python used in workspace and the number of workspace folders. (#1545)
  9. Ensure all CI tests (except for debugger) are no longer allowed to fail. (#1614)
  10. Capture telemetry for the usage of the feature that formats a line as you type (editor.formatOnType). (#1766)
  11. Capture telemetry for the new debugger. (#1767)
  12. Capture telemetry for usage of the setting python.autocomplete.addBrackets (#1770)
  13. Speed up githook by skipping commits not containing any .ts files. (#1803)
  14. Update typescript package to 2.9.1. (#1815)
  15. Log Conda not existing message as an information instead of an error. (#1817)
  16. Make use of ILogger to log messages instead of using console.error. (#1821)
  17. Update parso package to 0.2.1. (#1833)
  18. Update isort package to 4.3.4. (#1842)
  19. Add better exception handling when parsing responses received from the Jedi language service. (#1867)
  20. Resolve warnings in CI Tests and fix some broken CI tests. (#1885)
  21. Reduce sample count used to capture performance metrics in order to reduce time taken to complete the tests. (#1887)
  22. Ensure workspace information is passed into installer when determining whether a product/tool is installed. (#1893)
  23. Add JUnit file output to enable CI integration with VSTS. (#1897)
  24. Log unhandled rejected promises when running unit tests. (#1918)
  25. Add ability to run tests without having to launch VS Code. (#1922)
  26. Fix rename refactoring unit tests. (#1953)
  27. Fix failing test on Mac when validating the path of a python interperter. (#1957)
  28. Display banner prompting user to complete a survey for the use of the Experimental Debugger. (#1968)
  29. Use a glob pattern to look for conda executables. (#256)
  30. Create tests to measure activation times for the extension. (#932)

2018.5.0 (05 Jun 2018)

Thanks to the following projects which we fully rely on to provide some of our features:

And thanks to the many other projects which users can optionally choose from and install to work with the extension. Without them the extension would not be nearly as feature-rich and useful as it is.

Enhancements

  1. Add support for the Black formatter (thanks to Josh Smeaton for the initial patch) (#1153)
  2. Add the command Discover Unit Tests. (#1474)
  3. Auto detect *.jinja2 and *.j2 extensions as Jinja templates, to enable debugging of Jinja templates. (#1484)

Fixes

  1. Ensure debugger breaks on assert failures. (#1194)
  2. Ensure debugged program is terminated when Stop debugging button is clicked. (#1345)
  3. Fix indentation when function contains type hints. (#1461)
  4. Ensure python environment activation works as expected within a multi-root workspace. (#1476)
  5. Close communication channel before exiting the test runner. (#1529)
  6. Allow for negative column numbers in messages returned by pylint. (#1628)
  7. Modify the FLASK_APP environment variable in the flask debug configuration to include just the name of the application file. (#1634)
  8. Ensure the display name of an interpreter does not get prefixed twice with the words Python. (#1651)
  9. Enable code refactoring when using the new Analysis Engine. (#1774)
  10. editor.formatOnType no longer breaks numbers formatted with underscores. (#1779)
  11. editor.formatOnType now better handles multiline function arguments (#1796)
  12. Go to Definition now works for functions which have numbers that use _ as a separator (as part of our Jedi 0.12.0 upgrade). (#180)
  13. Display documentation for auto completion items when the feature to automatically insert of brackets for selected item is turned on. (#452)
  14. Ensure empty paths do not get added into sys.path by the Jedi language server. (this was fixed in the previous release in #1471) (#677)
  15. Resolves rename refactor issue that removes the last line of the source file when the line is being refactored and source does not end with an EOL. (#695)
  16. Ensure the prompt to install missing packages is not displayed more than once. (#980)

Code Health

  1. Add syntax highlighting to constraints.txt files to match that of requirements.txt files. (thanks Waleed Sehgal) (#1053)
  2. Refactor unit testing functionality to improve testability of individual components. (#1068)
  3. Add unit tests for evaluating expressions in the experimental debugger. (#1109)
  4. Add tests to ensure custom arguments get passed into python program when using the experimental debugger. (#1280)
  5. Ensure custom environment variables are always used when spawning any process from within the extension. (#1339)
  6. Add tests for hit count breakpoints for the experimental debugger. (#1410)
  7. Ensure none of the npm packages (used by the extension) rely on native dependencies. (#1416)
  8. Remove explicit initialization of PYTHONPATH with the current workspace path in unit testing of modules with the experimental debugger. (#1465)
  9. Flag program in launch.json configuration items as an optional attribute. (#1503)
  10. Remove unused setting disablePromptForFeatures. (#1551)
  11. Remove unused Unit Test setting debugHost. (#1552)
  12. Create a new API to retrieve interpreter details with the ability to cache the details. (#1569)
  13. Add tests for log points in the experimental debugger. (#1582)
  14. Update typescript package to 2.8.3. (#1604)
  15. Fix typescript compilation error. (#1623)
  16. Fix unit tests used to test flask template debugging on AppVeyor for the experimental debugger. (#1640)
  17. Change yarn install script to include the keyword --lock-file. (thanks Lingyu Li) (#1682)
  18. Run unit tests as a pre-commit hook. (#1703)
  19. Update debug capabilities to add support for the setting supportTerminateDebuggee due to an upstream update from PTVSD. (#1719)
  20. Build and upload development build of the extension to the Azure blob store even if CI tests fail on the master branch. (#1730)
  21. Changes to the script used to upload the extension to the Azure blob store. (#1732)
  22. Prompt user to reload Visual Studio Code when toggling between the analysis engines. (#1747)
  23. Fix typo in unit test. (#1794)
  24. Fix failing Prospector unit tests and add more tests for linters (with and without workspaces). (#1836)
  25. Ensure Outline view doesn't overload the language server with too many requests, while user is editing text in the editor. (#1856)

2018.4.0 (2 May 2018)

Thanks to the following projects which we fully rely on to provide some of our features:

And a special thanks to Patryk Zawadzki for all of his help on our issue tracker!

Enhancements

  1. Enable debugging of Jinja templates in the experimental debugger. This is made possible with the addition of the jinja setting in the launch.json file as follows:
    "request": "launch or attach",
    ...
    "jinja": true
    (#1206)
  2. Remove empty spaces from the selected text of the active editor when executing in a terminal. (#1207)
  3. Add prelimnary support for remote debugging using the experimental debugger. Attach to a Python program started using the command python -m ptvsd --server --port 9091 --file pythonFile.py (#1229)
  4. Add support for logpoints in the experimental debugger. (#1306)
  5. Set focus to the terminal upon creation of a terminal using the Python: Create Terminal command. (#1315)
  6. Save the python file before running it in the terminal using the command/menu Run Python File in Terminal. (#1316)
  7. Added support for source references (remote debugging without having the source code locally) in the experimental debugger. (#1333)
  8. Add Ctrl+Enter keyboard shortcut for Run Selection/Line in Python Terminal. (#1349)
  9. Settings configured within the debugOptions property of launch.json for the old debugger are now defined as individual (boolean) properties in the new experimental debugger (e.g. "debugOptions": ["RedirectOutput"] becomes "redirectOutput": true). (#1395)
  10. Intergrate Jedi 0.12. See davidhalter/jedi#1063 (comment) for details. (#1400)
  11. Enable Jinja template debugging as a default behaviour when using the Watson debug configuration for debugging of Watson applications. (#1480)
  12. Enable Jinja template debugging as a default behavior when debugging Pyramid applications. (#1492)
  13. Add prelimnary support for remote debugging using the experimental debugger. Attach to a Python program after having imported ptvsd and enabling the debugger to attach as follows:
    import ptvsd
    ptvsd.enable_attach(('0.0.0.0', 5678))
    Additional capabilities:
    • ptvsd.break_into_debugger() to break into the attached debugger.
    • ptvsd.wait_for_attach(timeout) to cause the program to wait until a debugger attaches.
    • ptvsd.is_attached() to determine whether a debugger is attached to the program. (#907)

Fixes

  1. Use an existing method to identify the active interpreter. (#1015)
  2. Fix go to definition functionality across files. (#1033)
  3. IntelliSense under Python 2 for inherited attributes works again (thanks to an upgraded Jedi). (#1072)
  4. Reverted change that ended up considering symlinked interpreters as duplicate interpreter. (#1192)
  5. Display errors returned by the PipEnv command when identifying the corresponding environment. (#1254)
  6. When editor.formatOnType is on, don't add a space for *args or **kwargs (#1257)
  7. When editor.formatOnType is on, don't add a space between a string type specifier and the string literal (#1257)
  8. Reduce the frequency within which the memory usage of the language server is checked, also ensure memory usage is not checked unless language server functionality is used. (#1277)
  9. Ensure interpreter file exists on the file system before including into list of interpreters. (#1305)
  10. Do not have the formatter consider single-quoted string multiline even if it is not terminated. (#1364)
  11. IntelliSense works in module-level if statements (thanks to Jedi 0.12.0 upgrade). (#142)
  12. Clicking the codelens Run Test on a test class should run that specific test class instead of all tests in the file. (#1472)
  13. Clicking the codelens Run Test on a test class or method should run that specific test instead of all tests in the file. (#1473)
  14. Check whether the selected python interpreter is valid before starting the language server. Failing to do so could result in the extension failing to load. (#1487)
  15. Fixes the issue where Conda environments created using the latest version of Anaconda are not activated in Powershell. (#1520)
  16. Increase the delay for the activation of environments in Powershell terminals. (#1533)
  17. Fix activation of environments with spaces in the python path when using Powershell. (#1534)
  18. Ensure Flask application is launched with multi-threading disabled, when run in the CI tests. (#1535)
  19. IntelliSense works appropriately when a project contains multiple files with the same name (thanks to Jedi 0.12.0 update). (#178)
  20. Add blank lines to separate blocks of indented code (function defs, classes, and the like) so as to ensure the code can be run within a Python interactive prompt. (#259)
  21. Provide type details appropriate for the iterable in a for loop when the line has a # type comment. (#338)
  22. Parameter hints following an f-string work again. (#344)
  23. When editor.formatOnType is on, don't indent after a single-line statement block (#726)
  24. Fix debugging of Pyramid applications on Windows. (#737)

Code Health

  1. Improved developer experience of the Python Extension on Windows. (#1216)
  2. Parallelize jobs (unit tests) on CI server. (#1247)
  3. Run CI tests against the release version and master branch of PTVSD (experimental debugger), allowing tests to fail against the master branch of PTVSD. (#1253)
  4. Only trigger the extension for file and untitled in preparation for Visual Studio Live Share (thanks to Jonathan Carter) (#1298)
  5. Ensure all unit tests run on Travis use the right Python interpreter. (#1318)
  6. Pin all production dependencies. (#1374)
  7. Add support for hit count breakpoints in the experimental debugger. (#1409)
  8. Ensure custom environment variables defined in .env file are passed onto the pipenv command. (#1428)
  9. Remove unwanted python packages no longer used in unit tests. (#1494)
  10. Register language server functionality in the extension against specific resource types supporting the python language. (#1530)

2018.3.1 (29 Mar 2018)

Fixes

  1. Fixes issue that causes linter to fail when file path contains spaces. (#1239)

2018.3.0 (28 Mar 2018)

Enhancements

  1. Add a PySpark debug configuration for the experimental debugger. (#1029)
  2. Add a Pyramid debug configuration for the experimental debugger. (#1030)
  3. Add a Watson debug configuration for the experimental debugger. (#1031)
  4. Add a Scrapy debug configuration for the experimental debugger. (#1032)
  5. When using pipenv, install packages (such as linters, test frameworks) in dev-packages. (#1110)
  6. Added commands translation for italian locale. (thanks Dotpys) (#1152)
  7. Add support for Django Template debugging in experimental debugger. (#1189)
  8. Add support for Flask Template debugging in experimental debugger. (#1190)
  9. Add support for Jinja template debugging. (#1210)
  10. When debugging, use Integrated Terminal as the default console. (#526)
  11. Disable the display of errors messages when rediscovering of tests fail in response to changes to files, e.g. don't show a message if there's a syntax error in the test code. (#704)
  12. Bundle python dependencies (PTVSD package) in the extension for the experimental debugger. (#741)
  13. Add support for experimental debugger when debugging Python Unit Tests. (#906)
  14. Support Debug Console as a console option for the Experimental Debugger. (#950)
  15. Enable syntax highlighting for requirements.in files as used by e.g. pip-tools (thanks Lorenzo Villani) (#961)
  16. Add support to read name of Pipfile from environment variable. (#999)

Fixes

  1. Fixes issue that causes debugging of unit tests to hang indefinitely. (#1009)
  2. Add ability to disable the check on memory usage of language server (Jedi) process. To turn off this check, add "python.jediMemoryLimit": -1 to your user or workspace settings (settings.json) file. (#1036)
  3. Ignore test results when debugging unit tests. (#1043)
  4. Fixes auto formatting of conditional statements containing expressions with <= symbols. (#1096)
  5. Resolve debug configuration information in launch.json when debugging without opening a python file. (#1098)
  6. Disables auto completion when editing text at the end of a comment string. (#1123)
  7. Ensures file paths are properly encoded when passing them as arguments to linters. (#199)
  8. Fix occasionally having unverified breakpoints (#87)
  9. Ensure conda installer is not used for non-conda environments. (#969)
  10. Fixes issue that display incorrect interpreter briefly before updating it to the right value. (#981)

Code Health

  1. Exclude 'news' folder from getting packaged into the extension. (#1020)
  2. Remove Jupyter commands. (thanks Yu Zhang) (#1034)
  3. Trigger incremental build compilation only when typescript files are modified. (#1040)
  4. Updated npm dependencies in devDependencies and fix TypeScript compilation issues. (#1042)
  5. Enable unit testing of stdout and stderr redirection for the experimental debugger. (#1048)
  6. Update npm package vscode-extension-telemetry to fix the warning 'os.tmpDir() deprecation'. (thanks osya) (#1066)
  7. Prevent the debugger stepping into JS code while developing the extension when debugging async TypeScript code. (#1090)
  8. Increase timeouts for the debugger unit tests. (#1094)
  9. Change the command used to install pip on AppVeyor to avoid installation errors. (#1107)
  10. Check whether a document is active when detecthing changes in the active document. (#1114)
  11. Remove SIGINT handler in debugger adapter, thereby preventing it from shutting down the debugger. (#1122)
  12. Improve compilation speed of the extension's TypeScript code. (#1146)
  13. Changes to how debug options are passed into the experimental version of PTVSD (debugger). (#1168)
  14. Ensure file paths are not sent in telemetry when running unit tests. (#1180)
  15. Change DjangoDebugging to Django in debugOptions of launch.json. (#1198)
  16. Changed property name used to capture the trigger source of Unit Tests. (#1213)
  17. Enable unit testing of the experimental debugger on CI servers (#742)
  18. Generate code coverage for debug adapter unit tests. (#778)
  19. Execute prospector as a module (using -m). (#982)
  20. Launch unit tests in debug mode as opposed to running and attaching the debugger to the already-running interpreter. (#983)

2018.2.1 (09 Mar 2018)

Fixes

  1. Check for Pipfile and not pipfile when looking for pipenv usage (thanks to Will Thompson for the fix)

2018.2.0 (08 Mar 2018)

[Release pushed by one week]

Thanks

We appreciate everyone who contributed to this release (including those who reported bugs or provided feedback)!

A special thanks goes out to the following external contributors who contributed code in this release:

Enhancements

  1. Experimental support for PTVSD 4.0.0-alpha (too many issues to list)
  2. Speed increases in interpreter selection (#952)
  3. Support for direnv (#36)
  4. Support for pipenv virtual environments; do note that using pipenv automatically drops all other interpreters from the list of possible interpreters as pipenv prefers to "own" your virtual environment (#404)
  5. Support for pyenv installs of Python (#847)
  6. Support editor.formatOnType (#640)
  7. Added a zh-tw translation (#)
  8. Prompting to install a linter now allows for disabling that specific linter as well as linters globally (#971)

Fixes

  1. Work around a bug in Pylint when the default linter rules are enabled and running Python 2.7 which triggered --py3k checks to be activated, e.g. all print statements to be flagged as errors (#722)
  2. Better detection of when a virtual environment is selected, leading to the extension accurately leaving off --user when installing Pylint (#808)
  3. Better detection of a pylintrc is available to automatically disable our default Pylint checks (#728, #788, #838, #442)
  4. Fix Got to Python object (#403)
  5. When reformatting a file, put the temporary file in the workspace folder so e.g. yapf detect their configuration files appropriately (#730)
  6. The banner to suggest someone installs Python now says Download instead of Close (#844)
  7. Formatting while typing now treats . and @ as operators, preventing the incorrect insertion of whitespace (#840)
  8. Debugging from a virtual environment named env now works (#691)
  9. Disabling linting in a single folder of a mult-root workspace no longer disables it for all folders (#862)
  10. Fix the default debugger settings for Flask apps (#573)
  11. Format paths correctly when sending commands through WSL and git-bash; this does not lead to official support for either terminal (#895)
  12. Prevent run-away Jedi processes from consuming too much memory by automatically killing the process; reload VS Code to start the process again if desired (#926, #263)
  13. Support multiple linters again (#913)
  14. Don't over-escape markup found in docstrings (#911, #716, #627, #692)
  15. Fix when the Problems pane lists file paths prefixed with git: (#916)
  16. Fix inline documentation when an odd number of quotes exists (#786)
  17. Don't erroneously warn macOS users about using the system install of Python when a virtual environment is already selected (#804)
  18. Fix activating multiple linters without requiring a reload of VS Code (#971)

Code Health

  1. Upgrade to Jedi 0.11.1 (#674, #607, #99)
  2. Removed the banner announcing the extension moving over to Microsoft (#830)
  3. Renamed the default debugger configurations (#412)
  4. Remove some error logging about not finding conda (#864)

2018.1.0 (01 Feb 2018)

Thanks

Thanks to everyone who contributed to this release, including the following people who contributed code:

Fixed issues

  • Support cached interpreter locations for faster interpreter selection (#666)
  • Sending a block of code with multiple global-level scopes now works (#259)
  • Automatic activation of virtual or conda environment in terminal when executing Python code/file (#383)
  • Introduce a Python: Create Terminal to create a terminal that activates the selected virtual/conda environment (#622)
  • Add a ko-kr translation (#540)
  • Add a ru translation (#411)
  • Performance improvements to detection of virtual environments in current workspace (#372)
  • Correctly detect 64-bit python (#414)
  • Display parameter information while typing (#70)
  • Use localhost instead of 0.0.0.0 when starting debug servers (#205)
  • Ability to configure host name of debug server (#227)
  • Use environment variable PYTHONPATH defined in .env for intellisense and code navigation (#316)
  • Support path variable when debugging (#436)
  • Ensure virtual environments can be created in .env directory (#435, #482, #486)
  • Reload environment variables from .env without having to restart VS Code (#183)
  • Support debugging of Pyramid framework on Windows (#519)
  • Code snippet for pubd (#545)
  • Code clean up (#353, #352, #354, #456, #491, #228, #549, #594, #617, #556)
  • Move to yarn from npm (#421)
  • Add code coverage for extension itself (#464)
  • Releasing insiders build of the extension and uploading to cloud storage (#429)
  • Japanese translation (#434)
  • Russian translation (#411)
  • Support paths with spaces when generating tags with Build Workspace Symbols (#44)
  • Add ability to configure the linters (#572)
  • Add default set of rules for Pylint (#554)
  • Prompt to install formatter if not available (#524)
  • work around editor.formatOnSave failing when taking more then 750ms (#124, #590, #624, #427, #492)
  • Function argument completion no longer automatically includes the default argument (#522)
  • When sending a selection to the terminal, keep the focus in the editor window (#60)
  • Install packages for non-environment Pythons as --user installs (#527)
  • No longer suggest the system Python install on macOS when running Select Interpreter as it's too outdated (e.g. lacks pip) (#440)
  • Fix potential hang from Intellisense (#423)

Version 0.9.1 (19 December 2017)

Version 0.9.0 (14 December 2017)

  • Translated the commands to simplified Chinese #240 (thanks Wai Sui kei)
  • Change all links to point to their Python 3 equivalents instead of Python 2#203
  • Respect {workspaceFolder} #258
  • Running a program using Ctrl-F5 will work more than once #25
  • Removed the feedback service to rely on VS Code's own support (which fixed an issue of document reformatting failing) #245, #303, #363
  • Do not create empty '.vscode' directory #253, #277
  • Ensure python execution environment handles unicode characters #393
  • Remove Jupyter support in favour of the Jupyter extension #223

conda

  • Support installing Pylint using conda or pip when an Anaconda installation of Python is selected as the active interpreter #301
  • Add JSON schema support for conda's meta.yaml #281
  • Add JSON schema support for conda's environment.yml #280
  • Add JSON schema support for .condarc #189
  • Ensure company name 'Continuum Analytics' is replaced with 'Ananconda Inc' in the list of interpreters #390
  • Display the version of the interpreter instead of conda #378
  • Detect Anaconda on Linux even if it is not in the current path #22

Interpreter selection

  • Fixes in the discovery and display of interpreters, including virtual environments #56
  • Retrieve the right value from the registry when determining the version of an interpreter on Windows #389

Intellisense

  • Fetch intellisense details on-demand instead of for all possible completions #152
  • Disable auto completion in comments and strings #110, #921, #34

Linting

  • Deprecate python.linting.lintOnTextChange #313, #297, #28, #272
  • Refactor code for executing linters (fixes running the proper linter under the selected interpreter) #351, #397
  • Don't attempt to install linters when not in a workspace #42
  • Honour python.linting.enabled #26
  • Don't display message 'Linter pylint is not installed' when changing settings #260
  • Display a meaningful message if pip is unavailable to install necessary module such as 'pylint' #266
  • Improvement environment variable parsing in the debugging (allows for embedded =) #149, #361

Debugging

  • Improve selecting the port used when debugging #304
  • Don't block debugging in other extensions #58
  • Don't trigger an error to the Console Window when trying to debug an invalid Python file #157
  • No longer prompt to Press any key to continue . . . once debugging finishes #239
  • Do not start the extension when debugging non-Python projects #57
  • Support custom external terminals in debugger #250, #114
  • Debugging a python program should not display the message 'Cannot read property …' #247

Testing

  • Refactor unit test library execution code #350

Formatting

  • Deprecate the setting python.formatting.formatOnSave with an appropriate message #285, #309

Version 0.8.0 (9 November 2017)

  • Add support for multi-root workspaces #1228, #1302, #1328, #1357
  • Add code snippet for ipdb #1141
  • Add ability to resolving environment variables in path to mypy #1195
  • Add ability to disable a linter globally and disable prompts to install linters #1207
  • Auto-selecting an interpreter from a virtual environment if only one is found in the root directory of the project #1216
  • Add support for specifying the working directory for unit tests #1155, #1185
  • Add syntax highlighting of pip requirements files #1247
  • Add ability to select an interpreter even when a workspace is not open #1260, #1263
  • Display a code lens to change the selected interpreter to the one specified in the shebang line #1257, #1263, #1267, #1280, #1261, #1290
  • Expand list of interpreters displayed for selection #1147, #1148, #1224, #1240
  • Display details of current or selected interpreter in statusbar #1147, #1217
  • Ensure paths in workspace symbols are not prefixed with .vscode #816, #1066, #829
  • Ensure paths in PYTHONPATH environment variable are delimited using the OS-specific path delimiter #832
  • Ensure Rope is not packaged with the extension #1208, #1207, #1243, #1229
  • Ensure ctags are rebuilt as expected upon file save #624
  • Ensure right test method is executed when two test methods exist with the same name in different classes #1203
  • Ensure unit tests run successfully on Travis for both Python 2.7 and 3.6 #1255, #1241, #1315
  • Fix building of ctags when a path contains a space #1064, #1144,, #1213
  • Fix autocompletion in unsaved Python files #1194
  • Fix running of test methods in nose #597, #1225
  • Fix to disable linting of diff windows #1221, #1244
  • Fix docstring formatting #1188
  • Fix to ensure language features can run in parallel without interference with one another #1314, #1318
  • Fix to ensure unit tests can be debugged more than once per run #948, #1353
  • Fix to ensure parameterized unit tests can be debugged #1284, #1299
  • Fix issue that causes debugger to freeze/hang #1041, #1354
  • Fix to support unicode characters in Python tests #1282, #1291
  • Changes as a result of VS Code API changes #1270, #1288, #1372, #1300, #1298
  • Updates to Readme #1212, #1222
  • Fix executing a command under PowerShell #1098

Version 0.7.0 (3 August 2017)

  • Displaying internal documentation #1008, #10860
  • Fixes to 'async with' snippet #1108, #996
  • Add support for environment variable in unit tests #1074
  • Fixes to unit test code lenses not being displayed #1115
  • Fix to empty brackets being added #1110, #1031
  • Fix debugging of Django applications #819, #999
  • Update isort to the latest version #1134, #1135
  • Fix issue causing intellisense and similar functionality to stop working #1072, #1118, #1089
  • Bunch of unit tests and code cleanup
  • Resolve issue where navigation to decorated function goes to decorator #742
  • Go to symbol in workspace leads to nonexisting files #816, #829

Version 0.6.9 (22 July 2017)

  • Fix to enure custom linter paths are respected #1106

Version 0.6.8 (20 July 2017)

Version 0.6.7 (02 July 2017)

  • Updated icon from jpg to png (transparent background)

Version 0.6.6 (02 July 2017)

  • Provide details of error with solution for changes to syntax in launch.json #1047, #1025
  • Provide a warning about known issues with having pyenv.cfg whilst debugging #913
  • Create .vscode directory if not found #1043
  • Highlighted text due to linter errors is off by one column #965, #970
  • Added preliminary support for WSL Bash and Cygwin #1049
  • Ability to configure the linter severity levels #941, #895
  • Fixes to unit tests #1051, #1050
  • Outdent lines following continue, break and return #1050
  • Change location of cache for Jedi files #1035
  • Fixes to the way directories are searched for Python interpreters #569, #1040
  • Handle outputs from Python packages that interfere with the way autocompletion is handled #602

Version 0.6.5 (13 June 2017)

  • Fix error in launch.json #1006
  • Detect current workspace interpreter when selecting interpreter #1006
  • Disable output buffering when debugging #1005
  • Updated snippets to use correct placeholder syntax #976
  • Fix hover and auto complete unit tests #1012
  • Fix hover definition variable test for Python 3.5 #1013
  • Better formatting of docstring #821, #919
  • Supporting more paths when searching for Python interpreters #569
  • Increase buffer output (to support detection large number of tests) #927

Version 0.6.4 (4 May 2017)

  • Fix dates in changelog #899
  • Using charriage return or line feeds to split a document into multiple lines #917, #821
  • Doc string not being displayed #888
  • Supporting paths that begin with the ~/ #909
  • Supporting more paths when searching for Python interpreters #569
  • Supporting ~/ paths when providing the path to ctag file #910
  • Disable linting of python files opened in diff viewer #896
  • Added a new command Go to Python Object #928
  • Restored the menu item to rediscover tests #863
  • Changes to rediscover tests when test files are altered and saved #863

Version 0.6.3 (19 April 2017)

  • Fix debugger issue #893
  • Improvements to debugging unit tests (check if string starts with, instead of comparing equality) #797

Version 0.6.2 (13 April 2017)

  • Fix incorrect indenting #880

Thanks

Version 0.6.1 (10 April 2017)

  • Add support for new variable syntax in upcoming VS Code release #774, #855, #873, #823
  • Resolve issues in code refactoring #802, #824, #825
  • Changes to labels in Python Interpreter lookup #815
  • Resolve Typos #852
  • Use fully qualitified Python Path when installing dependencies #866
  • Commands for running tests from a file #502
  • Fix Sorting of imports when path contains spaces #811
  • Fixing occasional failure of linters #793, #833, #860
  • Added ability to pre-load some modules to improve autocompletion #581

Thanks

Version 0.6.0 (10 March 2017)

  • Moved Jupyter functionality into a separate extension Jupyter
  • Updated readme #779
  • Changing default arguments of mypy #658
  • Added ability to disable formatting #559
  • Fixing ability to run a Python file in a terminal #784
  • Added support for Proxy settings when installing Python packages using Pip #778

Version 0.5.9 (3 March 2017)

  • Fixed navigating to definitions #711
  • Support auto detecting binaries from Python Path #716
  • Setting PYTHONPATH environment variable #686
  • Improving Linter performance, killing redundant processes 4a8319e
  • Changed default path of the CATAS file to .vscode/tags #722
  • Add parsing severity level for flake8 and pep8 linters #709
  • Fix to restore function descriptions (intellisense) #727
  • Added default configuration for debugging Pyramid #287
  • Feature request: Run current line in Terminal #738
  • Miscellaneous improvements to hover provider 6a7a3f3, 6268306
  • Fixes to rename refactor (due to 'LF' EOL in Windows) #748
  • Fixes to ctag file being generated in home folder when no workspace is opened #753
  • Fixes to ctag file being generated in home folder when no workspace is opened #753
  • Disabling auto-completion in single line comments #74
  • Fixes to debugging of modules #518
  • Displaying unit test status icons against unit test code lenses #678
  • Fix issue where causing 'python.python-debug.startSession' not found message to be displayed when debugging single file #708
  • Ability to include packages directory when generating tags file #735
  • Fix issue where running selected text in terminal does not work #758
  • Fix issue where disabling linter doesn't disable it (when no workspace is open) #763
  • Search additional directories for Python Interpreters (~/.virtualenvs, ~/Envs, ~/.pyenv) #569
  • Added ability to pre-load some modules to improve autocompletion #581
  • Removed invalid default value in launch.json file #586
  • Added ability to configure the pylint executable path #766
  • Fixed single file debugger to ensure the Python interpreter configured in python.PythonPath is being used #769

Version 0.5.8 (3 February 2017)

Version 0.5.7 (3 February 2017)

  • Added support for debugging single files without a launch configuration
  • Adding support for debug snippets #660
  • Ability to run a selected text in a Django shell #652
  • Adding support for the use of a customized 'isort' for sorting of imports #632
  • Debugger auto-detecting python interpreter from the path provided #688
  • Showing symbol type on hover #657
  • Fixes to running Python file when terminal uses Powershell #651
  • Fixes to linter issues when displaying Git diff view for Python files #665
  • Fixes to 'Go to definition' functionality #662
  • Fixes to Jupyter cells numbered larger than '10' #681

Version 0.5.6 (16 January 2017)

  • Added support for Python 3.6 #646, #631, #619, #613
  • Autodetect in python path in virtual environments #353
  • Add syntax highlighting of code samples in hover defintion #555
  • Launch REPL for currently selected interpreter #560
  • Fixes to debugging of modules #589
  • Reminder to install jedi and ctags in Quick Start #642
  • Improvements to Symbol Provider #622
  • Changes to disable unit test prompts for workspace #559
  • Minor fixes #627

Version 0.5.5 (25 November 2016)

  • Fixes to debugging of unittests (nose and pytest) #543
  • Fixes to debugging of Django #546

Version 0.5.4 (24 November 2016)

  • Fixes to installing missing packages #544
  • Fixes to indentation of blocks of code #432
  • Fixes to debugging of unittests #543
  • Fixes to extension when a workspace (folder) isn't open #542

Version 0.5.3 (23 November 2016)

  • Added support for PySpark #539, #540
  • Debugging unittests (UnitTest, pytest, nose) #333
  • Displaying progress for formatting #327
  • Auto indenting else: inside if and similar code blocks #432
  • Prefixing new lines with '#' when new lines are added in the middle of a comment string #365
  • Debugging python modules #518, #354
    • Use new debug configuration Python Module
  • Added support for workspace symbols using Exuberant CTags #138
    • New command Python: Build Workspace Symbols
  • Added ability for linter to ignore paths or files #501
    • Add the following setting in settings.json
        "python.linting.ignorePatterns":  [
            ".vscode/*.py",
            "**/site-packages/**/*.py"
          ],
  • Automatically adding brackets when autocompleting functions/methods #425
    • To enable this feature, turn on the setting "python.autoComplete.addBrackets": true
  • Running nose tests with the arguments '--with-xunit' and '--xunit-file' #517
  • Added support for workspaceRootFolderName in settings.json #525, #522
  • Added support for workspaceRootFolderName in settings.json #525, #522
  • Fixes to running code in terminal #515

Version 0.5.2

  • Fix issue with mypy linter #505
  • Fix auto completion for files with different encodings #496
  • Disable warnings when debugging Django version prior to 1.8 #479
  • Prompt to save changes when refactoring without saving any changes #441
  • Prompt to save changes when renaminv without saving any changes #443
  • Use editor indentation size when refactoring code #442
  • Add support for custom jedi paths #500

Version 0.5.1

  • Prompt to install linter if not installed #255
  • Prompt to configure and install test framework
  • Added support for pylama #495
  • Partial support for PEP484
  • Linting python files when they are opened #462
  • Fixes to unit tests discovery #307, #459
  • Fixes to intellisense #438, #433, #457, #436, #434, #447, #448, #293, #381
  • Supporting additional search paths for interpreters on windows #446
  • Fixes to code refactoring #440, #467, #468, #445
  • Fixes to linters #463 #439,
  • Bug fix in handling nosetest arguments #407
  • Better error handling when linter fails #402
  • Restoring extension specific formatting #421
  • Fixes to debugger (unwanted breakpoints) #392, #379
  • Support spaces in python path when executing in terminal #428
  • Changes to snippets #429
  • Marketplace changes #430
  • Cleanup and miscellaneous fixes (typos, keyboard bindings and the liks)

Version 0.5.0

  • Remove dependency on zmq when using Jupyter or IPython (pure python solution)
  • Added a default keybinding for Jupyter:Run Selection/Line of ctrl+alt+enter
  • Changes to update settings.json with path to python using native API
  • Changes to use native API for formatting when saving documents
  • Reusing existing terminal instead of creating new terminals
  • Limiting linter messages to opened documents (hide messages if document is closed) #375
  • Resolving extension load errors when #375
  • Fixes to discovering unittests #386
  • Fixes to sending code to terminal on Windows #387
  • Fixes to executing python file in terminal on Windows #385
  • Fixes to launching local help (documentation) on Linux
  • Fixes to typo in configuration documentation #391
  • Fixes to use python.pythonPath when sorting imports #393
  • Fixes to linters to handle situations when line numbers aren't returned #399
  • Fixes to signature tooltips when docstring is very long #368, #113

Version 0.4.2

  • Fix for autocompletion and code navigation with unicode characters #372, #364

Version 0.4.1

Version 0.4.0

  • Added support for Jupyter/IPython
  • Added local help (offline documentation)
  • Added ability to pass in extra arguments to interpreter when executing scripts (#316)
  • Added ability set current working directory as the script file directory, when to executing a Python script
  • Rendering intellisense icons correctly (#322)
  • Changes to capitalization of context menu text (#320)
  • Bug fix to running pydocstyle linter on windows (#317)
  • Fixed performance issues with regards to code navigation, displaying code Symbols and the like (#324)
  • Fixed code renaming issue when renaming imports (#325)
  • Fixed issue with the execution of the command python.execInTerminal via a shortcut (#340)
  • Fixed issue with code refactoring (#363)

Version 0.3.24

  • Added support for clearing cached tests #307
  • Added support for executing files in terminal with spaces in paths #308
  • Fix issue related to running unittests on Windows #309
  • Support custom environment variables when launching external terminal #311

Version 0.3.23

  • Added support for the attribute supportsRunInTerminal attribute in debugger #304
  • Changes to ensure remote debugging resolves remote paths correctly #302
  • Added support for custom pytest and nosetest paths #301
  • Resolved issue in Watch window displaying <error:previous evaluation... #301
  • Reduce extension size by removing unwanted files #296
  • Updated code snippets

Version 0.3.22

Version 0.3.20

  • Sharing python.pythonPath value with debug configuration #214 and #183
  • Support extract variable and method refactoring #220
  • Support environment variables in settings #148
  • Support formatting of selected text #197 and #183
  • Support autocompletion of parameters #71
  • Display name of linter along with diagnostic messages #199
  • Auto indenting of except and async functions #205 and #215
  • Support changes to pythonPath without having to restart VS Code #216
  • Resolved issue to support large debug outputs #52 and #52
  • Handling instances when debugging with invalid paths to the python interpreter #229
  • Fixed refactoring on Python 3.5 #244
  • Fixed parsing errors when refactoring #244

Version 0.3.21

  • Sharing python.pythonPath value with debug configuration #214 and #183
  • Support extract variable and method refactoring #220
  • Support environment variables in settings #148
  • Support formatting of selected text #197 and #183
  • Support autocompletion of parameters #71
  • Display name of linter along with diagnostic messages #199
  • Auto indenting of except and async functions #205 and #215
  • Support changes to pythonPath without having to restart VS Code #216
  • Resolved issue to support large debug outputs #52 and #52
  • Handling instances when debugging with invalid paths to the python interpreter #229
  • Fixed refactoring on Python 3.5 #244

Version 0.3.19

  • Sharing python.pythonPath value with debug configuration #214 and #183
  • Support extract variable and method refactoring #220
  • Support environment variables in settings #148
  • Support formatting of selected text #197 and #183
  • Support autocompletion of parameters #71
  • Display name of linter along with diagnostic messages #199
  • Auto indenting of except and async functions #205 and #215
  • Support changes to pythonPath without having to restart VS Code #216
  • Resolved issue to support large debug outputs #52 and #52
  • Handling instances when debugging with invalid paths to the python interpreter #229

Version 0.3.18

  • Modifications to support environment variables in settings #148
  • Modifications to support formatting of selected text #197 and #183
  • Added support to intellisense for parameters #71
  • Display name of linter along with diagnostic messages #199

Version 0.3.15

  • Modifications to handle errors in linters #185
  • Fixes to formatting and handling of not having empty lines at end of file #181
  • Modifications to infer paths of packages on windows #178
  • Fix for debugger crashes #45
  • Changes to App Insights key #156
  • Updated Jedi library to latest version #173
  • Updated iSort library to latest version #174

Version 0.3.14

  • Modifications to handle errors in linters when the linter isn't installed.

Version 0.3.13

  • Fixed error message being displayed by linters and formatters

Version 0.3.12

  • Changes to how linters and formatters are executed (optimizations and changes to settings to separate out the command line arguments) #178, #163
  • Fix to support Unicode characters in debugger #102
  • Added support for {workspaceRoot} in Path settings defined in settings.js #148
  • Resolving path of linters and formatters based on python path defined in settings.json #148
  • Better handling of Paths to python executable and related tools (linters, formatters) in virtual environments #148
  • Added support for configurationDone event in debug adapter #168, #145

Version 0.3.11

  • Added support for telemetry #156
  • Optimized code formatting and sorting of imports #150, #151, #157
  • Fixed issues in code formatting #171
  • Modifications to display errors returned by debugger #111
  • Fixed the prospector linter #142
  • Modified to resolve issues where debugger wasn't handling code exceptions correctly #159
  • Added support for unit tests using pytest #164
  • General code cleanup

Version 0.3.10

  • Fixed issue with duplicate output channels being created
  • Fixed issues in the LICENSE file
  • Fixed issue where current directory was incorrect #68
  • General cleanup of code

Version 0.3.9

  • Fixed auto indenting issues #137

Version 0.3.8

  • Added support for linting using prospector #130
  • Fixed issue where environment variables weren't being inherited by the debugger #109 and #77

Version 0.3.7

  • Added support for auto indenting of some keywords #83
  • Added support for launching console apps for Mac #128
  • Fixed issue where configuration files for pylint, pep8 and flake8 commands weren't being read correctly #117

Version 0.3.6

  • Added support for linting using pydocstyle #56
  • Added support for auto-formatting documents upon saving (turned off by default) #27
  • Added support to configure the output window for linting, formatting and unit test messages #112

Version 0.3.5

  • Fixed printing of unicode characters when evaluating expressions #73

Version 0.3.4

  • Updated snippets
  • Fixes to remote debugging #65
  • Fixes related to code navigation #58 and #78
  • Changes to allow code navigation for methods

Version 0.3.0

  • Remote debugging (attaching to local and remote processes)
  • Debugging with support for shebang
  • Support for passing environment variables to debug program
  • Improved error handling in the extension

Version 0.2.9

  • Added support for debugging django applications
  • Debugging templates is not supported at this stage

Version 0.2.8

  • Added support for conditional break points
  • Added ability to optionally display the shell window (Windows Only, Mac is coming soon)
    • Allowing an interactive shell window, which isn't supported in VSCode.
  • Added support for optionally breaking into python code as soon as debugger starts
  • Fixed debugging when current thread is busy processing.
  • Updated documentation with samples and instructions

Version 0.2.4

  • Fixed issue where debugger would break into all exceptions
  • Added support for breaking on all and uncaught exceptions
  • Added support for pausing (breaking) into a running program while debugging.

Version 0.2.3

  • Fixed termination of debugger

Version 0.2.2

  • Improved debugger for Mac, with support for Multi threading, Web Applications, expanding properties, etc
  • (Debugging now works on both Windows and Mac)
  • Debugging no longer uses PDB

Version 0.2.1

  • Improved debugger for Windows, with support for Multi threading, debugging Multi-threaded apps, Web Applications, expanding properties, etc
  • Added support for relative paths for extra paths in additional libraries for Auto Complete
  • Fixed a bug where paths to custom Python versions weren't respected by the previous (PDB) debugger
  • NOTE: PDB Debugger is still supported

Version 0.1.3

  • Fixed linting when using pylint

Version 0.1.2

  • Fixed autoformatting of code (falling over when using yapf8)

Version 0.1.1

  • Fixed linting of files on Mac
  • Added support for linting using pep8
  • Added configuration support for pep8 and pylint
  • Added support for configuring paths for pep8, pylint and autopep8
  • Added snippets
  • Added support for formatting using yapf
  • Added a number of configuration settings

Version 0.0.4

  • Added support for linting using Pylint (configuring pylint is coming soon)
  • Added support for sorting Imports (Using the command "Pythong: Sort Imports")
  • Added support for code formatting using Autopep8 (configuring autopep8 is coming soon)
  • Added ability to view global variables, arguments, add and remove break points

Version 0.0.3

  • Added support for debugging using PDB