Skip to content

Commit

Permalink
Merge pull request #501 from koxudaxi/fix-use-ruff-format-option-not-…
Browse files Browse the repository at this point in the history
…available

Fix Ruff format checkbox
  • Loading branch information
koxudaxi authored Sep 12, 2024
2 parents 5d37f0c + 92e2d0b commit 7eacdbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## [Unreleased]
- Fix Ruff format checkbox [[#501](https://github.com/koxudaxi/ruff-pycharm-plugin/pull/501)]
- Improve lsp config [[#499](https://github.com/koxudaxi/ruff-pycharm-plugin/pull/499)]

## [0.0.37] - 2024-09-10
Expand Down
2 changes: 1 addition & 1 deletion src/com/koxudaxi/ruff/RuffConfigPanel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class RuffConfigPanel(project: Project) {
useIntellijLspClientRadioButton.isEnabled = intellijLspClientSupported
useIntellijLspClientRadioButton.isSelected = ruffConfigService.useIntellijLspClient
useLsp4ijRadioButton.isSelected = ruffConfigService.useLsp4ij
useRuffFormatCheckBox.isEnabled = lsp4ijSupported
useRuffFormatCheckBox.isEnabled = true
useRuffFormatCheckBox.isSelected = ruffConfigService.useRuffFormat
useRuffServerRadioButton.isEnabled = lspSupported
useRuffServerRadioButton.isSelected = ruffConfigService.useRuffServer || !ruffConfigService.useRuffLsp
Expand Down

0 comments on commit 7eacdbe

Please sign in to comment.