vscode-spell-checker icon indicating copy to clipboard operation
vscode-spell-checker copied to clipboard

Q: How to spell check `SystemVerilog` and other file types?

Open dseynhae opened this issue 1 year ago • 1 comments

I have very common situations where I convert my file into a supported type, to get decent results with the spell checker:

  • SystemVerilog files (.sv and .svh)
    • Temporarily change to verilog files (.v, and include "verilog" in "cSpell.enableFiletypes"`.
  • Shell scripts (.sh)
    • Temporarily change to a plaintext file (.txt)

I am actually a bit surprised that this support is not in place in the baseline cSpell product:

  • SystemVerilog is largely based on Verilog, so and the rename gives me decent results.
  • PowerShell is supported, but much more popular shell scripts (bash, zsh,..) are not?

Anyway:

Question: is there currently an easier way to get these non-supported file types spell checked? Feature: would it be possible to create a setting that allows automatic association of a filetype with an existing spell checker?

dseynhae avatar Feb 24 '24 15:02 dseynhae