You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the cursor is at the very beginning of the line, and TAB is pressed, then the indentation is two times the size of the intended indent. Every other keypress indents as intended.
Extension version: 0.2.2
VS Code version: Code 1.78.0 (252e5463d60e63238250799aef7375787f68b4ee, 2023-05-03T20:09:00.748Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No
System Info
Item
Value
CPUs
AMD Ryzen 7 2700X Eight-Core Processor (16 x 3700)
Thanks for the report, could you clarify what you meant by other key presses that'd cause an indentation? Also if TAB did caused an indent, but it is not the right size, you may wanna check your VSCode tab-size options are set correctly. which can be found in the bottom right of the editor.
It'd also be helpful if you can provide an example :)
If the cursor is at the very beginning of a line at column 0 and I press TAB then it indents two times. Assuming that the indent size is set to four spaces, then the resulting indent is eight spaces. However, if the cursor is, e.g. on column 12, and I press TAB, then the next indentation is 16, as it should be.
I already checked the indent size and if I disable code-yew-server, the buggy behaviour for when the cursor is at column 0 disappears.
Sorry for my belated reply, midterms has been taking priority for me.
Could you also send me the code snippet that trigger this behavior? Cause I have tested this on both simple, and nested html! {} macros, and indentation doesn't seem to be an issue with pressing TAB.
Type: Bug
When the cursor is at the very beginning of the line, and TAB is pressed, then the indentation is two times the size of the intended indent. Every other keypress indents as intended.
Extension version: 0.2.2
VS Code version: Code 1.78.0 (252e5463d60e63238250799aef7375787f68b4ee, 2023-05-03T20:09:00.748Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
The text was updated successfully, but these errors were encountered: