Skip to content

Commit

Permalink
Small tweaks to README.md (#6441)
Browse files Browse the repository at this point in the history
* Small tweaks to README.md

* for -> of
  • Loading branch information
luabud authored Sep 24, 2024
1 parent 8b14719 commit 1185686
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,14 @@ Pylance provides users with the ability to customize their Python language suppo
- Description:
- `default`: Provides a balanced experience with many useful features enabled by default. It ensures that the language server delivers sufficient functionality for most users without overloading the system. Advanced features can be enabled as needed, allowing for further customization at the cost of performance.
- `light`: Designed for users seeking a lightweight, memory-efficient setup. This mode disables various features to make Pylance function more like a streamlined text editor. Ideal for those who do not require the full breadth of IntelliSense capabilities and prefer Pylance to be as resource-friendly as possible.
- Individual settings can be configured to override the defaults set by `languageServerMode`.
- Default settings based on mode are:

| Mode | light | default |
| :----------------------------- | :--------- | :--------- |
| python.analysis.exclude | ["**"] | [] |
| python.analysis.useLibraryCodeForTypes | false | true |
| python.analysis.enablePytestSupport | false | true |
| python.analysis.indexing | false | true |
- Modifies the default value of the following settings:
| Setting | `light` mode | `default` mode |
| :----------------------------- | :--------- | :--------- |
| python.analysis.exclude | ["**"] | [] |
| python.analysis.useLibraryCodeForTypes | false | true |
| python.analysis.enablePytestSupport | false | true |
| python.analysis.indexing | false | true |
- The settings above can be changed individually to override the default values.

- `python.analysis.typeCheckingMode`
- Used to specify the level of type checking analysis performed.
Expand Down

0 comments on commit 1185686

Please sign in to comment.