profile
viewpoint

microsoft/pyright 5438

Static type checker for Python

MikhailArkhipov/vscode-r 58

R Tools for VS Code

MikhailArkhipov/pyright 1

Static type checker for Python

MikhailArkhipov/R-Host-1 1

A host process for R that provides access and extensibility to it remotely over WebSocket and JSON.

MikhailArkhipov/PTVS 0

Python Tools for Visual Studio

MikhailArkhipov/python-language-server 0

Microsoft Language Server for Python

MikhailArkhipov/vscode-python 0

Python extension for Visual Studio Code

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha 65e4d169159a192531002917dee163f93efa07a9

Partial test updates

view details

push time in an hour

push eventMikhailArkhipov/vscode-python

Timothy Ruscica

commit sha 1b3bebdac32a77d278227ad26b90f8d448af46b6

Added export to PDF, HTML and python to interactive window (#12732) * mostly working * fixed naming * added news file * added export util to clean up code * added export util to clean up code * added export util to service container * removed busy indicator * addressed comments * refactored and cleaned up * added sleep to temp file creation

view details

Jim Griesmer

commit sha 73cbe71ae4d1910bb711fb8468bdbc33ca0c888f

Update experiments.json (#12775) Significantly bump raw kernel.

view details

Ian Huff

commit sha 76ea8b5faa9c52902d33829c31f2a7993cf57db6

If we fail to start a raw kernel daemon, fall back on process execution (#12736) Co-authored-by: Ian Huff <ianhuff@ravikun-dev2.redmond.corp.microsoft.com>

view details

Kartik Raj

commit sha e5e5417f391d362334a86839e676937e25b9cd9b

Ensure we only have a single isort process running on a single file (#12728) * Ensure we only have a single isort process running on a single file * Code reviews * Fix compile errors * Added tests * Add more tests * Code reviews * Remove internal tests and test the outcome instead * Fix hygiene errors * Oops

view details

Mikhail Arkhipov

commit sha 8d110b4915358b0fc66e869a21dfb48cd4b2ccc9

Merge branch 'master' of https://github.com/Microsoft/vscode-python into experiments

view details

push time in 6 hours

pull request commentmicrosoft/vscode-python

Add Pylance to languageServer setting enum

Please don't merge just yet. This was intentional.

joyceerhl

comment created time in 6 hours

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha e6c932f7233379ba2a45effea04d1cbb373a1723

Style

view details

push time in a day

PR opened microsoft/vscode-python

Activate banner prompt for Pylance
  • Unify banners code with base class

  • Suppress Pylance/LS banner for Jedi users for now

  • 100% Pylance banner for insiders and 50% for MPLS v1

  • Add appropriate tests

  • Update A/B experiments to handle Pylance

  • Move Pylance services and MPLS services to separate registration functions

  • [X] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).

  • [X] Title summarizes what is changing.

- [ ] Has a news entry file (remember to thank yourself!).

  • [X] Appropriate comments and documentation strings in the code.
  • [X] Has sufficient logging.
  • [X] Has telemetry for enhancements.
  • [X] Unit tests & system/integration tests are added/updated.

- [ ] Test plan is updated as appropriate. - [ ] package-lock.json has been regenerated by running npm install (if dependencies have changed). - [ ] The wiki is updated with any design decisions/details.

+602 -424

0 comment

18 changed files

pr created time in a day

push eventMikhailArkhipov/vscode-python

Joyce Er

commit sha 14acf9837ffa10082884c8a768d37126d8785f1f

DS: Hide commands for interacting with notebooks when active notebook is untrusted (#12657)

view details

Ian Huff

commit sha 2e4709397db658965ce9a8008b10579e8a6b8ca6

Fix linux tests to report correctly, get rid of stream destroyed messages on raw kernel shutdown (#12643)

view details

Rich Chiodo

commit sha 929195d4ebce66be21c9d3dcfe6c01a5a3d559d1

Add extensibility point to allow custom authorization (#12651) * Working idea? * Working prototype * Abstract out concept of the URI into a handle so can ask for it when appropriate. * Get azure ml compute to work without token in url * Add new extension * Refactor to have other extension supply test compute provider * Get to build * Fix test extension to build with webpack * Extract out user specific entries * Add unit tests * Fixup nbformat changes * Add news entry * Add directions for using to readme * Update styling * Fix failing tests * More functional test failures * Fix sonar error * Use IExtensions instead of vscode directly. * Some refactoring of the example extension * Preliminary api change * Fix up quick picker to go away * Update unit tests * Remove need for unnecessary 'as any' * Can call on second reopen with loading other extensions * Fix error message on reopen without checking extensions * Fix id to be readonly and add test for when no picker call made * Change package json to supply id as well Change uri provider registration to verify uniqueness of ids

view details

Don Jayamanne

commit sha b071d1752a1eaaebc7ec275051805f3fc98f5bb5

Ensure we can open VSCode Notebook with old editor (#12676) If we setup old editor to always open ipynb files, then opening with VSC Notebook doesn't work.

view details

Don Jayamanne

commit sha cb0791a0d22660efb33b21529e20c59d766ed608

Updates to Notebooks based on latest VSC API changes (#12672) For #10496

view details

Eric Snow

commit sha a6db5c036d2e3ad3b51c8b92136eae7ec4704c23

Use composition rather than inheritance for ProtocolParser. (#12680) For #12679 This fixes some inversify-related test failures.

view details

Rich Chiodo

commit sha 8bb3ddf71e61bb33ce06c0dc91250e0fd82e98f6

Add package name to output (#12683)

view details

Don Jayamanne

commit sha 0ac275750dce0d83bdf59770fafb69734a51dd0b

Register notebook with VSC only in Insiders (#12681) For #10496 If the API changes, and user is not using the VSC Notebooks or insiders, then swallow errors. Do not register API against stable version of VSCode. Also fixed a test. Basically we need to ensure VSC works when using this API and not crash if the API changes.

view details

Joyce Er

commit sha 21fcb0b21086d302b7f01f012cee3b0c18ac2494

DS: Fixes for trusted notebooks UI (#12685) * Prompt to trust notebook should be error message * Fix apparent bug with markdown editor styling This was causing the markdown cells to jut out 2 pixels to the right of the middle content bar * Refactor readOnly markdown props for consistency * Sign up for keydown / up events when props.readOnly changes

view details

Kartik Raj

commit sha 678e016c86079abc557e6a1a6daab20ba05295ed

Log time taken by pytest hook and increase timeout (#12682)

view details

Eric Snow

commit sha 53e6fcebae17c582367013a0575c7b0b7d9e0087

Move remaining "virtual"-env-related code to the py-envs component tree. (#12516) This change is part of the work to isolate a "component" for Python environments. The focus here is on pulling over the remaining significant sections of code belonging to the "discovery" portion of the py-envs component. There are a few pieces here and there but we'll get those pulled over in later phases. For those most part this PR only moves code between files. In some cases this involves refactoring code so that part of it can be moved.

view details

Rich Chiodo

commit sha 2ac130e64993790bb8500e3227c0808487149213

Fix variable flash when using run by line (#12687) * Add refresh count where appropriate * More refresh cases * Fix run by line test. * Add news entry

view details

Nicolas Kruchten

commit sha ab1eadfb5f846d84969e4ae401f308a337c58b00

Bump plotly.js to 1.54.5 (#12609) * Bump plotly.js to 1.54.5 * update lockfile

view details

Rich Chiodo

commit sha 7c6d40a458ead2083533a784f1501029160dfc5e

Give restarts a chance when running debugger tests (#12696)

view details

Rich Chiodo

commit sha 3a926e25c4499ab85b9604ca3e65aa3186048e09

Refactor ipywidget tests to use real kernel to wait for idle (#12695)

view details

Don Jayamanne

commit sha 05d9e4125bd2e39fea0235792495682ddaa18eaf

Add icon to restart kernel for VSC Notebooks (#12686) For #10496 Existing icon used for restart icon

view details

Peter Law

commit sha 58220ca200dadbdc19f616bfc44b4022f1e54c3b

Update to Jedi 0.17.1 (#12471) * Update to Jedi 0.17.1 This brings completions for Django (via django-stubs, which is now included in Jedi) as well as support for Python 3.9 and various bugfixes (mostly around generic type annotations). * Rename news entry to match GitHub issue

view details

Rich Chiodo

commit sha 744cb928d258a494f9797075fcb6baee0801ce01

Fix export from the interactive window (#12704) * Fix export from the interactive window * Make sure to reset flag at beginning of every test. * Potential fix for linxu

view details

Karthik Nadig

commit sha f8a31a3cea8721eaa4abb5bc9bed317a7b0b701f

Merge back release into master (#12701)

view details

Don Jayamanne

commit sha ea4026367449aca9a0e966514ac4c4801fbfa074

Tests for opening multiple notebooks and toggling (#12703)

view details

push time in a day

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha 86a5767dd3dbedfa05f8594bfe14941b9c6d4301

More tests

view details

push time in 5 days

delete branch MikhailArkhipov/vscode-python

delete branch : lssurvey

delete time in 6 days

push eventmicrosoft/vscode-python

Mikhail Arkhipov

commit sha 7d2d03654595f1935a2ab7586647254ab7c47d3c

Remove language server survey (#12677) * Fix path * Actually fix settings * Add news * Add test * Format * Suppress 'jediEnabled' removal * Drop survey first launch threshold * Remove LS surver * More removal * One more * Typo * Remove unused

view details

push time in 6 days

PR merged microsoft/vscode-python

Remove language server survey skip news
  • [X] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • [X] Title summarizes what is changing.

- [ ] Has a news entry file (remember to thank yourself!). - [ ] Appropriate comments and documentation strings in the code. - [ ] Has sufficient logging. - [ ] Has telemetry for enhancements.

  • [X] Unit tests & system/integration tests are added/updated.

- [ ] Test plan is updated as appropriate. - [ ] package-lock.json has been regenerated by running npm install (if dependencies have changed). - [ ] The wiki is updated with any design decisions/details.

+6 -464

1 comment

16 changed files

MikhailArkhipov

pr closed time in 6 days

push eventMikhailArkhipov/vscode-python

Don Jayamanne

commit sha c646c19bb7ef2674770cc0075764130aeef31460

Change hot exit to create new files for each backup (#12377) For #12376 For #10496 Changes due to the way VSC works. After VSC calls the backup method, the previous backup is deleted. This means each backup is unique (hence the backup id must be unique) Fix for VSC Notebooks and Custom Editor

view details

Ian Huff

commit sha 2a5d899d5ee8d80a1a73364d957cbb26eb72de90

update button count (#12381) Co-authored-by: Ian Huff <ianhuff@alex-x230.northamerica.corp.microsoft.com>

view details

Eric Snow

commit sha ab795f5177a4fb38e8bef0e7f356334db25f3676

Move code related to Python version to the py-envs component tree. (#12236) This mostly involves moving code, and only minor refactoring (to pull the component code out of the DI-based classes).

view details

Rich Chiodo

commit sha 9ab353a71fcd12746cf246640f99ade31d6514e8

Infrastructure for mounting more than one webview at a time (#12382) * Beginnings of new idea * Rework all caes to use new way to fetch wrapper * Fix missed messages * Missed messages being dropped * Make role specific * More dispose fixes * Teardown is not being called if a test is skipped * Upgrade mocha and create factory for mounted web views * Fix failing functional test and make options correct * Fix unit test failures caused by new mocha

view details

Rich Chiodo

commit sha 71390fb7c0d9153445d9939854910aafb33bdc8f

Add test that validates interactive and notebook editor at the same time (#12384) * Add test to open both interactive and native at same time * Add news entry

view details

Eric Snow

commit sha 5b55c599693bad5685e631e44ea5d8d8e8929a6d

Consolidate "info" under pythonEnvironments/info/. (#12383) This change is part of the series of changes related to factoring out an isolated Python environments "component" (specifically the "discovery" subcomponent). This change only moves files around.

view details

Tim Ruscica

commit sha 9d382de3b594fbcd3222e96e52324772955b46f9

Added exporting notebook to HTML (#12375) * export working * added export base * file opens when click yes button * small changes to exportManagerFileOpener * small changes * added tests for html (new file) * localized string * added news file * added missing keys to package.nls.json * addressed comments * removes strange space * checked exported file is HTML file * modified test * fixed tests * changed launch.json back to original

view details

Brett Cannon

commit sha 00d9ddfdea0bfcf0fd4a2bb694a35ce224705865

Explicitly add the GitHub release step

view details

Rich Chiodo

commit sha a03edb51066adcd4721c95bb9eff781ad07d1b7d

Merging changes back from the release branch (#12393) * Port custom editor changes to release branch (#12222) * Implement the changes necessary to use the new custom editor (#12188) * Turn on custom editor again * Fix copy problem * Fix copy problem again * Get undo/redo to work * Some fixes for synching more than one editor * Fix untitled. Fix timeouts * fix command manager to not be used. Not necessary with temp path. fix delete/insert commands to undo properly * Fix functional test * Add experiment * Since package json is enabling proposed api, turn of notebooks with experiment * Turn off proposed api * Upgrade VS code to 1.45 so can use new api outside of insiders * Update package.json dynamically * Fix merge code to handle arrays * Fix unit tests. Backup happens at the provider level now * Fix hygiene * Fix untitled to work for old provider too * Some feedback and attempt to fix URI problem on linux/mac * Review feedback * Update changelog * Remove news entry * Port run by line stepping fix to release (#12223) * fix continue event to run cell (#12211) Co-authored-by: Ian Huff <ianhuff@alex-x230.northamerica.corp.microsoft.com> * update changelog and delete news file Co-authored-by: Ian Huff <ianhuff@alex-x230.northamerica.corp.microsoft.com> * Port run by line stop becoming interrupt to the release branch (#12271) * Run by line changes for release (#12256) * Run by line changes for release * Translate step tooltip and make sure F10 works outside of already debugging * Update changelog * Cherry-pick fixes from master to june release (#12282) * Merge stuff from may release back into master (#12233) * Revert vscode-extension-telemetry changes for the release (#11602) (#11656) * Revert "Fix slashes in telemetry unit tests (#11572)" This reverts commit 7431c9c53fa5f80fd440b47ae19a825286d3d760. * Revert "Use vscode-extension-telemetry for our exceptions & error telemetry (#11524)" This reverts commit d5065e6976ab8bf3289d70be4a34110a53b224c5. * Remove from changelog * Port storage fix to release branch (#11673) * Fix storage not being used (#11649) * Fix storage not being used * Add disposable to storage so it won't write after shutdown * Fix dirty title * Hack to get tests to pass * Another way to get run all to not interfere * Update changelog * Port scrolling fix to release (#11688) * Fix scrolling (#11681) * Fix scrolling * Review feedback - fix scrolling on expand/collapse * Update changelog * Update package.json Co-authored-by: Jim Griesmer <jimgries@microsoft.com> * Cherry-pick pipenv changes and pythonpath prompt changes to release (#11700) * Show the prompt again if user clicks on more info (#11664) * Show the prompt again if user clicks on more info * Review feedback * Use Learn more as text for the link. * Leave pipenv in a corner until the user decides to select an interpreter (#11654) * add onSuggestion option * Swap onActivation with onSuggestion * Update unit tests * Remove registration of IPipenvService * Move didTriggerInterpreterSuggestions logic inside pipenv locator * Fix existing unit tests * Add new unit tests * Replace typemoq any param with object * Shorten the tests * Fix warning * Duplicate teardown Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com> * Update extension version (#11730) * Update extension version * Update date in changelog. * Update change log with additional notes. (#11764) * Cherry picks and version updates for bug fix release (#11878) * Do not execute shebang as an interpreter until user has clicked on the codelens enclosing the shebang (#11816) * Do not execute shebang as an interpreter until user has clicked on the codelens enclosing the shebang * Rename * Oops * Update src/test/providers/shebangCodeLenseProvider.unit.test.ts Co-authored-by: Karthik Nadig <kanadig@microsoft.com> Co-authored-by: Karthik Nadig <kanadig@microsoft.com> * Update version and change log for bugfix release Co-authored-by: Kartik Raj <karraj@microsoft.com> * Cherry-pick ExP platform work from master (#12160) * User cannot belong to all experiments in an experiment group (#11945) * 10790 prep - Create an experiments/ folder (#11980) * experiments.ts -> experiments/manager.ts * eexperimentGroups -> experiments/experimentGroups * test/experiments.u.t -> test/experiments/manager.u.t * experimentGroups -> groups * Whoops committed one file too many * Add support for VS Code's experiment service (#11979) * Add npm package * News entry * experiments.ts -> experiments/manager.ts * Wrong issue number * eexperimentGroups -> experiments/experimentGroups * Move experiments.unit.tests.ts -> experiments/ * Commit new files * Merge gone sideways * Add types * Add opt in/out handling * Activation (service registry) * Don't pin tas-client to one version * Unit tests + fixes * Lol forgot to remove a comment + add headers * Forgot 'use strict' in service.ts * Use IApplicationEnvironment instead of IExtensions * Apply suggestions from code review Co-authored-by: Don Jayamanne <don.jayamanne@yahoo.com> * Remove unnecessary formatted props * n e v e r m i n d * Aight fixed it * flight -> experiment * Check stub calls instead of ctor impl * removed getExperimentService stub check * Set shared properties for all telemetry events * Add test for shared properties Co-authored-by: Don Jayamanne <don.jayamanne@yahoo.com> * Fix merge issues * Fix index unit tests * Revert "Fix index unit tests" This reverts commit 2fb61fc366c2c55b5c4b9c34e766ffbbcd50be74. * Make MPLS and vscode-extension-telemetry work together 🤝 (#11823) * Revert "Revert vscode-extension-telemetry changes for the release (#11602)" This reverts commit 71d17932d3268fb20c55e745a82f2da8bf1f3d0c. * Remove entry from changelog + add new news entry * Update LS code to use periods instead of slashes * Revert "Update LS code to use periods instead of slashes" This reverts commit 13566513a86bbe63365cfc16c387fe4c504bfc10. * Replace slashes before sending telemetry instead * Too fast too furious * Fix more merge issues Co-authored-by: Don Jayamanne <don.jayamanne@yahoo.com> Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com> * Update version and changelog for point release (#12171) * Ensure extension features are started when in Deprecate PythonPath experiment and opening a file without any folder opened (#12182) * Ensure extension features are started when in Deprecate PythonPath experiment and opening a file without any folder opened. * Added comments * Update change log (#12190) * Cherry pick fix for hasInterpreters and update change log (#12198) * Double-check for interpreters when running diagnostics (#12158) * Get interpreters if hasInterpreters returns false * Undo ignoreErrors() * Add unit tests * Fixed tests * Newline * Fix merge issues. * Update change log Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com> * Update version for point release (#12259) Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com> Co-authored-by: Rich Chiodo <rchiodo@users.noreply.github.com> Co-authored-by: Jim Griesmer <jimgries@microsoft.com> Co-authored-by: Kartik Raj <karraj@microsoft.com> Co-authored-by: Don Jayamanne <don.jayamanne@yahoo.com> * Make Jedi the default LS (#12226) * Make Jedi the default LS * Add news entry * Update change log Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com> Co-authored-by: Rich Chiodo <rchiodo@users.noreply.github.com> Co-authored-by: Jim Griesmer <jimgries@microsoft.com> Co-authored-by: Kartik Raj <karraj@microsoft.com> Co-authored-by: Don Jayamanne <don.jayamanne@yahoo.com> Co-authored-by: Luciana Abud <45497113+luabud@users.noreply.github.com> * Port raw auto start fix to release (#12288) * don't return a connection from the raw provider for getOnly (#12277) Co-authored-by: Ian Huff <ianhuff@alex-x230.northamerica.corp.microsoft.com> * update changelog and remove news entry Co-authored-by: Ian Huff <ianhuff@alex-x230.northamerica.corp.microsoft.com> * Rchiodo/rel june update (#12356) * Update security problems * Update release version * Update 3rd party notices * Add font awesome back to third party notices * ExP telemetry fixes (#12358) * Use extension channel instead of VS Code channel * Use publisher.name extension id (not just name) * Update vscode-tas-client Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com> * Port start page to release (#12365) * start page experiment and fixes (#12339) * move EnableStartPage enum to groups.ts * - remove the command from the experiment - fix the start page not loading when you go back to a priviews version and then updating again - update some labels in the start page - update the sample notebook to include run by line - the sample notebook now has a title - updated the images from the sample notebook * oops * oops * -add messages to open folder and workspace -add telemetry to measure if the webview error happens -give space between bullet points -add link to enable experiments to the sample notebook -get the release notes from a different file -fix bullet points in the sample notebook -sample notebook now opens with a counter in the title * fix a unit test * final changes * final final changes * final^3 changes * removed run by line from the sample notebook * Fixup after merge Co-authored-by: David Kutugata <dakutuga@microsoft.com> * Fixup bad merge * Last changes before release (#12371) Co-authored-by: Ian Huff <ianhu@microsoft.com> Co-authored-by: Ian Huff <ianhuff@alex-x230.northamerica.corp.microsoft.com> Co-authored-by: Karthik Nadig <kanadig@microsoft.com> Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com> Co-authored-by: Jim Griesmer <jimgries@microsoft.com> Co-authored-by: Kartik Raj <karraj@microsoft.com> Co-authored-by: Don Jayamanne <don.jayamanne@yahoo.com> Co-authored-by: Luciana Abud <45497113+luabud@users.noreply.github.com> Co-authored-by: David Kutugata <dakutuga@microsoft.com>

view details

Don Jayamanne

commit sha 3d829fc170ed9eedc17a8c58c648a988dcfeead0

Allow users to open VSC notebook even when using our own Notebook Editors (#12402) For #12400 * Side by side nb editors

view details

Don Jayamanne

commit sha 37a12b6c764001735fef8e1b2c9bf82d44c083c1

Add menu item to open nb with VSC Notebook (#12406) For #12405 Enable menu item only in VSC Insiders.

view details

Hugues Valois

commit sha e418ddec57ce2cad5875f6291fe7f845b2c51978

Do not trigger unnecessary work in language server when formatting a document (#12097) * Change getTempFileWithDocumentContents to not use the document's original file extension. Instead, use the .tmp extension which is not associated with Python language. This prevents a file add/delete event from reaching language server, invalidating some of its cache and causing unnecessary work. * Fix build. Co-authored-by: Don Jayamanne <don.jayamanne@yahoo.com>

view details

Rich Chiodo

commit sha 3ad61b1662f6ac068a482ed4d6455b5c8a4511c0

Add fixes for ipywidgets (I hope) and live share. (#12409)

view details

Don Jayamanne

commit sha 29e844c6dfa227857626f8e09c5e2f8431f04293

Disable use of proposedApi in stable VS Code (#12411) * Fixes to using Native NB with stable VS Code * Fixes

view details

David Kutugata

commit sha 2003e013e6d310a7d9da1df709d2210b9e85cc1c

Fix HTML links in markdown (#12395) * try string manipulation, katex and markdown-it * try to use markdown-it-latex * try to use latex2html5 * clean up latexManipulartion.ts and cellOutput.tsx * remove unused changes * add tests * rename latexManipulation to markdownManipulation * add news file and rename the test file * update package-lock * added one more test and a try catch * separate the fix of latex and links into different functions, and add comments to the fixLinks function

view details

Don Jayamanne

commit sha ae8903d41416e14078989f7460116d659bcbda61

Fixes to reverting notebooks (#12410)

view details

Kim-Adeline Miguel

commit sha 98e6aa5dfbb404ab44cdceff1328143e32dc5ed8

Pin py to 1.8.1 (Windows test failures) (#12407)

view details

Ian Huff

commit sha ea1c3c0c94c52cd3111b5d9b89a55f7b66eea6c5

turn on zmq for five percent (#12426) Co-authored-by: Ian Huff <ianhuff@alex-x230.northamerica.corp.microsoft.com>

view details

Rich Chiodo

commit sha ff06604524c1ed6463a36479a5edb59bf72c588c

Fix regression caused by multiple language support around indentation (#12428) * Fix serialization of language configuration to match what VS code does. * Add news entry * Missing parts of the configuration (functional test caught bracket matching) * Add test for indentation

view details

Mikhail Arkhipov

commit sha 4477900742b0dea66a9c1219a8e16b5254f2f69d

Actually fix settings

view details

push time in 6 days

created tagMikhailArkhipov/vscode-python

tag2020.6.91350

Python extension for Visual Studio Code

created time in 6 days

issue commentmicrosoft/pylance-release

Failed to load ONNX runtime

I'd suggest opening issue at https://github.com/MicrosoftDocs/intellicode/issues directly.

dzanaga

comment created time in 6 days

issue commentmicrosoft/pylance-release

Failed to load ONNX runtime

See also https://stackoverflow.com/questions/20357033/usr-lib-x86-64-linux-gnu-libstdc-so-6-version-cxxabi-1-3-8-not-found

dzanaga

comment created time in 6 days

issue commentmicrosoft/pylance-release

pylint checks with pylance enabled

This looks like a bug, LS activation does turn off linter by default but explicit setting should work. This may need to get ported to https://github.com/Microsoft/vscode-python

yankyhoffman

comment created time in 6 days

issue commentmicrosoft/pylance-release

Failed to load ONNX runtime

I believe so, yes.

dzanaga

comment created time in 6 days

issue commentmicrosoft/pylance-release

Are there any plans to eventually make Pylance open source?

The core is here https://github.com/Microsoft/pyright and is open. Pyright is an extension and provides language server as well.

bbkane

comment created time in 6 days

issue commentmicrosoft/pylance-release

Failed to load ONNX runtime

This is a known issue, specific to IntelliCode. It will be fixed soon. Basically openmp dependency is missing. You may try installing one though.

dzanaga

comment created time in 6 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha e0b2c90b1d24d9ad5e0397cd00424b676f1002ad

Remove unused

view details

push time in 7 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha 50b2109b3fb2314ae13d050203b78ab46f228734

Typo

view details

push time in 7 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha fcfa75ace01ba1ec266cc2942b4a65e9a9eb9125

One more

view details

push time in 7 days

PR opened microsoft/vscode-python

Remove language server survey
  • [X] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • [X] Title summarizes what is changing.

- [ ] Has a news entry file (remember to thank yourself!). - [ ] Appropriate comments and documentation strings in the code. - [ ] Has sufficient logging. - [ ] Has telemetry for enhancements.

  • [X] Unit tests & system/integration tests are added/updated.

- [ ] Test plan is updated as appropriate. - [ ] package-lock.json has been regenerated by running npm install (if dependencies have changed). - [ ] The wiki is updated with any design decisions/details.

+3 -454

0 comment

15 changed files

pr created time in 7 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha d7dc7b1ed623730e7891627754056a6d789682b5

More removal

view details

push time in 7 days

create barnchMikhailArkhipov/vscode-python

branch : lssurvey

created branch time in 7 days

create barnchMikhailArkhipov/vscode-python

branch : banners

created branch time in 7 days

push eventMikhailArkhipov/vscode-python

Luciana Abud

commit sha 096c601ecbfd39816cff06896cdd8a22aec8896d

Remove ** from activation rule in package.json for workspaces with mspythonconfig.json (#12636) * Removing ** from activation rule on presence of mspythoncofing.json file * Add news entry

view details

David Kutugata

commit sha 03e8ad5a9f64df4a8dff5a5a6e983340a6550561

More start page telemetry (#12647) * add telemetry for the start page * add news file

view details

Don Jayamanne

commit sha 2960baff6d992e957830238307903c3d6d29d631

Fix flaky Daemon and MimeType tracker tests (#12646) For #12567, #12637 Use a better package for a fake clock. Added more comments in one of the damon pool tests.

view details

Joyce Er

commit sha 2a1c244fb1797b4082ea8fd1120b2356fc727c31

DS: Open untrusted notebooks as readonly (#12579)

view details

Mikhail Arkhipov

commit sha e0b80243727c598583a073c981c17958328711eb

Language server name (#12653)

view details

Don Jayamanne

commit sha 5a4954ad4e10448902c53f782574ca030d8ba5d3

Fix unit test issues when using ts-node on GHA (#12670) For #12669

view details

Don Jayamanne

commit sha ee929acb9492172b035079b1b1cd20a29d7a3104

Fixes to opening VSCode Notebook (#12671) For #10496 Not sure how, but some changes seem to have gone amiss.

view details

Don Jayamanne

commit sha 2cabccc37d5a94824da3c3570a9b07b8e4c59c3d

Download & install renderer extension when opening a VSC Notebook (#12652) Disabled, until the Renderers Extension can be shipped.

view details

Mikhail Arkhipov

commit sha 52a43259efeb5d017de3f5aa58259654a281fc5a

Merge branch 'master' of https://github.com/Microsoft/vscode-python

view details

push time in 7 days

delete branch MikhailArkhipov/vscode-python

delete branch : name

delete time in 7 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha b9a7c13acb14ed582b52394215c7a9a7a1e36ba0

Change string

view details

push time in 8 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha 5db36aceb4f374f6f1cbf1c37ece17bf6b4dd360

Undo

view details

push time in 8 days

PR opened microsoft/vscode-python

Language server name
  • [X] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • [X] Title summarizes what is changing.

- [ ] Has a news entry file (remember to thank yourself!).

  • [X] Appropriate comments and documentation strings in the code.
  • [X] Has sufficient logging.
  • [X] Has telemetry for enhancements.
  • [X] Unit tests & system/integration tests are added/updated.

- [ ] Test plan is updated as appropriate. - [ ] package-lock.json has been regenerated by running npm install (if dependencies have changed). - [ ] The wiki is updated with any design decisions/details.

+9 -14

0 comment

4 changed files

pr created time in 8 days

push eventMikhailArkhipov/vscode-python

Luciana Abud

commit sha 096c601ecbfd39816cff06896cdd8a22aec8896d

Remove ** from activation rule in package.json for workspaces with mspythonconfig.json (#12636) * Removing ** from activation rule on presence of mspythoncofing.json file * Add news entry

view details

David Kutugata

commit sha 03e8ad5a9f64df4a8dff5a5a6e983340a6550561

More start page telemetry (#12647) * add telemetry for the start page * add news file

view details

Don Jayamanne

commit sha 2960baff6d992e957830238307903c3d6d29d631

Fix flaky Daemon and MimeType tracker tests (#12646) For #12567, #12637 Use a better package for a fake clock. Added more comments in one of the damon pool tests.

view details

Joyce Er

commit sha 2a1c244fb1797b4082ea8fd1120b2356fc727c31

DS: Open untrusted notebooks as readonly (#12579)

view details

Mikhail Arkhipov

commit sha fcbe28dbc8295e495adf315dfec0ab200e20f681

Merge branch 'master' of https://github.com/Microsoft/vscode-python into name

view details

push time in 8 days

create barnchMikhailArkhipov/vscode-python

branch : name

created branch time in 8 days

delete branch MikhailArkhipov/vscode-python

delete branch : survey

delete time in 8 days

push eventMikhailArkhipov/vscode-python

Don Jayamanne

commit sha df69c426433fb0e26bb5596f8e1d51ea70242f9d

Fixes related to execution & clearing output of Native Notebooks (#12490) * Do not run cells if empty * Clearing output should clear status, exec times, cell execution count (added tests, to ensure execution_count is null) * When running a cell/nb we should set status of cell as running early on * Clearing output should mark document as dirty * Restoring running tests on CI (forgot to revert some changes)

view details

Joyce Er

commit sha bea5e97d3573b2492dc1699c2e3fd75d4c3766bd

Make node install version in contributing docs match ci.yml (#12528) * Make node version in docs match ci.yml * Update .nvmrc

view details

Ian Huff

commit sha 2cc6c95db59c71b14275b53d43a6f1eca0c93850

Fully handle iopub comm messages (#12512)

view details

Joyce Er

commit sha 3bb92e12a316601a4307feaf811cf6aaceef0109

DS: Ensure atomic key creation for use with trusted notebooks (#12515)

view details

Timothy Ruscica

commit sha 036621a3be73b8d7fb5f31d7acebd4a3b1106b55

Added export notebook to PDF (#12517) * temp work * started working on dependency checking * good start on pdf * removed space from label * added to command pallete * changed pdf method to TeX * fixed pdf title * removed unecessary changes * changed back package-lock.json * cleaned up dependency checker * made changes and add telemetry * changed from 2 to 1 error message * changed name for temp directory * removed duplicate import * removed mardown prefix * deleted temp file

view details

Joyce Er

commit sha 94ca7f73f2293b239b5380af79866b478cc365cf

DS: Compute and store trusted digests for notebooks (#12479)

view details

Timothy Ruscica

commit sha 0734d4ea990b4d4a0352d07117107e93a3cdd4e0

added tests for pdf export (#12548)

view details

Joyce Er

commit sha b24a014b3ec0f5ed5e4fb320b62eec18efde6831

DS: Display 'Trusted' / 'Not Trusted' on notebook load (#12466)

view details

Jake Bailey

commit sha d80bead813b44990173bd347f1ad804b3947bee7

Don't modify LS settings if jediEnabled does not exist (#12551)

view details

Don Jayamanne

commit sha 6afc0839101f2cce1e1073239c237805ad6376a4

Add Telemetry for VSC Notebooks (#12542) * Added some missing telemetry for VS Code Notebooks * Track the type of notebook used in various operations (running cell, interrupting kernels, etc, determine whether user is performing such operations while in Native/Custom/Old editor) * Added a type for INobteookEditor (temporary, until VSC Notebook is stable) * Ensure users cannot opt into VSC Notebook Editor experiment when in VSC Stable.

view details

Joyce Er

commit sha 791d7bed6b7c3f0d2852e32109616674642c1602

DS: Show banner prompting user to trust notebook (#12555)

view details

Pavel Minaev

commit sha fb501ecf321503ab928c98ab3e961a017c63b96f

Fix #12446: Stock launch.json "attach" configs should be using "connect" (#12504) Change RemoteAttachDebugConfigurationProvider to generate configs with "connect".

view details

Kartik Raj

commit sha c88b314d392d133588ce89eaf4c5694c7bc159d9

Skip flaky CI tests (#12566)

view details

Don Jayamanne

commit sha 14389ef979adc5f29494df9bb25a3f691458b850

VS Code Notebook survey (#12558)

view details

Kartik Raj

commit sha 3d1e2f7dde970c3b0f2b5554c5554908a17c09ab

Prompt users that we have deleted pythonPath from their workspace settings when in DeprecatePythonPath experiment (#12536) * Prompt users that we have deleted pythonPath from their workspace settings when in DeprecatePythonPath experiment * Oops * Code reviews * Code reviews

view details

Luciana Abud

commit sha 0b590caff690b96a74ed281255c3b0d64d512e82

Turn pythonPath experiment for 20% of users. (#12549)

view details

Jim Griesmer

commit sha 2f5234a3bdd387d3bb26831cd63f49fce34f3a1a

Update experiments.json (#12573)

view details

Rich Chiodo

commit sha a94c8b8d648034d199046dcd4a83eafb75d1ee06

Jupyter hub preliminary support (#12574) * Move request header generation into password generation * Connecting to token api * Working jupyter hub connection * Use multistep input * Remove token on shutdown * Support certificate checking * Skip waiting on shutdown * Get old unit tests passing again * Fix xsrf token to remove extra cookie crap * Test plan changes and new unit test * Fix linter and input box result * Fix sonar warning * Review feedback * Actually cookie not sent back for hub

view details

Kartik Raj

commit sha 2dbe02ba7619d4eaa147d31e37dfb55ef0edcaa8

Skip more flaky CI tests (#12577) * Skip more flaky CI tests * Oops * Special hook

view details

Rich Chiodo

commit sha 7003ead107165ee459c318a017cfec4de8674ebe

Run by line telemetry (#12583) * Run by line telemetry * Add hover telemetry

view details

push time in 8 days

created tagMikhailArkhipov/vscode-python

tag2020.6.90262

Python extension for Visual Studio Code

created time in 8 days

create barnchMikhailArkhipov/vscode-r

branch : http

created branch time in 8 days

issue commentmicrosoft/vscode-python

High CPU load and Intellisense not working

Does your project involve/has symlinks?

karrtikr

comment created time in 8 days

issue commentMikhailArkhipov/vscode-r

Exception: Key has expired for R Tools on Ubuntu 19.04

I can drop https to http via settings though. It may not be a good idea long term for remote sessions though.

kfish610

comment created time in 9 days

issue commentMikhailArkhipov/vscode-r

Reason: R Services broker process did not start on the machine 'VSCR'

https://docs.microsoft.com/en-us/visualstudio/rtvs/setting-up-remote-r-workspaces?view=vs-2017#install-an-ssl-certificate-on-ubuntu may help

chrisoswald

comment created time in 9 days

issue closedMikhailArkhipov/vscode-r

How to use conda R as interpreter in Windows 10

I have installed conda and R in Windows 10. Right now I have not added conda to my path, which is the recommended installation option.

Is there a way to have R Tools initiate a conda environment and use that R interperter?

closed time in 9 days

abalter

issue closedMikhailArkhipov/vscode-r

Mac: could not find part of path

Managed to load the package properly after some trial and error. But now I'm getting the following error when trying to open a terminal/run code:

"Could not find a part of the path '/Library/Frameworks/R.framework/Versions'."

Seems like the package is looking for R in that folder, but my R is installed by Homebrew and the executable is located in /usr/local/bin/R, and accessible as "R" in PATH. How do I change where the extension looks for the executable?

closed time in 9 days

adamaltmejd

issue commentMikhailArkhipov/vscode-r

Mac: could not find part of path

Try 0.0.9.

"r.interpreterPath": "C:\\Program Files\\R\\R-3.4.3"

i.e. root folder. without bin/x64

adamaltmejd

comment created time in 9 days

issue closedMikhailArkhipov/vscode-r

Bug (Possibly): Unable to find R interpreter

The RTVS plugin in VS Code seems unable to locate my R installation. It is possible that a cleaning programme like ccleaner has messed up with something, but what I do know is that the registry keys for R are there and the directory they point to, exists.

See pictures below.

1 2 3 4

closed time in 9 days

N1h1l1sT

issue commentMikhailArkhipov/vscode-r

Bug (Possibly): Unable to find R interpreter

Try 0.0.9.

"r.interpreterPath": "C:\\Program Files\\R\\R-3.4.3"

i.e. root folder. without bin/x64

N1h1l1sT

comment created time in 9 days

issue closedMikhailArkhipov/vscode-r

On Fedora extension can't find R interpreter

Hey,

So I installed R using sudo dnf install R which installs to the default location, then the extension, then the .Net Core 2.1 Runtime. At this point, it says it can't find the R interpreter. I go to the extension's ls folder and create Microsoft.R.Host.Broker.Config.json with:

{
"R": {
      	"interpreters": {
                "0": {
                      	"name": "R",
                         "basePath": "/usr/bin/R"
                }
        }
}
}

Is this the right location for this file? I had a really hard time figuring out where this file should be and this was my best guess since it already had similar files. I also thought the extension should detect the default R installation so I'm not really sure what is going on.

closed time in 9 days

DiDeoxy

issue commentMikhailArkhipov/vscode-r

How to use conda R as interpreter in Windows 10

Try 0.0.9.

"r.interpreterPath": "C:\\Program Files\\R\\R-3.4.3"
i.e. root folder. without bin/x64
abalter

comment created time in 9 days

issue commentMikhailArkhipov/vscode-r

On Fedora extension can't find R interpreter

Try 0.0.9.

"r.interpreterPath": "C:\Program Files\R\R-3.4.3" i.e. root folder. without bin/x64

DiDeoxy

comment created time in 9 days

issue commentMikhailArkhipov/vscode-r

Using radian as R interpreter

Try 0.0.9.

"r.interpreterPath": "C:\Program Files\R\R-3.4.3"

i.e. root folder. without bin/x64

reddy-ia

comment created time in 9 days

push eventMikhailArkhipov/vscode-r

Mikhail Arkhipov

commit sha df4928aa3de89d2e79254c088245b1b463aff857

Provide way to specify R path directly

view details

push time in 9 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha 3ed655b7f239d923598226cbc7ae9461f98ae266

Drop survey first launch threshold

view details

push time in 11 days

issue commentmicrosoft/python-language-server

high Memory Usage (again)

Try

"python.analysis.downloadChannel": "beta"

see of 0.5.51 is any better.

cottrell

comment created time in 12 days

issue commentmicrosoft/python-language-server

Language server stuck at "Loading" over remote ssh editing.

Try

"python.analysis.downloadChannel": "beta"

See if 0.5.51 is any better

cdancette

comment created time in 12 days

issue commentmicrosoft/python-language-server

High and growing memory usage (leak?)

Yes, one of the changes was better determination when analysis completes. Should be looping less.

ogrisel

comment created time in 12 days

issue commentmicrosoft/python-language-server

High and growing memory usage (leak?)

The setting is not 'public' so it is normal to be grayed out.

ogrisel

comment created time in 12 days

pull request commentmicrosoft/vscode-python

Don't modify LS settings if jediEnabled does not exist

LGTM. Over to owners to approve.

jakebailey

comment created time in 13 days

issue commentmicrosoft/python-language-server

High and growing memory usage (leak?)

Try

"python.analysis.downloadChannel": "beta"

See of 0.5.51 is any better.

ogrisel

comment created time in 13 days

push eventMikhailArkhipov/vscode-python

Don Jayamanne

commit sha af7bafc1eaecdf406002fa5a926265a2b65fef46

Changes to VSCode Notebook cell to INotebookModel cell mapping (#12296)

view details

Rich Chiodo

commit sha e066c28176dbb1b2e282642622d65317866f9ca9

Fix layout causing repaints and rescrolls when unnecessary. (#12300)

view details

Rich Chiodo

commit sha daa467deed4e46b92181be20060f3147afffa38e

Fix problems with a python kernel not handling json with numbers (#12293) * Fix environment values that aren't strings. * Consolidate in one function * Fix unit test * Make unit test verify env * Review feedback

view details

Don Jayamanne

commit sha bc248068103787ff0914850ab39e2e9c1754345c

Single experiment group for nb editors (#12301)

view details

Rich Chiodo

commit sha aeab323b79599770892855201fcd5724382827b0

Isolate node fetch for jupyter to use our own (#12304)

view details

Don Jayamanne

commit sha ff1d4b03b7fee4bc2bfeacb563476ba3d7f993e1

Ability to clear cell output in NativeNotebook (#12307) For #10496 For #12274 Fixing #12274 only for native notebooks here. Was an easy fix.

view details

Don Jayamanne

commit sha 01b6114383fe4998e30dc062e80df4ca16eda063

Update VSC Notebook API (#12333)

view details

Rich Chiodo

commit sha f9ab42aa0b74ed244b57f3b6234bd1cc0752044c

Fix the 'type code here' to disappear appropriately. (#12336) * Fix overlay showing up when it's not supposed to * Add news entry

view details

Don Jayamanne

commit sha e28a3935667d9455c02f9847cd710bd1840f4e72

Add shortcuts for cut, copy, paste and split cells (#12338) For #10496 Jupyter keyboard shorcuts for cut, copy, paste & split cells

view details

Tim Ruscica

commit sha e121d5a67b7b7b777998733bae9ae5788c91d55f

Refactored exporting notebooks to python script (#12232) * some work done * linking done * quickpick menu working * added command pallete commands * moved to commandRegister * started work on file saving * file saving started * some work done * linking done * quickpick menu working * added command pallete commands * moved to commandRegister * started work on file saving * file saving started * handled some saving edge cases * moved to new file * more work * started on exportbase * saving almost done * removed save prompt * fixed * working in new files * changes to export base * small fixes * export to python workin * added tests * removed unused injections * started work on dependency checking * cleaned up * removed broken lines * attempt to fix failing tests * attempt to fix failing tests 2 * attempt to fix failing tests 3 * unmodified launch.json * created export commands * refactoring and working on dependency checks * split functionallity into multiple classes * hopefully fixed tests * almost done file opening for python * cleaned up * made test * removed notebookeditorprovider as dependency * fixed small bugs * fixed small bugs * removed sleep * fixed default file name * fixed filename when saving * added instructions for adding new export method * added missing lines to package.nls.json * python export behaviour changed to original * fixed test * added readme instructions * fixed test * fixed other test * fixed lint * fixed one test * fixed final test and made export command hidden * moved type defs into types.ts * localized text * added types file * added localized test to package.nls.json

view details

Kim-Adeline Miguel

commit sha 86bd356a2b974bef87a1f433798b5ccc1c776b87

ExP telemetry fixes (#12358) * Use extension channel instead of VS Code channel * Use publisher.name extension id (not just name) * Update vscode-tas-client

view details

Don Jayamanne

commit sha 99c6f91325a02035fe006f47229d0a184d272941

Remove hardcoding of languages (#12341) For #10496 Removed hardcode language to Python (derive from nb metadata if available) Removed some code/comments related to upstream VSC issues.

view details

Don Jayamanne

commit sha b5332bcbe4c62f879171e7c19a2f4249ef8c9144

Ignore other notebooks (avoid conflicts with non jupyter nbs) (#12335) For #10496 Ensure we do not treat notebooks such as Github Issues NB as one of ours.

view details

David Kutugata

commit sha ba9298cb479807238cd9fa363560eeaa5a49c4e5

start page experiment and fixes (#12339) * move EnableStartPage enum to groups.ts * - remove the command from the experiment - fix the start page not loading when you go back to a priviews version and then updating again - update some labels in the start page - update the sample notebook to include run by line - the sample notebook now has a title - updated the images from the sample notebook * oops * oops * -add messages to open folder and workspace -add telemetry to measure if the webview error happens -give space between bullet points -add link to enable experiments to the sample notebook -get the release notes from a different file -fix bullet points in the sample notebook -sample notebook now opens with a counter in the title * fix a unit test * final changes * final final changes * final^3 changes * removed run by line from the sample notebook

view details

Don Jayamanne

commit sha 92e9f7aeb7b8cdac2ce0c82a3011ce0baa430b8b

Telemetry for notebooks (#12363) For #12321 Moved code out of NativeEditorProvider and NotebookEditorProvider (tracking of opened notebooks, etc - identical code) Added telemetry that exists in Native Editor & not in Notebook

view details

Ian Huff

commit sha 7f44848edaaa3592dddc7c565bb01915359aee4f

Raw kernel auto start fix + (#12337)

view details

Don Jayamanne

commit sha 972713806e83203b394d875f2346343043c7f398

Support hot exit in notebooks (#12367) * Support hot exit in notebooks * Fix types * Fix tests

view details

Jake Bailey

commit sha 1cd6bb7ffefc46f8156c0da30b6aa7106b79e7b4

Manually send didConfigurationChange on interpreter change (#12366)

view details

Don Jayamanne

commit sha c646c19bb7ef2674770cc0075764130aeef31460

Change hot exit to create new files for each backup (#12377) For #12376 For #10496 Changes due to the way VSC works. After VSC calls the backup method, the previous backup is deleted. This means each backup is unique (hence the backup id must be unique) Fix for VSC Notebooks and Custom Editor

view details

Ian Huff

commit sha 2a5d899d5ee8d80a1a73364d957cbb26eb72de90

update button count (#12381) Co-authored-by: Ian Huff <ianhuff@alex-x230.northamerica.corp.microsoft.com>

view details

push time in 14 days

created tagMikhailArkhipov/vscode-python

tag2020.6.89148

Python extension for Visual Studio Code

created time in 14 days

issue commentmicrosoft/python-language-server

[MS Language Server] Go to definition cannot traverse workspaces

This would require fundamental rework of the LS since it is designed to handle one workspace only. So it is unlikely to happen in the near term.

DonJayamanne

comment created time in 14 days

issue commentMicrosoftDocs/intellicode

Intellicode not showing starred suggestions

I guess the Q is what Linux it is since native dependency if for Linux, i.e. where VS Code core runs.

psycoxer

comment created time in 15 days

issue commentmicrosoft/vscode-python

Add a way to restart the Python Language Server

TS server is a different product, implemented in a different language and running in a different environment. There are also fundamental differences in how LS are activated and wired up. Different LS are not always comparable.

It is doable but amount of work is far from small. Restart may be a solution for mentioned above issues with git or pip installs, but if LS crashed or got stuck analyzing something, it most probably will crash or get stuck again... The underlying issue is should be fixed preferably.

Lexicality

comment created time in 16 days

issue closedmicrosoft/python-language-server

separate language server to standalone directory , avoid re-download it when extension auto update

I notice that when python extension update, a new extension directory like ~/.vscode-server/extensions/ms-python.python-2020.5.80290 will be set up.
then i have to re-download the same version of language server because the old one was deleted by this update. it's not easy, because I am in China mainland. I have to wait for some miniutes with less than 10 kb/s network. is there any possible to avoid this unnecessary download ?

closed time in 18 days

luliangce

push eventMikhailArkhipov/python-language-server

Mikhail Arkhipov

commit sha 2aef1f818cad6c8ebfb2d459587fee214303ccd3

Allow navigation to stubs (#1960) * Remove stale reference * Don't suppress LHS diagnostics on augmented assign * Revert "Don't suppress LHS diagnostics on augmented assign" This reverts commit 6109ac761f1c2398c5ca6b4f38826cfb28051454. * Escape [ and ] * PR feedback * Allow navigation to stubs * Better handle stubs for compiled modules * Fix typeshed path * Partial undo * Partial undo * Undo accidental change

view details

Mikhail Arkhipov

commit sha 838ba78e00173d639bd90f54d8610ec16b4ba3a2

Undo loop optimization (#2077) * Undo loop optimization * Undo loop optimization * Restore changes from unmergeable PRs * Unused file * Port changes from skipper PRs * Minimize changes * Further minimize * Further simplify * Fix test

view details

Mikhail Arkhipov

commit sha 49733cab1666f4e0531b00469245d21ad4966026

Merge branch 'master' of https://github.com/microsoft/python-language-server

view details

push time in 18 days

delete branch microsoft/python-language-server

delete branch : u3

delete time in 18 days

delete branch microsoft/python-language-server

delete branch : u

delete time in 18 days

issue closedmicrosoft/python-language-server

Steps to download and install and offline version of python language server

Hi I am using VSCODE with the Microsoft Python extension. For IntelliSense I wanted to use Microsoft-python language server (instead of default Jedi server) Our project code base is IP protected and can only be accessed on Linux remote machines. Hence we have VSCODE and python extension installed in our Linux environment, on these machines we don't have internet access. Can someone please help me to learn how I can download and install an offline version of Microsoft python language server? so that I can use it with our VSCODE installation with python extension?

Today I am facing this error message : image

closed time in 18 days

sourabh2902

issue commentmicrosoft/python-language-server

Find all References does not search in subdirectories

LS is updated independently from VS Code. It is already out in daily channel. If all good, we promote to beta and then to stable. Set

"python.analysis.downloadChannel": "daily"

then restart. You should get 0.5.51.

PhilipMay

comment created time in 18 days

issue commentMicrosoftDocs/intellicode

Intellicode not showing starred suggestions

Here it is then. IntelliCode is unable to load native library.

Unhandled exception. System.TypeInitializationException: The type initializer for 'Microsoft.ML.OnnxRuntime.NativeMethods' threw an exception.
 ---> System.DllNotFoundException: Unable to load shared library 'onnxruntime' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libonnxruntime: cannot open shared object file: No such file or directory
   at Microsoft.ML.OnnxRuntime.NativeMethods.OrtGetApiBase()
   at Microsoft.ML.OnnxRuntime.NativeMethods..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.ML.OnnxRuntime.SessionOptions.Dispose(Boolean disposing)
   at Microsoft.ML.OnnxRuntime.SessionOptions.Finalize()
psycoxer

comment created time in 18 days

issue commentmicrosoft/python-language-server

Find all References does not search in subdirectories

0.5.51 in daily channel

PhilipMay

comment created time in 19 days

issue commentmicrosoft/python-language-server

Steps to download and install and offline version of python language server

https://github.com/microsoft/vscode-python/blob/master/src/client/activation/languageServer/languageServerPackageService.ts

https://github.com/microsoft/vscode-python/blob/master/src/client/activation/languageServer/platformData.ts

URLs: https://github.com/microsoft/python-language-server/issues/1916. Specific version is not guaranteed to exist, we do not keep all versions and old ones are getting trimmed.

URL the same as Windows, package name construction by channel and platform see the code. Example https://pvsc.blob.core.windows.net/python-language-server-stable/Python-Language-Server-linux-x64.0.5.50.nupkg

sourabh2902

comment created time in 19 days

push eventmicrosoft/python-language-server

Mikhail Arkhipov

commit sha 838ba78e00173d639bd90f54d8610ec16b4ba3a2

Undo loop optimization (#2077) * Undo loop optimization * Undo loop optimization * Restore changes from unmergeable PRs * Unused file * Port changes from skipper PRs * Minimize changes * Further minimize * Further simplify * Fix test

view details

push time in 19 days

PR merged microsoft/python-language-server

Undo loop optimization

Undo https://github.com/microsoft/python-language-server/pull/1686. Basically fork right before the PR then cherry pick changes on top. Also removes caching services.

Fixes #1988 and probably some others - to be verified. Some tests became less stable due to old loop resolution issues.

+1920 -2594

11 comments

137 changed files

MikhailArkhipov

pr closed time in 19 days

issue closedmicrosoft/python-language-server

Find all References does not search in subdirectories

<!-- Please search existing issues to avoid creating duplicates. -->

Environment data

  • VS Code version: Version: 1.41.1
  • Extension version (available under the Extensions sidebar): Version: 1.41.1
  • OS and version: macOS 10.15.2
  • Python version (& distribution if applicable, e.g. Anaconda): conda 3.6

When I use the "Find All References" function it seems only to find references in scripts in the same folder. The extension does not seem to look into subdirectories.

Is this known?

closed time in 19 days

PhilipMay

push eventmicrosoft/vscode-python

Mikhail Arkhipov

commit sha b7a18225864a44e4d1a916cba6773c5f992623af

Actually fix user settings for `jediEnabled`. (#12433) * Fix path * Actually fix settings * Add news * Add test * Format * Suppress 'jediEnabled' removal

view details

push time in 19 days

PR merged microsoft/vscode-python

Actually fix user settings for `jediEnabled`.

For #12429 Add jediEnabled to the search inside content of settings files.

  • [X] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • [X] Title summarizes what is changing.
  • [X] Has a news entry file (remember to thank yourself!).
  • [X] Appropriate comments and documentation strings in the code.
  • [X] Has sufficient logging.

- [ ] Has telemetry for enhancements.

  • [X] Unit tests & system/integration tests are added/updated.

- [ ] Test plan is updated as appropriate. - [ ] package-lock.json has been regenerated by running npm install (if dependencies have changed). - [ ] The wiki is updated with any design decisions/details.

+20 -19

6 comments

3 changed files

MikhailArkhipov

pr closed time in 19 days

issue commentMicrosoftDocs/intellicode

Intellicode not showing starred suggestions

OK, what is in Python Language Server output. Set "python.analysis.logLevel": "Trace" please.

psycoxer

comment created time in 19 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha 27eeec76f8519ed0beb45274db2cd9200bde1f26

Suppress 'jediEnabled' removal

view details

push time in 19 days

pull request commentmicrosoft/vscode-python

Actually fix user settings for `jediEnabled`.

Sure, although opener of #12429 wanted it removed I think.

MikhailArkhipov

comment created time in 19 days

create barnchMikhailArkhipov/vscode-python

branch : ru

created branch time in 19 days

delete branch microsoft/vscode-python

delete branch : banners

delete time in 19 days

push eventmicrosoft/vscode-python

Mikhail Arkhipov

commit sha 98a9b506a79101db45a327f59981a92d0e0721c6

Turn off LS survey and banner (#12401) * Fix path * Suppress LS banner and survey * Comment * Format

view details

push time in 19 days

PR merged microsoft/vscode-python

Turn off LS survey and banner skip news

Hard-disable survey and banner for now. Not removing code and tests since they will be needed.

  • [X] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • [X] Title summarizes what is changing.

- [ ] Has a news entry file (remember to thank yourself!).

  • [X] Appropriate comments and documentation strings in the code.

- [ ] Has sufficient logging. - [ ] Has telemetry for enhancements.

  • [X] Unit tests & system/integration tests are added/updated.

- [ ] Test plan is updated as appropriate. - [ ] package-lock.json has been regenerated by running npm install (if dependencies have changed). - [ ] The wiki is updated with any design decisions/details.

+351 -361

1 comment

7 changed files

MikhailArkhipov

pr closed time in 19 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha e4a032f43211c9082e5ae4f0db96deee6160471f

Format

view details

push time in 19 days

PR opened microsoft/vscode-python

Actually fix user settings for `jediEnabled`.

For #12429 Add jediEnabled to the search inside content of settings files.

  • [X] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • [X] Title summarizes what is changing.
  • [X] Has a news entry file (remember to thank yourself!).
  • [X] Appropriate comments and documentation strings in the code.
  • [X] Has sufficient logging.

- [ ] Has telemetry for enhancements.

  • [X] Unit tests & system/integration tests are added/updated.

- [ ] Test plan is updated as appropriate. - [ ] package-lock.json has been regenerated by running npm install (if dependencies have changed). - [ ] The wiki is updated with any design decisions/details.

+12 -4

0 comment

4 changed files

pr created time in 19 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha 03aa5f92820ac00a443d1b0cec174f8b0ad5e98c

Add test

view details

push time in 19 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha d0d50dedd938bb5380c1413c25b6150dc420a938

Add news

view details

push time in 19 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha 4477900742b0dea66a9c1219a8e16b5254f2f69d

Actually fix settings

view details

push time in 19 days

issue commentMicrosoftDocs/intellicode

Intellicode not showing starred suggestions

Also, try very simple scenario, like standalone with with basic code. Such as

image

psycoxer

comment created time in 19 days

issue commentmicrosoft/vscode-python

Add a way to restart the Python Language Server

Or reload the window - there is VS Code command for that.

Lexicality

comment created time in 19 days

issue commentMicrosoftDocs/intellicode

Intellicode not showing starred suggestions

Also, what is in VS IntelliCode output?

psycoxer

comment created time in 19 days

issue commentmicrosoft/python-language-server

Larger Python project breaks language server

Yes, this may be https://github.com/microsoft/python-language-server/issues/2006

p-se

comment created time in 20 days

pull request commentmicrosoft/python-language-server

Undo loop optimization

This should be off my fork, u2 branch

MikhailArkhipov

comment created time in 20 days

push eventmicrosoft/python-language-server

Mikhail Arkhipov

commit sha fa8cb4434b9ede484fe80191f58f6b5709c3f649

Fix test

view details

push time in 20 days

pull request commentmicrosoft/python-language-server

Undo loop optimization

Those I not cached, they turn this way when you re-run individual tests. HoverSpanCheck was a known problem, typically passes on re-run. In MissingImports SymbolOrdering2 failed, very long test. Fixed.

What fails for you in highlight and imports? Are you on 3.8 or higher?

MikhailArkhipov

comment created time in 20 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha d5fe9c851f051908eb8de1b47d2b473f21499888

Format

view details

push time in 20 days

PR opened microsoft/vscode-python

Turn off LS survey and banner skip news

Hard-disable survey and banner for now. Not removing code and tests since they will be needed.

  • [X] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • [X] Title summarizes what is changing.

- [ ] Has a news entry file (remember to thank yourself!).

  • [X] Appropriate comments and documentation strings in the code.

- [ ] Has sufficient logging. - [ ] Has telemetry for enhancements.

  • [X] Unit tests & system/integration tests are added/updated.

- [ ] Test plan is updated as appropriate. - [ ] package-lock.json has been regenerated by running npm install (if dependencies have changed). - [ ] The wiki is updated with any design decisions/details.

+352 -362

0 comment

8 changed files

pr created time in 20 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha b281ba7f9e9842cd4fa8020ce9f62b8d016a883b

Comment

view details

push time in 20 days

push eventMikhailArkhipov/vscode-python

Mikhail Arkhipov

commit sha fd504ad8a8690889034d15d361c911255913236e

Suppress LS banner and survey

view details

push time in 20 days

more