Skip to content

[Lua] vs code pushs left all "end" blocks #68876

@LaevusDexter

Description

@LaevusDexter

Issue Type: Bug

Well, that's it.

function t()
	if true then
            -- ... typing end ...
            for i=1, 100 do
                -- ... typing end ...
                while false do
                    -- ... typing end ...
end -- it appears here
end -- it appears here
end -- it appears here
end

Happens since last vc code update.

VS Code version: Code 1.31.1 (1b8e830, 2019-02-12T02:20:54.427Z)
OS version: Windows_NT x64 10.0.17763

System Info
Item Value
CPUs Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz (4 x 2394)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
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: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 5.93GB (1.66GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
cpptools ms- 0.21.0
csharp ms- 1.17.1
Go ms- 0.9.2
rust rus 0.5.3

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)editor-autoindentEditor auto indentation issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions