Preserve language picked for untitled text documents #16803

Closed
jrieken opened this Issue Dec 7, 2016 · 6 comments

Projects

None yet

3 participants

@jrieken
Member
jrieken commented Dec 7, 2016
  • create a new document
  • select language to JavaScript
  • type code
  • exit and restart VS Code
  • 🐛 the untitled file shows as Plaintext
@bpasero bpasero changed the title from hot exit loses language to Preserve language picked for file or untitled text documents Dec 7, 2016
@bpasero bpasero added this to the Backlog milestone Dec 7, 2016
@bpasero
Member
bpasero commented Dec 7, 2016 edited

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

@bpasero bpasero changed the title from Preserve language picked for file or untitled text documents to Preserve language picked for untitled text documents Dec 13, 2016
@bpasero bpasero modified the milestone: January 2017, Backlog Dec 13, 2016
@bpasero bpasero closed this in 122d3a6 Dec 13, 2016
@bpasero
Member
bpasero commented Dec 13, 2016

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

@bpasero
Member
bpasero commented Jan 23, 2017
  • To verify:
    Check that a picked language for an untitled file is restored after restart.
@jrieken jrieken added the verified label Jan 24, 2017
@jrieken jrieken reopened this Feb 16, 2017
@jrieken
Member
jrieken commented Feb 16, 2017

I am seeing this with 1.9.1 on windows 7

@jrieken
Member
jrieken commented Feb 16, 2017

feb-16-2017 16-20-19

@Tyriar
Member
Tyriar commented Feb 16, 2017 edited

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

@Tyriar Tyriar closed this Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment