Skip to content

Add setting dotnet.fileBasedApps.enableAutomaticDiscovery#9096

Merged
RikkiGibson merged 7 commits intodotnet:mainfrom
RikkiGibson:fba-discovery-enable
Apr 7, 2026
Merged

Add setting dotnet.fileBasedApps.enableAutomaticDiscovery#9096
RikkiGibson merged 7 commits intodotnet:mainfrom
RikkiGibson:fba-discovery-enable

Conversation

@RikkiGibson
Copy link
Copy Markdown
Member

@RikkiGibson RikkiGibson commented Mar 24, 2026

Also updates the Roslyn version to include the automatic discovery feature.

@RikkiGibson RikkiGibson changed the title Add dotnet.fileBasedApps.enableAutomaticDiscovery Add setting dotnet.fileBasedApps.enableAutomaticDiscovery Mar 24, 2026
@RikkiGibson RikkiGibson marked this pull request as ready for review April 6, 2026 02:36
@RikkiGibson RikkiGibson requested a review from a team as a code owner April 6, 2026 02:36
The Roslyn update (5.7.0-1.26203.6) includes PR dotnet/roslyn#82906 which changes
Go to Implementation to navigate to a position instead of a span. This updates
the test expectations to match the new behavior where ranges are positions
(start == end) instead of spans.

Fixes test failures in:
- gotoImplementation.integration.test.ts
- reference.integration.test.ts
@RikkiGibson
Copy link
Copy Markdown
Member Author

@akhera99 quick check--do changes in commit c26f35e match your expectations given dotnet/roslyn#82906?

"preview"
]
},
"dotnet.fileBasedApps.enableAutomaticDiscovery": {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the plan to migrate the other settings to this new prefix? It kinda makes sense, since it's odd the old switches were under a "projects" node which is odd given the entire point of them is they aren't projects. 😄

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes #9136


expect(implementationList[0].uri.path).toContain('BaseClassImplementation.cs');
expect(implementationList[0].range).toStrictEqual(new vscode.Range(2, 17, 2, 40));
expect(implementationList[0].range).toStrictEqual(new vscode.Range(2, 17, 2, 17));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test changes look correct!

@RikkiGibson RikkiGibson merged commit d392d62 into dotnet:main Apr 7, 2026
33 checks passed
@RikkiGibson
Copy link
Copy Markdown
Member Author

@dibarbet when this flows to release branch we just want to make sure to go into the setting definition and flip default to false.

@RikkiGibson RikkiGibson deleted the fba-discovery-enable branch April 7, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants