feat: Recommend unoplatform.vscode inside VS Code #480
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GitHub Issue (If applicable): closes #
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Opening a new solution, based on the templates, inside VS Code does not suggest installing the Uno Platform extension. Instead it suggest installed C# DevKit which does not work with our extension.
What is the new behavior?
This will suggest the installation of the Uno Platform extension (if not already installed) when opening the solution folder inside VS Code.
As the Uno Platform extension depends on the MS C# extension, the latter will also be installed (if not already). Sadly it does not enable the
useOmniSharp
setting even when C# DevKit is not present :( The Uno Platform logs prints an error and a link to the documentation in this case [1].This also stop VS Code from recommending C# DevKit (which was done before suggesting Uno) since the Uno extension cannot work yet with it (and the available experimental API could break the integration at any time). We'll recommend C# DevKit when ready on our own terms.
[1] a future version of the Uno Platform extension will show a notification and open the settings (or the web documentation) to make the required change easier.
PR Checklist
Please check if your PR fulfills the following requirements:
Other information
Internal Issue (If applicable):