Vscode-spell-checker: Not working before document is saved

Created on 15 Jun 2017  路  7Comments  路  Source: streetsidesoftware/vscode-spell-checker

When creating new document but not saving it spell checker doesn't work.

In Progress enhancement

Most helpful comment

@Jason3S Would it be possible to reconsider this behavior? I often open VS Code directly and start typing into the default "Untitled-1" plaintext file with no intention of saving it. Not having these files spellchecked is very annoying.

I used to use Sublime Text for this exact thing, and the spell check there works in this case. I'd love to be able to use this same workflow in VS Code!

untitled-1

All 7 comments

Thank you.

Until the document is saved, we do not know what type of file it is. It is a sort of special temporary file in VS Code. As a rule, we do not spell check temporary scratch files created by VS Code (it creates a lot of them).

I often set a language for temporary files, when set I think it can start spell checking

@Jason3S Would it be possible to reconsider this behavior? I often open VS Code directly and start typing into the default "Untitled-1" plaintext file with no intention of saving it. Not having these files spellchecked is very annoying.

I used to use Sublime Text for this exact thing, and the spell check there works in this case. I'd love to be able to use this same workflow in VS Code!

untitled-1

Thank you for the up-vote. I need to investigate how to distinguish between temporary documents created by VS Code and other plugins from newly created documents.

In Windows, it creates unsaved file at below location:

C:\Users*{WindowsUserName}*\AppData\Roaming\Code\Backups\

Any way to exclude this path?

I believe this is now working with 1.3.6 version of the spell checker. Please re-open if it is not.

WORKS!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jose-a-sa picture jose-a-sa  路  6Comments

floatingpurr picture floatingpurr  路  5Comments

xwang233 picture xwang233  路  4Comments

ghost picture ghost  路  6Comments

gandalfsaxe picture gandalfsaxe  路  3Comments