3 ms·
One thing I miss when using VSCode is the lack of spell checking compared to Sublime or even Vim. I think a CLI might be nice, but even then typos in code aren
by emptysea 5y ago
One thing I miss when using VSCode is the lack of spell checking compared to Sublime or even Vim.
I think a CLI might be nice, but even then typos in code aren't such a big deal IMO. Sometimes they do come up with copy in UI code, but even then, NBD.
So for me, a spell checker in CI sounds like a nice to have, not a necessity.
- epage 5y ago> even then typos in code aren't such a big deal Maybe it was just me but at my last role, I worked on a piece of software with a typo that stuck out like a sore thumb but the cost was too high to ever fix it (impacted multiple products with independent schedules or were just being milked and had no staffing). I also remember some bike shedding over a person using a British spelling for a word instead of the American. Some times linters are just nice for deciding minutia so people don't argue (see also formatters). However, I fully admit, compared to a lot of other priorities in software, these are minor.
- Macha 5y agoYeah, had a similar problem on a previous project. A typo in a config file, which was then leaked to an API which was then leaked to multiple clients of that API. Eventually we fixed it in our API gateway for the API we provide to customers because it looked unprofessional, so we have a mapping layer in that API that exists purely to correct the typo.
- laumars 5y agoVSCode does have a spellchecker. I rely on it myself because my spelling is abysmal (despite the lack of trying).
- GordonS 5y agoI'm on mobile just now, so I can't give you the link or even the name right now, but there is a good spell checker extension available. I use it on Windows, but presume it works elsewhere too. IIRC, it was a little fiddly to setup (think I had to download spell check files separately), but it's been plain sailing after that. I mainly use JetBrains Rider though, and that has really good spell checking support built-in. Something I really like about Rider's support is that, just like lining rules, you have the option of saving additional words at the "Team Shared" level, so the whole team can use the same extra dictionary words. The same function works in Visual Studio with ReSharper installed, and presumably it's available in all JetBrains IntelliJ-based IDEs.
- tehalex 5y agoIn VSCode, I use https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker https://marketplace.visualstudio.com/items?itemName=streetsi... I also enable & use it with languages it doesn't really have proper support for (like sql and ruby) - just add words to the dictionary as they come up.
- hebrox 5y agoI came here to recommend the same. This has saved me from sooo many silly mistakes. English is not my first language, or that of many of my colleagues, so it's very easy for spelling mistakes to slip into the code. And very hard to correct after it's part of the codebase...
- iudqnolq 5y agoThe main annoyance is that the dictionary is directly inline in your main json config file. It's around 50% of mine right now. I wish there was a way to refer to an external file.