Skip to content

Conversation

@kimadeline
Copy link

@kimadeline kimadeline commented Apr 29, 2021

For https://github.com/microsoft/vscode-python-internalbacklog/issues/180

Bundling Pylance as an extension pack (not a hard dependency) at build time. Also, I am bad at naming things, please suggest different names if you can think of something more fitting.

@kimadeline kimadeline added no-changelog No news entry required skip package*.json package.json and package-lock.json don't both need updating skip tests Updates to tests unnecessary labels Apr 29, 2021
@kimadeline kimadeline requested a review from jakebailey April 29, 2021 00:30
@kimadeline kimadeline self-assigned this Apr 29, 2021
@kimadeline kimadeline changed the title Bundle Pylance as part of an extension pack (not a dependency) Bundle Pylance as part of an extension pack (not a hard dependency) Apr 29, 2021
@kimadeline kimadeline marked this pull request as ready for review April 29, 2021 15:27
Copy link

@karrtikr karrtikr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Do we need to add a news entry?

@kimadeline
Copy link
Author

I don't think so, not yet at least. I was going to add a news entry when we update the readme (which should be soon enough).

- run: npm run addExtensionDependencies
shell: bash

- run: npm run addExtensionPackDependencies
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to use another gulp task rather than just having it be a part of the extension dependencies one?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I figured we might want to keep them separate since it's messing with a different package.json key.

@kimadeline kimadeline merged commit 85b1a3a into microsoft:default-language-server May 3, 2021
@kimadeline kimadeline deleted the bundle-pylance branch May 3, 2021 20:17
kimadeline added a commit that referenced this pull request May 5, 2021
* Bundle Pylance as part of an extension pack (not a hard dependency) (#16077)

   * extension pack
   * Undo package.json change
   * Add extension pack link at build time
   * Forgot to update all names

* Update readme + license at build time (#16134)

* Add license update

* Update package.json description

* Update readme

* Add news file

* Update header wording

* let -> const

* Wording

* Consistenly use VS Code long form

* Display an informational Pylance prompt for existing users (#16069)

* Export extension version memento

* Add localization strings

* Add prompt check

* Add to the list of things triggering on activation

* Add tests

* Rename file

* Remove unsupported newlines

* Fix localization + re-add newlines

* Change to be a non-blocking diagnostic check

* Change localization key

* Update memento on close instead of just on ok

* Fix localization

* Add initialMementoValue handler

* Links

* Fix tests

* Fix tests

* Set PYLANCE_PROMPT_MEMENTO to false

* Remove unused line

* Set to true directly

* Remove extra updateMemento calls

* I can't read

* Period

* Run in foreground

* Add handling test

* Remove extension pack category (#16149)

Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
@kimadeline kimadeline mentioned this pull request May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required skip package*.json package.json and package-lock.json don't both need updating skip tests Updates to tests unnecessary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants