Releases: InSyncWithFoo/pyright-for-pycharm
Releases · InSyncWithFoo/pyright-for-pycharm
v0.12.0
For users
Removed
- 2025.1.* are no longer supported.
Fixed
- In 2025.2, due to a change in the native LSP client,
Pyright would fail to recognize the project's interpreter
and thus emit false positivereportMissingImportserrors.
This has been fixed.
For contributors
This section is currently empty.
v0.11.0
For users
Added
- The plugin will now attempt to detect BasedPyright executables
if Pyright ones cannot be found.
Changed
- The default running mode is now Native client.
Removed
- 2025.1.1.1 and older are no longer supported.
The plugin can no longer be installed on PyCharm Community Edition
(and IntelliJ IDEA Community Edition). Use the unified PyCharm instead. PyrightInspectionhas been removed to avoid confusion.
Fixed
- Previously, in some cases, the language server might crash
when analyzing large files. This has been fixed. - Previously, the native client did not support
textDocument/diagnostic.
2025.1.2 added support for it, but the client does not send such requests
by default, resulting in no diagnostics being displayed.
Now, the plugin will request that the server
usetextDocument/publishDiagnosticsexclusively.
For contributors
Contributors:
v0.10.0
For users
Fixed
- Previously, the plugin would not resolve executables correctly.
This has been fixed.
For contributors
Contributors:
v0.9.0
For users
Fixed
- A few bugs related to the LSP4IJ mode have been fixed.
For contributors
This section is currently empty.
v0.8.0
For users
Added
- Command line mode now supports WSL.
Fixed
- The migration logic was enhanced to avoid overzealous modifications.
- The previous version had a bug causing the configuration file field
to always be discarded instead of saved. This has been fixed.
For contributors
- A few dependencies were updated.
v0.7.0
For users
The plugin is rewritten with a lot of functional changes and new settings.
If you encounter a bug, please file an issue.
Added
- Pyright can now be configured to emit localized messages.
- Pyright's logo is now used as the icon for
pyrightconfig.jsonfiles. - Many new settings are added. Most of them were taken from
the old Pyright Language Server plugin without change.
See the documentation for more information.
For contributors
v0.6.0
For users
Added
- The command for the currently selected file can now be copied
using the newly added "Copy Pyright command" action.
This is useful for debugging purposes. - Experimental LSP support is now available via the LSP4IJ plugin.
- The executable can now be configured to run on multiple threads
via an UI option.
Fixed
- The annotator now always run, regardless of other annotators' results.
Previously, it would not run if previous analyses resulted in errors. - The active interpreter is now detected correcly on non-PyCharm IDEs.
For contributors
Added
- "Copy Pyright command" action is added. (4ca4b74)
- Global option "Number of threads" is added. (91d467a)
Changed
- The documentation is updated. (fcf2c0f, 91d467a, cf6becc)
PyrightBundleandPyrightIconare renamed. (7032faf)- Gradle is updated to 8.9. (2397aaf, c5d7c8c)
- Kotlin Serialization Gradle Plugin is updated to 1.7.1.
(330ef0c, b839a59) - Kover Gradle Plugin is updated to 0.8.2. (eb30669, 87e5660)
- The
lsp4ijsubmodule is added. (b67210b) - Various files are moved to the new
clisubmodule. (37136d6) - Path-hints-related logic is revisited to use
PropertyGraph. (bf2de95) - IntelliJ Platform Gradle Plugin is updated to 2.0.0-rc1.
(ace16ca, d9dc2b0, 842dfd2)
Fixed
PyrightExternalAnnotatornow overrides
collectInformation(PsiFile, Editor, boolean)
instead ofcollectInformation(PsiFile). (7032faf)
v0.5.0
For users
Changed
- Errors are now detected and handled in a more user-friendly way,
with notifications and proper actions.
Previously, they would only be logged in the IDE's log file.
For contributors
Added
-
The documentation is updated.
logging.mdis added.
-
Global option "Process timeout" is added. (f3b7585)
Changed
PyrightRunnerand related classes are rewritten. (f3b7585)
Fixed
SuppressQuickFixnames are now stored as messages. (e2d9ca2)
v0.4.0
For users
Added
- Diagnostics can now be limited by severity levels.
Changed
- UI components are slightly changed.
For contributors
Added
- The plugin now supports 2024.2. (18897c6)
- Global option "Minimum severity level" is added. (74267a2)
- Documentation for LSP-specific settings is updated.
(9dbfbb8, b3ffed4, 69406c3, ebea0b8)
Changed
- Kover Gradle Plugin is updated to 0.8.0. (9d583cd)
- Qodana Gradle plugin and its corresponding action
@JetBrains/qodana-action are updated to 2024.1.5.
(7d2278a) - Kotlin JVM plugin is updated to 2.0.0. (99770f0)
HintIcon.toString()now returns an empty string.
This is due toExpUiIconsbeing deprecated. (9646545)
v0.3.1
For users
Fixed
- v0.3.0 has a bug causing an internal error
if the inspections' levels are set as "Weak warnings".
This has been fixed.
For contributors
Fixed
HighlightSeveritymembers' names may contain spaces,
which causesProblemHighlightType.valueOf()to throw.
A workaround is introduced by manually replacing" "with"_". (cdd51d8)