Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for configuring indent-width from user settings in VSCode #15741

Open
xabru opened this issue Jan 25, 2025 · 0 comments
Open

Add support for configuring indent-width from user settings in VSCode #15741

xabru opened this issue Jan 25, 2025 · 0 comments
Labels
server Related to the LSP server wish Not on the current roadmap; maybe in the future

Comments

@xabru
Copy link

xabru commented Jan 25, 2025

Description

Description:

Currently, the Ruff extension for VSCode allows users to configure the line length through the user settings, but there is no option to configure the indentation width (the number of spaces used for indentation). It would be highly beneficial to add an option for configuring the indent-width directly from the user settings in VSCode, providing more flexibility and consistency with the user's overall development environment settings.

Suggested Solution:

Add a configuration option in settings.json for ruff.indent-width, allowing users to set the desired number of spaces for indentation. This could work similarly to how the line-length option is already handled.

@MichaReiser MichaReiser added the wish Not on the current roadmap; maybe in the future label Jan 25, 2025
@dhruvmanila dhruvmanila added the server Related to the LSP server label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server Related to the LSP server wish Not on the current roadmap; maybe in the future
Projects
None yet
Development

No branches or pull requests

3 participants