-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Closed
Closed
Copy link
Labels
*questionIssue represents a question, should be posted to StackOverflow (VS Code)Issue represents a question, should be posted to StackOverflow (VS Code)feature-requestRequest for new features or functionalityRequest for new features or functionalityverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
Description
- VS Code Version: 1.93.1
- OS Version: Windows 11
Steps to Reproduce:
- Open VS Code
- Create x.winget file
- Add YAML code
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
properties:
resources:
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: install-dotnet8-SDK
directives:
description: Install .NET 8 SDK
allowPrerelease: true
settings:
id: Microsoft.DotNet.SDK.8
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: install-vs-code
directives:
description: Install Visual Studio Code
allowPrerelease: true
settings:
id: Microsoft.VisualStudioCode
source: winget
- resource: Microsoft.VSCode.DSC/VSCodeExtension
id: install-csharp-dev-kit
dependsOn:
- install-vs-code
directives:
description: Install C# Dev Kit
allowPrerelease: true
settings:
name: ms-dotnettools.csdevkit
exist: true
configurationVersion: 0.2.0
- Click "Set Language Mode" in bottom right of Status Bar and switch to YAML
- Save file
- Close VS Code
- Reopen same file in VS Code
- File is back to plain text and I have to switch the language back to YAML every time
Metadata
Metadata
Assignees
Labels
*questionIssue represents a question, should be posted to StackOverflow (VS Code)Issue represents a question, should be posted to StackOverflow (VS Code)feature-requestRequest for new features or functionalityRequest for new features or functionalityverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded