This repository has been archived by the owner on Dec 22, 2024. It is now read-only.
Releases: InSyncWithFoo/pyright-langserver-for-pycharm
Releases · InSyncWithFoo/pyright-langserver-for-pycharm
v1.2.0
This plugin is deprecated. Install the Pyright plugin instead.
See the migration guide for more information.
v1.1.0
For users
Added
- The icon for
pyrightconfig.json
is now replaced with Pyright's logo.
Changed
- Minor internal working details are changed.
For contributors
Added
- Documentation for this plugin now has its own site. (3d2f0d9)
- The
icons
subpackage is added. (e42eba4)
Changed
- IntelliJ Platform Gradle Plugin is updated to 2.0.1.
(d019e09, c1a8237, b0818ee, 0e7b585) - Kover Gradle Plugin is updated to 0.8.3. (776cb74)
- @gradle/actions is updated to 4.0.0. (784a451)
- @JetBrains/qodana-action is updated to 2024.1.9. (b42717d)
- Kotlin JVM plugin is updated to 2.0.10. (4b95745)
v1.0.1
For users
Fixed
- The active interpreter is now detected correcly on non-PyCharm IDEs.
- The "autocomplete parentheses" monkeypatch now works correctly
with auto-import (and othertextEdit
-based) completions.
For contributors
Changed
- Kover Gradle Plugin is updated to 0.8.2. (a408736)
- Path-hints-related logic is revisited to use
PropertyGraph
. (cde3525) - Changelog Gradle Plugin is updated to 2.2.1. (22b0f1c)
- IntelliJ Platform Gradle Plugin is updated to 2.0.0-beta9.
(5f1dcd8) - Gradle is updated to 8.9. (a6c2a66)
Fixed
Project.sdkPath
is now.interpreterPath
and serves only as a fallback ofModule.interpreterPath
.
(6b9214f)
v1.0.0
For users
Added
- The list of recognized file extensions can now be configured
and includespy
andpyi
by default.
Previously, only.py
files are recognized. - PyCharm has a bug leading to extra quotes being added
when autocompletingLiteral
strings andTypedDict
keys.
A monkeypatch has been added to mitigate the issues.
It can be disabled using an UI option. - The diagnostic mode is now configurable.
Previously, no corresponding value is sent to the language server. - The server can now be asked not to
automatically add common search paths (e.g.src
).
Previously, they were always added by default.
Changed
- The "Auto-import" completion item detail monkeypatch
introduced in the previous version can now be disabled. - The support version cap is removed.
The plugin is now declared as compatible with
all versions from 2024.1 and later.
For contributors
Added
- Project option "Targeted file extensions" is added. (d5c69db, 541c563)
- Project option "Diagnostic mode" is added. (553c2ae)
- Project option "Auto search paths" is added. (90b572b)
- Global option "Monkeypatch auto-import details" is added. (9efacf5)
- Global option "Monkeypatch trailing quote bug" is added. (9efacf5)
Changed
PyrightBundle
andPyrightIcon
are renamed. (81e35bb)- Gradle is updated to 8.8. (81e35bb)
- Kover Gradle Plugin is updated to 0.8.1. (8e758a0)
- IntelliJ Platform Gradle Plugin is updated to 2.0.0-beta7.
(b880c90, 2e6d0d9)
Fixed
SuppressQuickFix
names are now stored as messages. (0775b1e)
v0.5.0
For users
Added
- Functions, methods and constructors
can now be autocompleted with parentheses. - Auto-import completions now use the source as the supporting detail.
Previously the detail was "Auto-import" or a similar localized message. - Diagnostics support can now be disabled separately.
Previously the only way to do so would be to disable
the entire language server by disabling the corresponding inspection. - The server can now be restarted automatically on configuration change
if the corresponding setting is enabled.
Previously it needed to be restarted manually. - UI components are slightly changed.
For contributors
Added
- The plugin now supports 2024.2. (b76af8f)
- Global option "Autocomplete parentheses" is added. (164141b)
- Global option "Diagnostics support" is added. (20ee9ba9)
- Global option "Auto-restart server" is added. (2834e69)
Changed
- Kover Gradle Plugin is updated to 0.8.0. (8d034a2)
- Qodana Gradle Plugin and its corresponding action
@JetBrains/qodana-action are updated to 2024.1.5.
(85c78a9) - Another conditional was added to
CompletionSupport.createLookupElement
to use the source of an auto-import completion as its detail.
(4cef2a5, 1af0722) - Kotlin JVM plugin is updated to 2.0.0. (d795b5e)
HintIcon.toString()
now returns an empty string.
This is due toExpUiIcons
being deprecated. (43c698d)
v0.4.0
For users
Added
- Diagnostics can now be suppressed using quick fixes.
Changed
- An informational hint will now be given if
the given executable file's name is not a known name. - Application-level settings can now be exported using the
Export Settings... action.
Previously they would be omitted when exporting
and can only be found in the IDE's configuration directory.
For contributors
Added
PyrightLSDescriptor
now logs all configurations on initialization.
(501b9ce)- Diagnostics-related construct, including those newly added for quick fixes,
are moved to thediagnostics
subpackage. (a95bea0)
Changed
- Qodana Gradle Plugin and its corresponding action
@JetBrains/qodana-action are updated to 2024.1.4.
(647bd2d, 26a9fcf, b952ef1, 1ae17a0, bed1cfe, 6bd68df) - A new branch is added to
executablePathResolvingHint()
. (906f7ab) - Kotlin JVM plugin is updated to 1.9.24. (0e28e9a)
RoamingType.LOCAL
is used for application-level configurations
instead ofRoamingType.DISABLED
. (ac6bf02)- The "Run Plugin" task now runs with the new UI enabled and
the.idea
subdirectory not hidden. (5fb1556)
v0.3.0
For users
Added
- Go-to-definition support is now configurable and disabled by default.
Previously this was always enabled. - The log level is now configurable.
- Source roots can now be passed to the language server
as "workspace folders" in lieu of the project's base directories
(which has been and still is the default option).
This is useful if you have yourpyproject.toml
orpyrightconfig.json
files placed somewhere other than the project root (for example, a monorepo). - "Unnecessary" and "Deprecated" hints, which are displayed as
faded-out and striken-through in the IDE, can now be disabled.
Previously this was always enabled. - The language server can now be configured to not offer
auto-import completions. Previously this was always enabled. - UI components are slightly changed.
For contributors
Added
PyrightLSDescriptor
's.lspGoToDefinitionSupport
is overridden to respect the corresponding user-provided values. (2a2a4f2)- The "Log level" global configuration, which corresponds to
Pyright'spython.analysis.logLevel
option, is added.
Settings.kt
is rewritten.
(1c937fb, d4814c3) - Project option "Workspace folders" is added. (5e35f93)
- Message key names are slightly changed. (6b6b2a5)
- Global option "Disable tagged hints" is added. (cd9dc59)
- Global option "Auto import completions" is added. (d4814c3)
v0.2.0
For users
Added
- Highlight severity levels are now configurable
using the options provided in the Inspection panel.
The inspection is renamed to "Pyright language server diagnostics". - Hover support can now be disabled. Previously this was always enabled.
- Completion support is now configurable and disabled by default.
Previously this was always enabled.
Changed
- Rule codes, if given, are now appended to messages.
They can be made links if the corresponding option is enabled. - UI messages are slightly changed.
Fixed
- The plugin is no longer technically installable on PyCharm Community.
For contributors
Added
- Three new properties are added to
PyrightLSInspection
to allow configuring highlight severity levels. (d36526b) - Global option "Link error codes" is added. (e348bf9)
PyrightLSDescriptor
's.lspHoverSupport
andlspCompletionSupport
are overridden to respect the corresponding user-provided values.
(6c58ffe, f449161)
Changed
DiagnosticsSupport.getMessage()
is overridden
to returnDiagnostic.suffixedMessage
, which adds error codes to messages.
(4ca00c4)- @gradle/actions/wrapper-validation is updated to 3.3.0. (7c80f8d)
Fixed
com.intellij.modules.ultimate
, which is only available in paid IDEs,
is now a required dependency. This effectively makes the plugin
no longer installable on/compatible with PyCharm Community. (57a1ee9)
v0.1.0
For users
Fixed
- Earlier versions could not resolve available packages.
This has been fixed.
Removed
- Versions lower than 2024.1 are no longer supported.
For contributors
Added
Settings.kt
is added. (fce7406)LICENSE_TEMPLATE.txt
is added. (fce7406)
Changed
released.yaml
is renamed topublish.yml
.
Steps overlapping with other jobs are removed. (fce7406)- @gradle/wrapper-validation-action is updated to 2.1.3. (1ca18f6)
Fixed
- The project interpreter path is now correctly passed to Pyright.
(ba0947b, 7a1e3b1) PyrightLSConfigurable
'sapply()
,isModified()
andreset()
now call the corresponding methods ofpanel
.
This fixes a(nother) regression introduced in v0.1.0-poc.3
which has been causing the configuration panels to be unresetable. (fce7406)
Removed
v0.1.0-poc.4
For users
Added
- Global options "Use editor font" and "Prefix tooltips" are added.
Fixed
- v0.1.0-poc.3 has a bug causing the configurations to be always unsavable.
This has been fixed.
For contributors
Added
- Global options "Use editor font" and "Prefix tooltips" are added. (9ebda45)
- Tests are added. (0ba420d)
Changed
pluginIcon.svg
is resized to 40 by 40 to comply with
the Approval Guidelines. (96d974b)README.md
is rewritten to alter the plugin description. (801c954)- Bug reports and feature requests now have automatic assignees. (801c954)
build.yaml
now runs tests on all three platforms.
(801c954, 616e636)- Publicly-facing classes
SupportProvider
andDescriptor
are renamed. (7c96ada)
Fixed
- A
panel.apply()
call is added to
PyrightLSConfigurable.isModified()
.
This ensures that the state of panel is synchronized
before being compared with the original state,
which was not the case in v0.1.0-poc.3. (9ebda45)