Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to disable devkit #6390

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Conversation

dibarbet
Copy link
Member

No description provided.

package.json Outdated
@@ -1169,6 +1169,12 @@
"default": null,
"description": "Sets a path where MSBuild binary logs are written to when loading projects, to help diagnose loading errors."
},
"dotnet.loadProjectsWithCSharpExtension": {
"scope": "machine-overridable",
Copy link
Member Author

Choose a reason for hiding this comment

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

Unfortunately this doesn't remove it from user settings. I saw no way to actually remove it from user settings :(. Might be a limitation we have to live with.

Copy link
Member

Choose a reason for hiding this comment

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

Hmm, does this work?

resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.

Copy link
Member Author

Choose a reason for hiding this comment

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

Resource allows user settings as well. However it seemed slightly more appropriate
image

@dibarbet dibarbet force-pushed the add_devkit_disabled_option branch from 28e2485 to bf8b811 Compare September 18, 2023 23:09
@dibarbet dibarbet marked this pull request as ready for review September 19, 2023 00:04
@dibarbet dibarbet requested a review from a team as a code owner September 19, 2023 00:04
package.nls.json Outdated
@@ -5,6 +5,7 @@
"configuration.dotnet.server.waitForDebugger": "Passes the --debug flag when launching the server to allow a debugger to be attached. (Previously `omnisharp.waitForDebugger`)",
"configuration.dotnet.server.trace": "Sets the logging level for the language server",
"configuration.dotnet.server.extensionPaths": "Override for path to language server --extension arguments",
"configuration.dotnet.preferCSharpExtension": "Forces projects to load with the C# extension only. This can be useful when using legacy project types that are not supported by the C# Dev Kit. (Requires window reload)",
Copy link
Member

Choose a reason for hiding this comment

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

Should there be a "the" before "C# Dev Kit" not?

Copy link
Contributor

Choose a reason for hiding this comment

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

There shouldn't be a "the" before CDK.

package.nls.json Outdated Show resolved Hide resolved
package.nls.json Outdated Show resolved Hide resolved
@dibarbet dibarbet merged commit 23d7fb2 into dotnet:main Sep 19, 2023
@dibarbet dibarbet deleted the add_devkit_disabled_option branch September 19, 2023 23:37
dibarbet added a commit to dibarbet/vscode-csharp that referenced this pull request Sep 28, 2023
dibarbet added a commit to dibarbet/vscode-csharp that referenced this pull request Sep 28, 2023
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.

3 participants