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

Adding indentation in SASS file #55330

Closed
mittalyashu opened this issue Jul 29, 2018 · 2 comments
Closed

Adding indentation in SASS file #55330

mittalyashu opened this issue Jul 29, 2018 · 2 comments
Assignees
Labels
css-less-scss Issues and items concerning CSS,Less,SCSS styling *extension-candidate Issue identified as good extension implementation

Comments

@mittalyashu
Copy link

Issue Type: Bug

Not able to indent after collapsing the content in SASS file.
https://youtu.be/Vb2QvgUAIzA

VS Code version: Code 1.25.1 (1dfc5e5, 2018-07-11T15:43:11.471Z)
OS version: Windows_NT ia32 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz (4 x 2295)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: unavailable_software
webgl: enabled
webgl2: enabled
Memory (System) 3.78GB (0.65GB free)
Process Argv C:\Program Files (x86)\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%
Extensions (23)
Extension Author (truncated) Version
vscode-languagetool ada 3.8.0
vscode-languagetool-en ada 3.8.0
Bookmarks ale 9.0.2
vscode-open-file-folder auc 0.0.4
emojisense bie 0.4.1
rails bun 0.8.0
vscode-gemfile bun 0.0.2
gitlens eam 8.5.3
EditorConfig Edi 0.12.4
carbon-now-sh eri 1.1.1
prettier-vscode esb 1.5.0
code-runner for 0.9.3
HTMLHint mka 0.5.0
vscode-duplicate mrm 1.2.1
atom-keybindings ms- 3.0.4
vetur oct 0.12.5
material-icon-theme PKi 3.5.2
Ruby reb 0.18.0
vscode-icons rob 7.24.0
sass-indented rob 1.4.9
guides spy 0.9.2
code-spell-checker str 1.6.10
vscode-import-cost wix 2.8.0

(8 theme extensions excluded)

@vscodebot
Copy link

vscodebot bot commented Jul 29, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@vscodebot vscodebot bot added the editor label Jul 29, 2018
@kieferrm kieferrm added css-less-scss Issues and items concerning CSS,Less,SCSS styling and removed editor labels Jul 30, 2018
@aeschli
Copy link
Contributor

aeschli commented Jul 30, 2018

The folding strategy for SASS is based purely on the indentation of lines. A folding region starts when a line has a smaller indent than one or more following lines and ends when there is a line with the same or smaller indent.

To be smarter and to, for example, have folding regions for SASS rule, this would have to be done by a SASS extension that understands the SASS syntax.
Please file this request against your favorite SASS extension (We don't intend to work on SASS support ourselves)

@aeschli aeschli closed this as completed Jul 30, 2018
@aeschli aeschli added the *extension-candidate Issue identified as good extension implementation label Jul 30, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
css-less-scss Issues and items concerning CSS,Less,SCSS styling *extension-candidate Issue identified as good extension implementation
Projects
None yet
Development

No branches or pull requests

3 participants