Skip to content

Commit

Permalink
Changelog 202412100 in pylance-release (#6776)
Browse files Browse the repository at this point in the history
* Update readme and changelog

* Put back inadvertent changes

* Fix other inadvertent change
  • Loading branch information
rchiodo authored Dec 16, 2024
1 parent 86be379 commit 416f6b9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 2024.12.100 (16 December 2024) PreRelease

Notable changes:

- Bug fix: Return type of generated docstrings is Any when it should not be [pylance-release#6745](https://github.com/microsoft/pylance-release/issues/6745)
- Bug fix: Generated docstrings return type could be narrowed [pylance-release#6704](https://github.com/microsoft/pylance-release/issues/6704)
- Bug fix: Make pass through settings descriptions to adopt inline code [pylance-release#6757](https://github.com/microsoft/pylance-release/issues/6757)
- Enhancement: Support go-to-implementation [pylance-release#4329](https://github.com/microsoft/pylance-release/issues/4329)

Pylance's copy of Pyright has been updated from 1.1.389 to 1.1.390.

- See Pyright's release notes for details: [1.1.390](https://github.com/microsoft/pyright/releases/tag/1.1.390)

## 2024.12.1 (5 December 2024) Release

Notable changes:
Expand Down
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,19 +345,17 @@ Pylance provides users with the ability to customize their Python language suppo
- `false`

- `python.analysis.supportRestructuredText`
- Enable/disable support for reStructuredText in docstrings. Experimental, may cause docstrings to no longer render.
- Enable/disable support for reStructuredText in docstrings.
- Default value: `false` (or `true` in `full` mode)
- Accepted values:
- `true`
- `false` (default)
- `true` (default)
- `false`
- Performance Consideration:
- Disabling support for reStructuredText in docstrings by setting `python.analysis.supportRestructuredText` to `false` can improve performance by reducing the overhead of parsing complex docstrings.

- `python.analysis.aiCodeActions`
- Enable/disable AI-assisted code actions. Requires the Copilot Chat extension to be enabled.
- Accepted values:
- `true`
- `false` (default)
- This setting accepts objects where the keys are the available AI-assisted code actions, and the values are `true` or `false` to enable or disable each action.
- Available code actions to use as keys: `implementAbstractClasses`.
- Example:
```json
Expand Down Expand Up @@ -388,6 +386,17 @@ Pylance provides users with the ability to customize their Python language suppo
- `true`
- `false` (default)

- `python.analysis.generateWithTypeAnnotation`
- Add type annotations when generating code. Defaults to `false` for type checking mode `off`, and `true` for other modes.
- Accepted values:
- `true`
- `false` (default)
- `python.analysis.enableNotebookDataTips`
- Enable data tips for the last value of a variable when executing notebook cells.
- Accepted values:
- `true`
- `false` (default)

# Semantic highlighting

Visual Studio Code uses TextMate grammars as the main tokenization engine. TextMate grammars work on a single file as input and break it up based on lexical rules expressed in regular expressions.
Expand Down

0 comments on commit 416f6b9

Please sign in to comment.