microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.93k stars 28.77k forks source link

Inconsistant formating #227910

Closed Bogeyduffer closed 2 weeks ago

Bogeyduffer commented 2 weeks ago

Type: Bug

I am not sure how to reliably reproduce this problem because it seems to me somewhat unpredictable. But in this case the problem became apparent when trying to add the lint:

set -x

Before the line was added to my Makefile, it was not a problem running the file. After adding the line, the file would error when trying to execute.

Enter your choice (1-12): 1 Makefile.localDev:82: missing separator. Stop. make: [options] Error 2 bob@MacBook-Pro project %

Removing the line would allow the execution again.

Please see the attached views comparing the VS view, a copy paste of the VS view and the Goland view of that same file.

VS Code version: Code 1.93.0 (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z) OS version: Darwin x64 23.6.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M3 Pro (12 x 2400)| |GPU Status|2d_canvas: enabled
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|2, 2, 2| |Memory (System)|18.00GB (0.02GB free)| |Process Argv|--crash-reporter-id 594e7fb2-7afd-4821-b85f-d948b9ee475b| |Screen Reader|no| |VM|0%|
Extensions (20) Extension|Author (truncated)|Version ---|---|--- gotemplate|cas|0.5.0 dbclient-jdbc|cwe|1.3.6 vscode-mysql-client2|cwe|7.6.0 vscode-eslint|dba|3.0.10 EditorConfig|Edi|0.16.4 prettier-vscode|esb|11.0.0 html-snippets|gey|0.2.3 vscode-github-actions|git|0.26.3 go|gol|0.42.0 vscode-sshfs|Kel|1.26.1 vscode-docker|ms-|1.29.2 vscode-kubernetes-tools|ms-|1.3.16 remote-containers|ms-|0.384.0 makefile-tools|ms-|0.10.26 vscode-thunder-client|ran|2.25.2 vscode-yaml|red|1.15.0 vs-code-prettier-eslint|rve|6.0.0 non-breaking-space-highlighter|vik|0.0.3 vscode-icons|vsc|12.8.0 vscode-proto3|zxh|0.5.5
jrieken commented 2 weeks ago

This issue lacks

Bogeyduffer commented 2 weeks ago

Thanks for the response. I think everything you need it there. I’ll just close it and use Goland. Thank you.