dotnet / dotnet/vscode-csharp

New ASP.NET 8 Route tooling is not working (colorization and completion)

Open
#5,750 1 comment 0 reactions 1 assignee Claimed by @genlu View on GitHub
Feature Request Triaged
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
17h 56m
Merged PRs (30d)
21

Description

C# Extension Version: v2.0.46-beta.ge1f04155cf
C# Dev Kit Extension Version: v0.0.591-alpha

Steps to reproduce:

1. Install .NET 8 SDK
2. Open the attached solution (or create a new one but this has the use case)
3. Open program.cs and navigate to line 24 and edit code after "/books" and start typing:
{bookId}
EXPECT:
New completion intellisense on the route.
VS:
![image](https://github.com/dotnet/vscode-csharp/assets/46729679/ef499e10-5a3e-4f7d-b5b0-767464b7ca32)

4. Complete the line of code as "/books/{bookId:int?}/{newParameter}"
EXPECT: new colorization for route parameters
Screenshot from VS:
![image](https://github.com/dotnet/vscode-csharp/assets/46729679/9f44e7ea-5d9f-4a61-b217-0b2e395ac6a6)
VSCode (note: tried multiple themes):
![image](https://github.com/dotnet/vscode-csharp/assets/46729679/a66a3682-4c59-45ae-9f6d-a58808d125c0)

Feature: https://devblogs.microsoft.com/dotnet/aspnet-core-route-tooling-dotnet-8/

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.