CARVIEW |
Navigation Menu
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Releases: InSyncWithFoo/ryecharm
v0.1.0-alpha-15
Compare
For users
See the documentation for more information.
Latest tool versions at the time of release:
- Ruff: 0.12.4
- uv: 0.8.0
- Rye: 0.44.0
- ty: 0.0.1-alpha.14
Added
- Script lock files (
*.py.lock
) now have edit notices and custom icons
similar to that ofuv.lock
. - On project open, RyeCharm will now check if uv is outdated
and either notify (default) or update automatically.
This feature can be configured or disabled in the settings.
Changed
- The "Bump project version" intention has been updated
to accommodate new possible values forversion --bump
. - The "Organize imports" intention is now
no longer available inpyproject.toml
.
Removed
- 2025.1.2 and older versions are no longer supported.
For contributors
Dependencies
- Gradle: 8.14.2 → 8.14.3
- @Kotlin/kotlinx.serialization: 1.9.0 → 1.7.3
Assets 3
v0.1.0-alpha-14
Compare
For users
See the documentation for more information.
Latest tool versions at the time of release:
- Ruff: 0.12.1
- uv: 0.7.16
- Rye: 0.44.0
- ty: 0.0.1-alpha.12
Changed
- The "Bump project version" intention now uses uv instead of Rye.
Removed
- 2025.1.1.1 and lower are no longer supported.
- RyeCharm-provided uv run configuration type and factories have been removed.
Use native uv run configurations instead. - ty's completion setting has been removed.
It has never worked, and ty itself no longer recognizes it.
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.
This has been fixed. - Prior to this version, ty's diagnostics might be out-of-sync.
This is no longer an issue. - Due to an UI bug, the formatter and import optimizer would not work
until Ruff's executable input field is modified.
Now, instead of being prefilled, executable fields will have
accompanying "Detect" buttons.
For contributors
Dependencies
- Foojay Toolchains: 0.10.0 → 1.0.0
- Gradle: 8.14 → 8.14.2
- LSP4IJ: 0.13.0 → 0.14.2
- Material for MkDocs: 9.6.12 → 9.6.14
- @Kotlin/kotlinx.serialization: 1.8.1 → 1.9.0
- Kotlin JVM plugin: 2.1.21 → 2.2.0
Assets 3
v0.1.0-alpha-13
Compare
For users
See the documentation for more information.
Latest tool versions at the time of release:
- Ruff: 0.11.10
- uv: 0.7.5
- Rye: 0.44.0
- ty: 0.0.1-alpha.5
Added
- Lock files for standalone scripts (
*.py.lock
)
will now be recognized as TOML files. - Provisional ty integration has been added.
Removed
- 2024.3 and lower are no longer supported.
Fixed
- Previously, dependency tree popups might not be displayed correctly
if the interpreter cannot be detected by uv.
Now, RyeCharm will always pass the project's interpreter explicitly. - Ruff's global inspection will now be run after first saving documents
to avoid out-of-sync results. pyproject.toml
files used to be passed to Ruff's server,
which only ever expects Python files.
This has been fixed.
For contributors
Dependencies
- @astral-sh/setup-uv: 5 → 6
- Qodana: 2024.3.4 → 2025.1.1
- Material for MkDocs: 9.6.6 → 9.6.12
- Gradle: 8.13 → 8.14
- Kotlin JVM plugin: 2.1.20 → 2.1.21
- LSP4IJ: 0.12.0 → 0.13.0
Assets 3
v0.1.0-alpha-12
Compare
For users
See the documentation for more information.
Latest tool versions at the time of release:
Added
-
Standalone scripts (PEP 723 scripts)
can now be run as uv run configurations. -
Rule codes in rule violation tooltips are now hyperlinked.
Clicking on this link would show the description of that rule.
Note that the link is only available when "Render tooltips" is enabled
and the tooltip format includes the code. -
Dependency trees are now shown for specifiers in arrays
paired with the following TOML keys:project.dependencies
project.optional-dependencies.*
build-system.requires
dependency-groups.*
- [
tool
]uv.constraint-dependencies
- [
tool
]uv.dev-dependencies
- [
tool
]uv.override-dependencies
- [
tool
]uv.upgrade-package
- [
tool
]uv.pip.upgrade-package
The command line options to be used can be configured
using relevant settings in the uv panel.
Changed
- RyeCharm will now log a user-visible error
if Ruff outputs path-less diagnostics during global inspection.
This behaviour is expected to be exceedingly rare, if not non-existent.
Fixed
- Previously,
W191
violations might not be
displayed correctly. This has been fixed.
Removed
- The inspection named "Ruff inspection" has been removed.
Previously, if this inspection were disabled,
no diagnostics would be shown in Command line mode.
The recommended alternative is to disable the "Linting" setting.
For contributors
Dependencies
- Material for MkDocs: 9.6.6 → 9.6.11
- Foojay Toolchains: 0.9.0 → 0.10.0
Assets 3
v0.1.0-alpha-11
Compare
For users
See the documentation for more information.
Latest tool versions at the time of release:
Added
- RyeCharm can now be configured to offer unsafe fixes
in an editor context even if configuration files say otherwise. - Inspect Code... will now also run Ruff.
- Project scripts and global tools can now be run as uv run configurations.
For project scripts, they can be configured automatically
using either run line markers shown inpyproject.toml
or
the corresponding actions in the menu when a subkey is right-clicked. - PEP 751's
pylock.toml
now has a specialized icon.
Changed
- Ruff's annotator is now prioritized over other annotators
(e.g., of other plugins).
Fixed
- "Fix all", "Organize imports" and "Fix all similar violations"
intentions now work correctly for injected files. - Ruff's annotator will now also run on
pyproject.toml
with regards to theRUF200
rule. - Previously, due to a logic error, a
NullPointerException
might be thrown
in certain circumstances. This has been fixed.
For contributors
Dependencies
- LSP4IJ: 0.11.0 → 0.12.0
- @Kotlin/kotlinx.serialization: 1.8.0 → 1.8.1
Assets 3
v0.1.0-alpha-10
Compare
For users
See the documentation for more information.
Latest tool versions at the time of release:
Added
- RyeCharm now also displays documentation popups for
rule selectors defined within script metadata blocks
when such blocks are opened in a new editor tab using the related intention.
It should be noted that Ruff does not support
reading configurations from script metadata blocks yet. - Single-rule selectors in TOML files and
# noqa
comments
can now be "folded" into that rule's name.
Such foldings are displayed in their folded forms by default;
this can be toggled using two settings in the Ruff panel. - Commands run by RyeCharm are now logged by a new "RyeCharm logs" tool window,
which is hidden by default but can be made available
via the More tool windows menu. - If Backspace is pressed when an empty comment within a script metadata block
is edited, RyeCharm will now remove that line and move the cursor
back to the preceding line automatically. - uv is now available as a run configuration.
Changed
- Previously, prefix selectors that only select preview rules
(e.g.,CPY0
) would not have documentation popups displayed on hover.
This is due to RyeCharm not passing--preview
when querying data,
and getting no list in return. It now does.
A new shortcoming of this approach is that resolved rule lists
might contain rules that are not actually enabled. - The linter table is now speed-searchable.
- Edit script metadata fragment now uses a better logic to determine
the offset the cursor of the new editor should be placed at.
The result is expected to be more intuitive for users.
Fixed
- The Edit script metadata fragment intention and TOML injection for
script metadata blocks are now available during indexing. - Redirected codes now have their documentation popups correctly displayed,
similar to that of a prefix.
For contributors
Dependencies
- Kotlin JVM plugin: 2.1.10 → 2.1.20
Assets 3
v0.1.0-alpha-9
Compare
For users
See the documentation for more information.
Latest tool versions at the time of release:
Added
.python-version
andpy.typed
now have specialized icons.- Previously, in light mode,
uv.lock
's icon has bad contrast.
It now uses a new, more accessible icon. - Non-topmost TOML key segments in a Ruff option documentation popup
(e.g.,ruff
andlint
inruff.lint.select
)
are now clickable.
They can be used to navigate between options. - Toggling the registry entry used to be the only way to disable Red Knot.
Now, it can also be disabled using an UI setting. - Typing
script
at the top-level of a.py
file now suggests
a live template that expands to a PEP 723 script metadata block. - Script metadata blocks now displays
# /// script
when folded
instead of the default...
for multicomment blocks. - Temporary script metadata files
(created by the "Edit script metadata fragment" intention)
now have automatic JSON schema mapping.
Changed
- The bundled plugin Terminal is now an optional dependency.
Removed
- 2024.3.2 is no longer supported.
Fixed
- Previously, Ruff's language server would not work correctly
if the client was LSP4IJ.
This has been fixed. - "Unsuppress rule" intention now works as expected
instead of causing a threading error.
For contributors
Dependencies
- Material for MkDocs: 9.5.43 → 9.6.6
- LSP4IJ: 0.10.0 → 0.11.0
- Gradle: 8.12.1 → 8.13
- IntelliJ Platform Gradle Plugin: 2.2.1 → 2.3.0
Assets 3
v0.1.0-alpha-8
Compare
For users
See the documentation for more information.
Latest tool versions at the time of release:
Added
- Previously, pressing Enter in the middle of a script metadata block
would break it, causing the code to no longer being highlighted as TOML.
Now, doing so will insert a new empty comment. - When a rule selector in a TOML configuration file is hovered,
RyeCharm will now display a popup showing all rules matching that selector. - It is now possible to fix all violations of the same code using a quick fix.
Changed
- Code actions provided by RyeCharm are now ordered,
with Ruff violation fixes being at the top of the code action popup.
Fixed
- Previously, the documentation for a rule would not be shown
if both its code and the cursor were placed at the very end of a comment.
This has been fixed.
For contributors
Dependencies
- LSP4IJ: 0.9.0 → 0.10.0
Assets 3
v0.1.0-alpha-7
Compare
For users
See the documentation for more information.
Latest tool versions at the time of release:
Added
- RyeCharm now supports 2025.1 and 2024.3.2.
- Unsafe fixes can now be applied via the corresponding intention and action.
- When keys for Ruff configuration groups (e.g.,
tool.ruff.lint
) are hovered,
a list of its subkeys will now be shown,
where each item can be clicked on to view its full description. - Disabled rule codes in
# noqa
comments can now be re-enabled
using an intention.
Removed
- 2024.3.1 is no longer supported.
- The old project generator, package manager and SDK flavor
have all been removed in favor of the native support added in 2024.3.2.
For contributors
Dependencies
- @JetBrains/java-annotations: 26.0.1 → 26.0.2
- @Kotlin/kotlinx.serialization: 1.7.3 → 1.8.0
- Kover: 0.9.0 → 0.9.1
- Kotlin JVM plugin: 2.1.0 → 2.1.10
- Gradle: 8.12 → 8.12.1
Assets 3
v0.1.0-alpha-6
Compare
For users
See the documentation for more information.
Latest tool versions at the time of release:
Added
- Ruff's "Fix all" can now be used as an action.
Previously, this functionality was only accessible via an intention. optional-dependencies
("extras") now have corresponding install buttons
in the gutter similar to that ofdependency-groups
.- Ruff's Markdown error messages are displayed as-is in tooltips by default.
It is now possible to render them using a new setting. - Links to Ruff rules in documentation popups are now resolved in-place,
replacing the current popup content with the rule's documentation.
Previously, such links would open the browser.
Changed
- If a Ruff executable is not specified, one will be detected during execution.
When Ruff is not installed but "Formatting" is enabled,
the formatter will fail with an error notification.
As PyCharm triggers the formatter automatically on paste,
this might cause some confusion.
The formatter will now not run unless the executable is specified directly
using the Ruff setting panel. - The output of
ruff config
is now no longer cached by default.
This might result in a noticeable delay that would previously
only happen in the first run.
The old behaviour can be toggled using a new advanced setting.
Fixed
- An error notification will now be displayed if
an invalid range is given to the formatter.
Previously, this would result in anIndexOutOfBoundsException
. - Due to a logic error, RyeCharm would naively run Ruff on Jupyter notebooks.
This has been fixed.
Jupyter notebooks have never been supported by any versions of RyeCharm.
For contributors
Dependencies
- LSP4IJ: 0.8.1 → 0.9.0
- Gradle: 8.11.1 → 8.12
- @astral-sh/setup-uv: 4 → 5
- Qodana: 2024.3.2 → 2024.3.4