| add-reference |
adrianwilczynski |
1.0.2 |
adrianwilczynski.add-reference-1.0.2 |
| arc-plus |
ph-hawkins |
1.0.2 |
ph-hawkins.arc-plus-1.0.2 |
| aura-theme |
DaltonMenezes |
2.1.2 |
daltonmenezes.aura-theme-2.1.2 |
| auto-close-tag |
formulahendry |
0.5.15 |
formulahendry.auto-close-tag-0.5.15 |
| auto-region-folder |
DNEK |
1.0.1 |
dnek.auto-region-folder-1.0.1 |
| auto-rename-tag |
formulahendry |
0.1.10 |
formulahendry.auto-rename-tag-0.1.10 |
| autopep8 |
ms-python |
2025.2.0 |
ms-python.autopep8-2025.2.0 |
| better-comments |
aaron-bond |
3.0.2 |
aaron-bond.better-comments-3.0.2 |
| better-cpp-syntax |
jeff-hykin |
1.27.1 |
jeff-hykin.better-cpp-syntax-1.27.1 |
| bracket-select |
chunsen |
2.0.2 |
chunsen.bracket-select-2.0.2 |
| catppuccin-vsc |
Catppuccin |
3.18.1 |
catppuccin.catppuccin-vsc-3.18.1 |
| change-case |
wmaurer |
1.0.0 |
wmaurer.change-case-1.0.0 |
| chatgpt |
openai |
0.4.50 |
openai.chatgpt-0.4.50 |
| code-spell-checker |
streetsidesoftware |
4.3.2 |
streetsidesoftware.code-spell-checker-4.3.2 |
| code-spell-checker-hebrew |
streetsidesoftware |
2.0.4 |
streetsidesoftware.code-spell-checker-hebrew-2.0.4 |
| compare-folders |
moshfeu |
0.25.3 |
moshfeu.compare-folders-0.25.3 |
| copilot-chat |
GitHub |
0.33.5 |
github.copilot-chat-0.33.5 |
| copy-without-indent |
aryeh |
0.0.4 |
aryeh.copy-without-indent-0.0.4 |
| csdevkit |
ms-dotnettools |
1.90.2 |
ms-dotnettools.csdevkit-1.90.2-darwin-arm64 |
| csharp |
ms-dotnettools |
2.110.4 |
ms-dotnettools.csharp-2.110.4-darwin-arm64 |
| csv-to-table |
phplasma |
1.4.1 |
phplasma.csv-to-table-1.4.1 |
| cursor-dark |
cedricverlinden |
2.2.0 |
cedricverlinden.cursor-dark-2.2.0 |
| debugpy |
ms-python |
2025.16.0 |
ms-python.debugpy-2025.16.0-darwin-arm64 |
| docker |
docker |
0.18.0 |
docker.docker-0.18.0-darwin-arm64 |
| dotnet |
leo-labs |
1.3.0 |
leo-labs.dotnet-1.3.0 |
| dotnet-interactive-vscode |
ms-dotnettools |
1.0.6323010 |
ms-dotnettools.dotnet-interactive-vscode-1.0.6323010 |
| dotnet-maui |
ms-dotnettools |
1.11.215 |
ms-dotnettools.dotnet-maui-1.11.215-darwin-arm64 |
| dotnettheme-vscode |
HamedHeydarian |
1.0.6 |
hamedheydarian.dotnettheme-vscode-1.0.6 |
| even-better-toml |
tamasfe |
0.21.2 |
tamasfe.even-better-toml-0.21.2 |
| font-switcher |
evan-buss |
4.1.0 |
evan-buss.font-switcher-4.1.0 |
| gemini-cli-vscode-ide-companion |
google |
0.19.1 |
google.gemini-cli-vscode-ide-companion-0.19.1 |
| generic-pseudocode |
Willumz |
1.4.1 |
willumz.generic-pseudocode-1.4.1 |
| githistory |
donjayamanne |
0.6.20 |
donjayamanne.githistory-0.6.20 |
| github-local-actions |
SanjulaGanepola |
1.2.5 |
sanjulaganepola.github-local-actions-1.2.5 |
| hexeditor |
ms-vscode |
1.11.1 |
ms-vscode.hexeditor-1.11.1 |
| highlight-trailing-white-spaces |
ybaumes |
0.0.2 |
ybaumes.highlight-trailing-white-spaces-0.0.2 |
| html-css-class-completion |
Zignd |
1.20.0 |
zignd.html-css-class-completion-1.20.0 |
| insert-numeric-range |
mpearson |
0.0.2 |
mpearson.insert-numeric-range-0.0.2 |
| json-to-field-constants |
SKJCORP |
0.0.2 |
skjcorp.json-to-field-constants-0.0.2 |
| jupyter |
ms-toolsai |
2025.9.1 |
ms-toolsai.jupyter-2025.9.1-darwin-arm64 |
| jupyter-keymap |
ms-toolsai |
1.1.2 |
ms-toolsai.jupyter-keymap-1.1.2 |
| jupyter-renderers |
ms-toolsai |
1.3.0 |
ms-toolsai.jupyter-renderers-1.3.0 |
| limelight-studios-dark |
limelightstudios |
1.0.10 |
limelightstudios.limelight-studios-dark-1.0.10 |
| LiveServer |
ritwickdey |
5.7.9 |
ritwickdey.liveserver-5.7.9 |
| lldb-dap |
llvm-vs-code-extensions |
0.2.18 |
llvm-vs-code-extensions.lldb-dap-0.2.18 |
| makefile-tools |
ms-vscode |
0.12.17 |
ms-vscode.makefile-tools-0.12.17 |
| markdown-checkbox |
PKief |
1.10.0 |
pkief.markdown-checkbox-1.10.0 |
| material-icon-theme |
PKief |
5.29.0 |
pkief.material-icon-theme-5.29.0 |
| material-product-icons |
PKief |
1.7.1 |
pkief.material-product-icons-1.7.1 |
| midnight-pastel |
benjaminmandersen |
0.3.8 |
benjaminmandersen.midnight-pastel-0.3.8 |
| minimalist-dark-theme |
kxGeou |
0.1.1 |
kxgeou.minimalist-dark-theme-0.1.1 |
| nix |
AlvaroSannas |
1.4.8 |
alvarosannas.nix-1.4.8 |
| Nix |
bbenoist |
1.0.1 |
bbenoist.nix-1.0.1 |
| partial-diff |
ryu1kn |
1.4.3 |
ryu1kn.partial-diff-1.4.3 |
| path-intellisense |
christian-kohler |
2.10.0 |
christian-kohler.path-intellisense-2.10.0 |
| pdf |
tomoki1207 |
1.2.2 |
tomoki1207.pdf-1.2.2 |
| preview-vscode |
searKing |
2.3.12 |
searking.preview-vscode-2.3.12 |
| project-colorize |
AngelLuisAlmaraz |
1.1.0 |
angelluisalmaraz.project-colorize-1.1.0 |
| python |
ms-python |
2025.20.0 |
ms-python.python-2025.20.0-darwin-arm64 |
| remote-containers |
ms-vscode-remote |
0.434.0 |
ms-vscode-remote.remote-containers-0.434.0 |
| rest-client |
humao |
0.25.1 |
humao.rest-client-0.25.1 |
| retina |
RafaCMur |
0.0.6 |
rafacmur.retina-0.0.6 |
| roslynator |
josefpihrt-vscode |
4.14.1 |
josefpihrt-vscode.roslynator-4.14.1 |
| rust-analyzer |
rust-lang |
0.3.2711 |
rust-lang.rust-analyzer-0.3.2711-darwin-arm64 |
| selected-lines-count |
gurumukhi |
1.4.0 |
gurumukhi.selected-lines-count-1.4.0 |
| spacebox-fluent-theme |
SpaceBox |
0.0.3 |
spacebox.spacebox-fluent-theme-0.0.3 |
| svg |
jock |
1.5.4 |
jock.svg-1.5.4 |
| tabspacerselect |
dlindhurst |
1.0.4 |
dlindhurst.tabspacerselect-1.0.4 |
| talos-dark |
damunga |
1.3.2 |
damunga.talos-dark-1.3.2 |
| theme |
tal7aouy |
3.1.0 |
tal7aouy.theme-3.1.0 |
| theme-sapphire |
Tyriar |
0.9.4 |
tyriar.theme-sapphire-0.9.4 |
| tinymist |
myriad-dreamin |
0.14.4 |
myriad-dreamin.tinymist-0.14.4-darwin-arm64 |
| todo-tree |
Gruntfuggly |
0.0.226 |
gruntfuggly.todo-tree-0.0.226 |
| toml |
be5invis |
0.6.0 |
be5invis.toml-0.6.0 |
| txt-syntax |
xshrim |
0.2.4 |
xshrim.txt-syntax-0.2.4 |
| unity-code-snippets |
kleber-swf |
2.4.0 |
kleber-swf.unity-code-snippets-2.4.0 |
| unity-dev-pack |
fabriciohod |
3.0.1 |
fabriciohod.unity-dev-pack-3.0.1 |
| unity-tools |
Tobiah |
1.2.12 |
tobiah.unity-tools-1.2.12 |
| visual-nuget |
fullstackspider |
0.3.4 |
fullstackspider.visual-nuget-0.3.4 |
| vsc-lfs |
mbehr1 |
1.4.1 |
mbehr1.vsc-lfs-1.4.1 |
| vsc-python-indent |
KevinRose |
1.21.0 |
kevinrose.vsc-python-indent-1.21.0 |
| vscode |
unoplatform |
0.23.6 |
unoplatform.vscode-0.23.6 |
| vscode-base64 |
adamhartford |
0.1.0 |
adamhartford.vscode-base64-0.1.0 |
| vscode-colorize |
kamikillerto |
0.17.1 |
kamikillerto.vscode-colorize-0.17.1 |
| vscode-containers |
ms-azuretools |
2.3.0 |
ms-azuretools.vscode-containers-2.3.0 |
| vscode-csharp-snippets |
jorgeserrano |
1.1.0 |
jorgeserrano.vscode-csharp-snippets-1.1.0 |
| vscode-docker |
ms-azuretools |
2.0.0 |
ms-azuretools.vscode-docker-2.0.0 |
| vscode-dotnet-runtime |
ms-dotnettools |
3.0.0 |
ms-dotnettools.vscode-dotnet-runtime-3.0.0 |
| vscode-duplicate |
mrmlnc |
1.2.1 |
mrmlnc.vscode-duplicate-1.2.1 |
| vscode-edge-devtools |
ms-edgedevtools |
2.1.10 |
ms-edgedevtools.vscode-edge-devtools-2.1.10 |
| vscode-html-css |
ecmel |
2.0.13 |
ecmel.vscode-html-css-2.0.13 |
| vscode-jupyter-cell-tags |
ms-toolsai |
0.1.9 |
ms-toolsai.vscode-jupyter-cell-tags-0.1.9 |
| vscode-jupyter-slideshow |
ms-toolsai |
0.1.6 |
ms-toolsai.vscode-jupyter-slideshow-0.1.6 |
| vscode-lldb |
vadimcn |
1.12.0 |
vadimcn.vscode-lldb-1.12.0 |
| vscode-pgsql |
ms-ossdata |
1.12.1 |
ms-ossdata.vscode-pgsql-1.12.1-darwin-arm64 |
| vscode-print |
pdconsec |
1.6.0 |
pdconsec.vscode-print-1.6.0 |
| vscode-pull-request-github |
GitHub |
0.122.1 |
github.vscode-pull-request-github-0.122.1 |
| vscode-pylance |
ms-python |
2025.10.4 |
ms-python.vscode-pylance-2025.10.4 |
| vscode-python-envs |
ms-python |
1.12.0 |
ms-python.vscode-python-envs-1.12.0-darwin-arm64 |
| vscode-speech |
ms-vscode |
0.16.0 |
ms-vscode.vscode-speech-0.16.0-darwin-arm64 |
| vscode-theme-onelight |
akamud |
2.3.0 |
akamud.vscode-theme-onelight-2.3.0 |
| vscode-unitymeta |
PTD |
0.0.7 |
ptd.vscode-unitymeta-0.0.7 |
| vscode-witcherscript |
nicollasricas |
1.0.9 |
nicollasricas.vscode-witcherscript-1.0.9 |
| vscode-xml |
redhat |
0.29.0 |
redhat.vscode-xml-0.29.0-darwin-arm64 |
| vscode-yaml |
redhat |
1.19.1 |
redhat.vscode-yaml-1.19.1 |
| vscodeilviewer |
josephwoodward |
0.0.1 |
josephwoodward.vscodeilviewer-0.0.1 |
| vstuc |
visualstudiotoolsforunity |
1.2.0 |
visualstudiotoolsforunity.vstuc-1.2.0 |
| xml |
DotJoshJohnson |
2.5.1 |
dotjoshjohnson.xml-2.5.1 |
| xslt-xpath |
deltaxml |
1.7.0 |
deltaxml.xslt-xpath-1.7.0 |
Type: Bug
Issue Description
When using a file-based app with an "import statement" (I don't remember the exact name of the feature but I am taking about
#:package Name@VersionAnd formatting with the editor (either by using the shortcut, or the command pallet as seen in the recording), spaces are inserted between '#', ':', and "package", leading to LSP breaking and the code failing compilation.
ScreenShot.2025-12-11.at.10.08.36.mov
I've experienced this issue since the release of .NET 10.
Steps to Reproduce
Create a file-based and import any package, then format using the editor.
Expected Behavior
Formatting should account for this statements and no-longer break compilation...
Actual Behavior
Extension version: 2.110.4
VS Code version: Code 1.106.3 (Universal) (bf9252a2fb45be6893dd8870c0bf37e2e1766d61, 2025-11-25T22:28:18.024Z)
OS version: Darwin arm64 25.1.0
Modes:
Logs
C# log
Details
C# LSP Trace Logs log
Details
Environment Information
VSCode version: 1.106.3
C# Extension: 2.110.4
Using OmniSharp: false
Dotnet Information
.NET SDK: Version: 10.0.101 Commit: fad253f51b Workload version: 10.0.100-manifests.9f71effe MSBuild version: 18.0.6+fad253f51Runtime Environment:
OS Name: Mac OS X
OS Version: 26.1
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/10.0.101/
.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.
Host:
Version: 10.0.1
Architecture: arm64
Commit: fad253f51b
.NET SDKs installed:
9.0.307 [/usr/local/share/dotnet/sdk]
10.0.101 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.11 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.21 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.11 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
C# Settings
System Info
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: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments