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

Separate tab size and indent size (PR #155450) #166455

Merged
merged 6 commits into from
Nov 16, 2022
Merged

Separate tab size and indent size (PR #155450) #166455

merged 6 commits into from
Nov 16, 2022

Conversation

alexdima
Copy link
Member

Continue PR #155450 in a local branch because the upstream branch is not writable

zeroimpl and others added 6 commits July 18, 2022 22:15
This change allows the indentation size to be distinct from the tab width,
when using spaces for indentation.

This commit simply reverts e2049cd and portions of a60beb9, which had
removed this feature.
Make the "Indent Using Spaces" action not affect the displayed tab width.
Add a new "Change Tab Display Size" action to change that independently.
If the indentSize and tabSize are different, show both in the status bar.

Also for the indentation actions,  replace the "Configured Tab Size" hint
with a "Selected Tab Size" and  "Default Tab Size" options, when it is
ambiguous.
Co-authored-by: Magnus Ihse Bursie <mag@icus.se>
@vscodenpa vscodenpa added this to the November 2022 milestone Nov 16, 2022
@alexdima alexdima merged commit 207f26d into main Nov 16, 2022
@alexdima alexdima deleted the alex/pr-155450 branch November 16, 2022 12:31
@github-actions github-actions bot locked and limited conversation to collaborators Dec 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants