code-d
code-d copied to clipboard
No language features for untitled editor
Steps to repro:
- Create a new untitled editor
- change language to D
- keymash
- no errors
Expected outcome: DScanner parsing error
Untitled editor:

Existing file:

In fact, other features such as autocompletion also break when in an untitled editor.