vscode-csharp icon indicating copy to clipboard operation
vscode-csharp copied to clipboard

vs code for mac intellisens auto correcs Razor Page Syntax @{.. to @__o{}

Open KyleDEV opened this issue 2 years ago • 2 comments

When I try to type @{} in Razor Page to use C# code, THe IntelliSense replaces it with @__o{}

Environment data

dotnet --info output: Version: 6.0.302 Commit: c857713418

VS Code for Mac: Version: 1.68.0 (Universal) Commit: 4af164ea3a06f701fe3e89a2bcbb421d2026b68f Date: 2022-06-08T11:44:00.250Z Electron: 17.4.7 Chromium: 98.0.4758.141 Node.js: 16.13.0 V8: 9.8.177.13-electron.0 OS: Darwin x64 20.6.0

KyleDEV avatar Jul 31 '22 04:07 KyleDEV

This happens to me too on Linux, and other bad suggestions being autofilled, like @__Blazor. Pretty annoying.

scott-parkhill avatar Aug 07 '22 15:08 scott-parkhill

This happens to me too with VS Code on Windows. Also @() is auto-corrected to @__o()

bassem-mf avatar Sep 30 '22 05:09 bassem-mf