dotnet / dotnet/roslyn

Cannot navigate to Nested Razor Component

Open
#85,544 4 comments 0 reactions 0 assignees View on GitHub
Area-Razor
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Describe the bug

When nesting razor components using .filenesting.json settings, you are unable to navigate to the component using the underscore as the reference.

https://github.com/user-attachments/assets/d617d159-a635-46e0-8806-d05411d734d5

### Expected Behavior

Navigating to the sub component works properly

### Steps To Reproduce

Use filesettings for nesting, try to navigate to a subcomponent

### Exceptions (if any)

_No response_

### .NET Version

_No response_

### Anything else?

_No response_

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.