-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
Stable Action of "Select Indentation" (for shortcut key registration) as workbench.action.editor.*
#220135
Comments
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
I frequently used the Thanks for reporting the issue. Since it doesn't look like it will be accepted, let me please know, if someone finds a workaround. |
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Current Status
On the bottom right side of the editor window, we normally have those status controls.
Many of those display the current information and clicking enables changing them.
Note that, many of such "changing" actions are available as actions (which shortcut keys can be assigned) so that we don't need to move a hand out from the keyboard (even if "choosing menu" is displaying, it can be selected purely from keyboard).
workbench.action.editor.changeLanguageMode
andworkbench.action.editor.changeEOL
.workbench.action.editor.changeEncoding
.... But we cannot change the indentation settings (current: Tab Size: 4) in a stable way.
It currently has an action per window (
changeEditorIndentation1
,changeEditorIndentation2
...) and setting a shortcut key will work on some windows but not others.NOT a solution
We already have
editor.action.indentUsingSpaces
)editor.action.indentUsingTabs
)but I don't consider those actions as the solution because... why do we have to register multiple separate shortcut keys when we have a nice menu like this when we click the current indentation?
Request
Can we have a stable action to change current indentation settings under
workbench.action.editor
(likeworkbench.action.editor.changeIndentation
), not unstablechangeEditorIndentation*
?It seems VSCode changed
changeEditorIndentation
tochangeEditorIndentation{num}
to fix a bug (#205169) so there may be an obstacle to implement it. Still, I'd be happy this feature to be implemented and at least I'm good to hear why this is difficult/different from other actions.The text was updated successfully, but these errors were encountered: