Skip to content

Enable source.organizeImports.ruff by default for Python - #41103

Merged
JosephTLyons merged 1 commit into
mainfrom
Enable-`source.organizeImports.ruff`-by-default-for-Python
Oct 24, 2025
Merged

Enable source.organizeImports.ruff by default for Python#41103
JosephTLyons merged 1 commit into
mainfrom
Enable-`source.organizeImports.ruff`-by-default-for-Python

Conversation

@JosephTLyons

@JosephTLyons JosephTLyons commented Oct 24, 2025

Copy link
Copy Markdown
Collaborator

Release Notes:

  • Enabled automatic import organization, via ruff, when saving Python files. To disable this, use:
"Python": {
  "code_actions_on_format": { "source.organizeImports.ruff": false }
}

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Oct 24, 2025
@JosephTLyons
JosephTLyons enabled auto-merge (squash) October 24, 2025 12:59
@JosephTLyons
JosephTLyons disabled auto-merge October 24, 2025 13:04
@JosephTLyons
JosephTLyons force-pushed the Enable-`source.organizeImports.ruff`-by-default-for-Python branch from 6f5ac79 to 5000789 Compare October 24, 2025 13:23
@JosephTLyons
JosephTLyons enabled auto-merge (squash) October 24, 2025 13:23
@JosephTLyons
JosephTLyons merged commit fcd690d into main Oct 24, 2025
21 checks passed
@JosephTLyons
JosephTLyons deleted the Enable-`source.organizeImports.ruff`-by-default-for-Python branch October 24, 2025 13:44
@abdelq

abdelq commented Oct 24, 2025

Copy link
Copy Markdown
Contributor

Would be nice if this was fixed too #26819 (comment)

smitbarmase pushed a commit that referenced this pull request Jan 7, 2026
Closes #26819

Explained in
#26819 (comment)
That action is now the default on format in
#41103 since October, but
applying manually is still broken.

Release Notes:

- Fixed an issue where the `editor: organize imports` action didn’t work
for Python, even though imports were organized correctly during
formatting.
rtfeldman pushed a commit that referenced this pull request Jan 9, 2026
Closes #26819

Explained in
#26819 (comment)
That action is now the default on format in
#41103 since October, but
applying manually is still broken.

Release Notes:

- Fixed an issue where the `editor: organize imports` action didn’t work
for Python, even though imports were organized correctly during
formatting.
jasonsmithio pushed a commit to paddleboarddev/paddleboard that referenced this pull request May 31, 2026
Closes zed-industries/zed#26819

Explained in
zed-industries/zed#26819 (comment)
That action is now the default on format in
zed-industries/zed#41103 since October, but
applying manually is still broken.

Release Notes:

- Fixed an issue where the `editor: organize imports` action didn’t work
for Python, even though imports were organized correctly during
formatting.
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
…stries#45874)

Closes zed-industries#26819

Explained in
zed-industries#26819 (comment)
That action is now the default on format in
zed-industries#41103 since October, but
applying manually is still broken.

Release Notes:

- Fixed an issue where the `editor: organize imports` action didn’t work
for Python, even though imports were organized correctly during
formatting.
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
…tries#41103)

Release Notes:

- Enabled automatic import organization, via
[ruff](https://github.com/astral-sh/ruff), when saving Python files. To
disable this, use:

```json
"Python": {
  "code_actions_on_format": { "source.organizeImports.ruff": false }
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants