Releases: pappasam/jedi-language-server
Releases · pappasam/jedi-language-server
Version 0.33.0
Changed
- Now support all Python 3.6 versions; we don't need to constrain our runtime requirements to anything less than 3.6 because only our development dependencies require Python > 3.6.0.
- Updated pygls to 0.11.0.
Version 0.32.0
Added
- Initialization options to granularly disable names and full names for hover operations based on their Jedi type. This is useful because some text editors will automatically send hover requests when a user pauses their cursor over text and the large amount of information can get annoying for some users. Resolves: #147. Jedi types are currently:
module
,class
,instance
,function
,param
,path
,keyword
,property
, andstatement
. - Initialization option to disable hover entirely. If
enable
is set to false, the hover language feature will not be registered. May consider adding something similar to most language server features if this proves useful.
Changed
- In Hover,
Path
has been renamed toFull name
, which is more accurate and is directly tied to the hover disabling options. - Restrict Python version support to >= 3.6.2. Upgraded development dependencies. Latest black doesn't support Python < 3.6.2, so to keep things simple here we're now not supporting Python versions below that version either.
Version 0.31.2
Fixed
- Docstring now presents same information as before, but organized more-tersely, (arguably) more clearly, and with much better markdown syntax support. For example, the name / signature has been pulled out from the main docstring and wrapped in python triple backticks while the docstring is conditionally replaced with the description where relevant.
Version 0.31.1
Fixed
get_type_hint
is now wrapped in general Exception. It's more broken than thought, so we'll prevent this from bubbling up to users.- Conditionally show markdown. If users / editors want to prefer plaintext, we won't return markdown-formatted titles for the hover text
Version 0.31.0
Changed
- Markdown text that is not recognized by
docstring-to-markdown
is no longer automatically wrapped in a code block. I found that, more often than not, this resulted in annoying formatting for me. - Hover text now displays a lot more information, taking advantage of Jedi's Name methods and properties. Information now includes the module path to the name, the description, and an inferred type hint in addition to the docstring. This is all formatted with markdown so it looks pretty.
Version 0.30.3
Fixed
RenameFile now works correctly: kind
now correctly passed to RenameFile due to recently-released pygls updates. Minimum pygls version now 0.10.3.
Version 0.30.2
Changed
Require importlib-metadata for Python 3.6 and 3.7. It is technically required and some clients might check jls version. See: pappasam/coc-jedi#32
Version 0.30.1
Fixed
- null initializationOption is now accepted as valid input, without warning. Resolves #104
Version 0.30.0
Added
- New initialization options to configure extracted variable and extracted function codeAction: nameExtractVariable and nameExtractFunction.
Changed
- Configurable codeAction extraction names. Names are no longer randomly-generated. Instead, they are configurable in initializationOptions, defaulting to a name that's specific to jedi-language-server.
Version 0.29.0
Added
- The following CLI options:
--tcp
: use TCP server instead of stdio--host
: host for TCP server (default 127.0.0.1)--port
: port for TCP server (default 2087)--log-file
: redirect logs to the given file instead of writing to stderr-v
/--verbose
: increase verbosity of log output
- Logging. To stderr by default, but optionally a file on the file system.