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

Instructions for files.defaultLanguage new option is confusing #90187

Closed
paustint opened this issue Feb 7, 2020 · 1 comment
Closed

Instructions for files.defaultLanguage new option is confusing #90187

paustint opened this issue Feb 7, 2020 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@paustint
Copy link

paustint commented Feb 7, 2020

  • VSCode Version: 1.42.0
  • OS Version: latest

Steps to Reproduce:

  1. View release notes for 1.42.0
  2. View setting for files.defaultLanguage

Does this issue occur when all extensions are disabled?: Yes

The settings description and release notes are not accurate for the new Default language mode setting.

The release notes are inaccurate because they say to use {activeEditorLanguage} for dynamic language mode for new files.

The settings text is inaccurate because they say to use `${activeEditorLanguage}` for dynamic language mode for new files. It appears that this was assumed to be shown in markdown but is actually shown in plain text.

The actual value that should be shown in the docs and settings is ${activeEditorLanguage}

Release Notes:

By default, untitled files do not have a specific language mode configured. VS Code has a setting, files.defaultLanguage, to configure a default language for untitled files. With this release, the setting can take a new value {activeEditorLanguage} that will dynamically use the language mode of the currently active editor instead of a fixed default.

Settings

The default language mode that is assigned to new files. If configured to `${activeEditorLanguage}`, will use the language mode of the currently active text editor if any.

image

image

@vscodebot vscodebot bot added the new release label Feb 7, 2020
@vscodebot
Copy link

vscodebot bot commented Feb 7, 2020

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@bpasero bpasero added the bug Issue identified by VS Code Team member as probable bug label Feb 7, 2020
@bpasero bpasero added this to the February 2020 milestone Feb 7, 2020
@bpasero bpasero closed this as completed in ec79687 Feb 7, 2020
@mjbvz mjbvz added the verified Verification succeeded label Feb 27, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants