vscode-spellright icon indicating copy to clipboard operation
vscode-spellright copied to clipboard

Spelling mistakes in Problems view for document that is not open.

Open Ben-Voris opened this issue 3 years ago • 1 comments

Once a workspace gets into this mode, the only "workaround" is to uninstall and install vscode-spellright.

Are there diagnostic steps I can take the next time I get this problem?

Closing and reopening a folder, the problems view is empty but then populates with spelling mistakes even though the named file isn't open. For example, I get "info" from c_cpp_properties.json when that file isn't closed.

plugin - v3.0.60

//"spellright.spellContext": "body comments strings",
  "spellright.spellContextByClass": {
    "jsonc": "comments",
    "cpp": "comments strings",
    "c": "comments strings",
    "tal": "comments strings",  // See https://github.com/knovichikhin/vscode_tal/issues/24
    "tacl": "comments strings"
  },
  "spellright.ignoreRegExps": ["/%hd/g", "/%ld/g"],
  "spellright.ignoreRegExpsByClass": {
    "cpp": [ "/#include\\s+\\\".+\\\"/g" ], // Trying to prevent spelling of include files in quotes.
    "c": [ "/#include\\s+\\\".+\\\"/g" ]
  },
  "spellright.language": [
    "en"
  ],
  "spellright.addToSystemDictionary": true,
  "spellright.notificationClass": "information",
  "spellright.documentTypes": [
  
    "jsonc",
    "markdown",
    "plaintext",
    "shellscript",
    "c",
    "cpp",
    "tal",    // See https://github.com/knovichikhin/vscode_tal/issues/24
    "tacl"
  ],

Ben-Voris avatar Feb 14 '22 23:02 Ben-Voris

This persists over multiple reloads of VS Code and then sometimes disappears for no apparent reason. c_cpp_properties.json is a "favorite" of this bug.

Please could you add diagnostics for this?

Ben-Voris avatar Mar 18 '22 18:03 Ben-Voris