Skip to content

Every single error message is displayed twice. #1878

@ghost

Description

Environment data

dotnet --info output:
.NET Command Line Tools (2.0.2)

Product Information:
Version: 2.0.2
Commit SHA-1 hash: a04b4bf512

Runtime Environment:
OS Name: arch
OS Version:
OS Platform: Linux
RID: linux-x64
Base Path: /opt/dotnet/sdk/2.0.2/

Microsoft .NET Core Shared Framework Host

Version : 2.0.0
Build : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

VS Code version: 1.18.1
C# Extension version: 1.13.1

Steps to reproduce

Open any C# file.

Expected behavior

Only one error message will be shown per error.

Actual behavior

Every single error message is shown exactly twice: https://i.imgur.com/7WwUdn9.png. This does not only happen for semicolons, but for every C# error all the time.

Additional information

I have reinstalled both the C# extension and VS Code with no success. I have also noticed that right after opening VS Code, errors are only displayed once at first, but after around 2-3 seconds, every single error message will be shown twice from that point on. Furthermore, this happens only with the C# extension. When using linters for other languages, error messages are only displayed once.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions