microsoft / vscode

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

[scss] don't autocomplete in comments #149667

Open distinctdan opened 2 years ago

distinctdan commented 2 years ago

Issue Type: Bug

I'm trying to type a scss comment. However, autocomplete is presenting useless suggestions for the content of the comment. For example, here I've typed a colon because I'm about to type a list. However, autocomplete has presented a list of junk, so when I press enter, it's going to prefill some junk instead of a newline like I wanted.

Screen Shot 2022-05-16 at 5 41 50 PM

VS Code version: Code 1.67.1 (da15b6fd3ef856477bf6f4fb29ba1b7af717770d, 2022-05-06T12:37:16.526Z) OS version: Darwin x64 20.6.0 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|2, 3, 4| |Memory (System)|16.00GB (0.24GB free)| |Process Argv|--crash-reporter-id 656c6348-b102-4b6b-8ade-e7f56a3faa5f| |Screen Reader|no| |VM|0%|
Extensions (10) Extension|Author (truncated)|Version ---|---|--- cform|aws|0.0.24 go|gol|0.33.0 vscode-scss|mrm|0.10.0 vscode-docker|ms-|1.22.0 vscode-kubernetes-tools|ms-|1.3.8 remote-containers|ms-|0.234.0 cpptools|ms-|1.9.8 vscode-commons|red|0.0.6 vscode-yaml|red|1.7.0 vscode-proto3|zxh|0.5.5
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyl392:30443607 pythontb:30283811 pythonvspyt551cf:30345471 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 pythonvsnew555:30457759 vscscmwlcmt:30465135 cppdebugcf:30475217 vscaac:30438847 vsclangdc:30486549 ```
gjsjohnmurray commented 2 years ago

Please use the Start Extension Bisect command to investigate whether the problem is being caused by one of your extensions.

distinctdan commented 2 years ago

After bisecting, I got the result: "Extension Bisect is done but no extension has been identified. This might be a problem with Code."

aeschli commented 2 years ago

Ok, I see, we don't check if were in a comment.