mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 16:06:39 +03:00
Updated README with latest language features.
This commit is contained in:
parent
f272d78de8
commit
532a822873
13
README.md
13
README.md
@ -20,6 +20,19 @@ Pyright supports:
|
||||
* Type inference for function return values, instance variables, class variables, and globals
|
||||
* Smart type constraints that understand conditional code flow constructs like if/else statements
|
||||
|
||||
### VS Code Language Features
|
||||
The VS Code extension supports many time-saving language features including:
|
||||
|
||||
* Intelligent type completion of keywords, symbols, and import names appears when editing
|
||||
* Import statements are automatically inserted when necessary for type completions
|
||||
* Signature completion tips help when filling in arguments for a call
|
||||
* Hover over symbols to provide type information and doc strings
|
||||
* Find Definitions to quickly go to the location of a symbol’s definition
|
||||
* Find References to find all references to a symbol within a code base
|
||||
* Rename Symbol to rename all references to a symbol within a code base
|
||||
* Organize Imports command for automatically ordering imports according to PEP8 rules
|
||||
* Type stub generation for third-party libraries
|
||||
|
||||
### Built-in Type Stubs
|
||||
Pyright includes a recent copy of the stdlib type stubs from [Typeshed](https://github.com/python/typeshed). It can be configured to use another (perhaps more recent or modified) copy of the Typeshed type stubs. Of course, it also works with custom type stub files that are part of your project.
|
||||
|
||||
|
@ -18,6 +18,19 @@ Pyright supports:
|
||||
* Type inference for function return values, instance variables, class variables, and globals
|
||||
* Smart type constraints that understand conditional code flow constructs like if/else statements
|
||||
|
||||
### VS Code Language Features
|
||||
The VS Code extension supports many time-saving language features including:
|
||||
|
||||
* Intelligent type completion of keywords, symbols, and import names appears when editing
|
||||
* Import statements are automatically inserted when necessary for type completions
|
||||
* Signature completion tips help when filling in arguments for a call
|
||||
* Hover over symbols to provide type information and doc strings
|
||||
* Find Definitions to quickly go to the location of a symbol’s definition
|
||||
* Find References to find all references to a symbol within a code base
|
||||
* Rename Symbol to rename all references to a symbol within a code base
|
||||
* Organize Imports command for automatically ordering imports according to PEP8 rules
|
||||
* Type stub generation for third-party libraries
|
||||
|
||||
### Built-in Type Stubs
|
||||
Pyright includes a recent copy of the stdlib type stubs from [Typeshed](https://github.com/python/typeshed). It can be configured to use another (perhaps more recent or modified) copy of the Typeshed type stubs. Of course, it also works with custom type stub files that are part of your project.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user