Skip to content

Preserve language picked for untitled text documents #16803

Closed

Description

  • create a new document
  • select language to JavaScript
  • type code
  • exit and restart VS Code
  • 🐛 the untitled file shows as Plaintext

Activity

  1. changed the title [-]hot exit loses language[/-] [+]Preserve language picked for file or untitled text documents[/+] on Dec 7, 2016
  2. added
    workbench-hot-exit
    feature-request
    on Dec 7, 2016
  3. bpasero commented on Dec 7, 2016

    @bpasero
    Contributor

    This is actually true for both files and untitled files. While this issue has been there for files already without hot-exit, it is a bit more obvious now for untitled files at least.

    Related: #16588

  4. changed the title [-]Preserve language picked for file or untitled text documents[/-] [+]Preserve language picked for untitled text documents[/+] on Dec 13, 2016
  5. added
    verification-needed
    on Dec 13, 2016
  6. bpasero commented on Dec 13, 2016

    @bpasero
    Contributor

    Actually fix was easy enough for untitled. Opened #17115 to track for files.

  7. bpasero commented on Jan 23, 2017

    @bpasero
    Contributor
    • To verify:
      Check that a picked language for an untitled file is restored after restart.
  8. jrieken commented on Feb 16, 2017

    @jrieken
    ContributorAuthor

    I am seeing this with 1.9.1 on windows 7

  9. jrieken commented on Feb 16, 2017

    @jrieken
    ContributorAuthor

    feb-16-2017 16-20-19

  10. added
    bug
    and removed
    feature-request
    verification-needed
    verified
    on Feb 16, 2017
  11. Tyriar commented on Feb 16, 2017

    @Tyriar
    Contributor

    Needs #207 for empty workspaces, see #20189 (comment)

  12. locked and limited conversation to collaborators on Nov 18, 2017
  13. added a commit that references this issue on Sep 6, 2026
    e10ba62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugverifiedworkbench-hot-exit

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions