dotnet / dotnet/roslyn

Have option to just open CS code instead of asking to open CS or generated CS code

Open
#74,502 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Analyzers Bug
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

This issue has been moved from a ticket on Developer Community.


While editing code, I like to F12 to other code. But when using something like Community Toolkit, I'm always asked to goto a CS or a generator created CS file.....almost never (aka 100% but can see maybe one in a million times I COULD want the generated one...maybe) do I want to goto the generated one. I would LOVE to have either the ability to goto the CS code, or a tools\options\preferences to goto the CS over the generated file.

image.png


Original Comments
Feedback Bot on 7/16/2024, 11:54 PM:

(private comment, text removed)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the F12 navigation flow described in the issue and trace how it chooses between the CS file and generated CS file. Determine whether the preference belongs in Tools > Options, then verify that F12 opens the CS file by default while still allowing access to generated code.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.