Skip to content

Add an "enumDescriptions" key to describe all language server options - #16236

Merged
Kim-Adeline Miguel (kimadeline) merged 2 commits into
microsoft:mainfrom
kimadeline:16141-enum-descriptions
May 18, 2021
Merged

Add an "enumDescriptions" key to describe all language server options#16236
Kim-Adeline Miguel (kimadeline) merged 2 commits into
microsoft:mainfrom
kimadeline:16141-enum-descriptions

Conversation

@kimadeline

@kimadeline Kim-Adeline Miguel (kimadeline) commented May 13, 2021

Copy link
Copy Markdown

Closes #16141

Preview:

Screen Shot 2021-05-13 at 9 24 42 AM

Kim-Adeline Miguel added 2 commits May 13, 2021 09:49
@kimadeline Kim-Adeline Miguel (kimadeline) added the skip package*.json package.json and package-lock.json don't both need updating label May 13, 2021
@kimadeline
Kim-Adeline Miguel (kimadeline) marked this pull request as ready for review May 13, 2021 18:10

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Luciana Abud (@luabud) See comments below.

Comment thread package.json
],
"enumDescriptions": [
"Automatically select a language server: Pylance if installed and available, otherwise fallback to Jedi.",
"Use Jedi as a language server.",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we say that this works for 2.7 and <=3.5 (uses jedi 0.17.*)

Comment thread package.json
"enumDescriptions": [
"Automatically select a language server: Pylance if installed and available, otherwise fallback to Jedi.",
"Use Jedi as a language server.",
"Use Jedi behind the Language Server Protocol (LSP) as a language server.",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we say this works only for 3.6 or greater? (uses newer jedi version)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Karthik Nadig (@karthiknadig) this looks good to me, I think we should leave the details for what is supported vs not to our docs, if that makes sense

@kimadeline
Kim-Adeline Miguel (kimadeline) merged commit 3bd9abe into microsoft:main May 18, 2021
@kimadeline
Kim-Adeline Miguel (kimadeline) deleted the 16141-enum-descriptions branch May 18, 2021 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip package*.json package.json and package-lock.json don't both need updating

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an "enumDescriptions" key to describe all language server options

4 participants