Skip to content

Ctrl+T shows .razor.g.cs files  #7097

Open
@omuleanu

Description

@omuleanu

Describe the bug:
Having a blazor solution, and using Ctrl + T (or Q) to find a Blazor File (.razor) will show the .razor.g.cs files as first result before '.razor' files

Version used:
VS2022 17.3.0
To reproduce:

  1. Ctrl + T
  2. Type "Index"
  3. Note Index.razor.g.cs will be the first result

Expected behavior:
Think razor.g.cs files shouldn't even be in the result, hitting enter or clicking on these results doesn't do anything anyway

here's a small demo: https://youtu.be/Ysrvs1YvvkQ

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-compilerUmbrella for all compiler issuesbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions