dotnet / dotnet/vscode-csharp

[C# Dev Kit] Adding an interface file to the project prompts an error 'Naming rule violation: These words must begin with upper case characters: nterface1'

Open
#5,770 1 comment 0 reactions 1 assignee Claimed by @Cosifne View on GitHub
Feature Request Triaged
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
18h 40m
Merged PRs (30d)
31

Description

Platform | VSCode Version | Extension | Version | Comment
-- | -- | -- | -- | --
  |   | .NET Install Tool for Extension Authors | v1.6.0 | .NET Install Tool for Extension Authors - Visual Studio Marketplace
Windows, Mac M1, Linux | VSCode Insider 1.79.0    VSCode Stable 1.78.2 | C# Dev Kit     C# Extension | v0.0.904-alpha v2.0.140 | Pipelines - Run 0.0.904-alpha+7cee3ad678 (azure.com)Pipelines - Run 20230518.11 (visualstudio.com)

Repro rate: 100%

Steps to reproduce:
1. Create any project or open the folder including any project.
2. Add an Interface file to the project.

Expect Result:
Adding an interface file to the project does not prompt an error.

Actual Result:
Adding an interface file to the project prompts an error 'Naming rule violation: These words must begin with upper case characters: nterface1'.
![image](https://github.com/dotnet/vscode-csharp/assets/46729679/2b818d5f-1602-4626-82d3-f8cfdf9a5037)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.