Method definition with opening parenthesis on following line causes intellisense to stop working properly.
Example:
private void ExampleMethod
(
int param1,
int param2
{
// code from here will not be color coded
}
Steps to Reproduce
Paste the above code into a CSharp file. Code following the opening parenthesis will for the most part not be color coded properly.
Expected Behavior
Color coding should be consistent throughout the entire file.
Actual Behavior
Color coding after the opening parenthesis is not consistently color coded.
Logs
OmniSharp log
Post the output from Output-->OmniSharp log here
C# log
Post the output from Output-->C# here
Environment information
VSCode version: 1.74.3
C# Extension: 1.25.4
Mono Information
OmniSharp using mono: 6.12.0Dotnet Information
.NET SDK:
Version: 7.0.100
Commit: e12b7af219
Runtime Environment:
OS Name: Mac OS X
OS Version: 12.6
OS Platform: Darwin
RID: osx.12-arm64
Base Path: /usr/local/share/dotnet/sdk/7.0.100/
Host:
Version: 7.0.0
Architecture: arm64
Commit: d099f075e4
.NET SDKs installed:
7.0.100 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
|Extension|Author|Version|
|---|---|---|
|csharp|ms-dotnettools|1.25.4|
|gitlens|eamodio|13.2.0|
|one-monokai|azemoh|0.5.0|
|shader|slevesque|1.1.5|
|unity-debug|Unity|3.0.2|
|vscode-edit-csv|janisdd|0.7.2|;
Issue Description
Method definition with opening parenthesis on following line causes intellisense to stop working properly. Example:
Steps to Reproduce
Paste the above code into a CSharp file. Code following the opening parenthesis will for the most part not be color coded properly.
Expected Behavior
Color coding should be consistent throughout the entire file.
Actual Behavior
Color coding after the opening parenthesis is not consistently color coded.
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.74.3 C# Extension: 1.25.4
Mono Information
OmniSharp using mono: 6.12.0Dotnet Information
.NET SDK: Version: 7.0.100 Commit: e12b7af219 Runtime Environment: OS Name: Mac OS X OS Version: 12.6 OS Platform: Darwin RID: osx.12-arm64 Base Path: /usr/local/share/dotnet/sdk/7.0.100/ Host: Version: 7.0.0 Architecture: arm64 Commit: d099f075e4 .NET SDKs installed: 7.0.100 [/usr/local/share/dotnet/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Other architectures found: None Environment variables: Not set global.json file: Not found Learn more: https://aka.ms/dotnet/info Download .NET: https://aka.ms/dotnet/downloadVisual Studio Code Extensions
|Extension|Author|Version| |---|---|---| |csharp|ms-dotnettools|1.25.4| |gitlens|eamodio|13.2.0| |one-monokai|azemoh|0.5.0| |shader|slevesque|1.1.5| |unity-debug|Unity|3.0.2| |vscode-edit-csv|janisdd|0.7.2|;