What is @cspell/dict-haskell?
@cspell/dict-haskell is a dictionary extension for the CSpell spell checker that provides Haskell-specific terms. It helps developers ensure that Haskell-related terminology is correctly spelled in their code and documentation.
What are @cspell/dict-haskell's main functionalities?
Haskell Dictionary Integration
This feature allows you to integrate the Haskell dictionary into your CSpell configuration. By adding 'haskell' to the dictionaries array, CSpell will use the Haskell-specific terms for spell checking.
{
"dictionaries": ["haskell"]
}
Custom Dictionary Path
This feature allows you to specify a custom path for the Haskell dictionary file. This can be useful if you need to customize the dictionary or use a different version.
{
"dictionaryDefinitions": [
{
"name": "haskell",
"path": "node_modules/@cspell/dict-haskell/haskell.txt"
}
],
"dictionaries": ["haskell"]
}
Other packages similar to @cspell/dict-haskell
@cspell/dict-python
@cspell/dict-python provides a dictionary for Python-specific terms. Similar to @cspell/dict-haskell, it helps ensure that Python-related terminology is correctly spelled in code and documentation.
@cspell/dict-java
@cspell/dict-java offers a dictionary for Java-specific terms. It serves the same purpose as @cspell/dict-haskell but is tailored for Java developers.
Cspell Haskell Dictionary
Haskell dictionary for cspell.
This is a pre-built dictionary for use with cspell.
Installation
Global Install and add to cspell global settings.
npm install -g @cspell/dict-haskell
cspell link add @cspell/dict-haskell
Uninstall from cspell
cspell link remove @cspell/dict-haskell
Manual Installation
The cspell-ext.json
file in this package should be added to the import section in your cspell.json file.
{
"import": ["@cspell/dict-haskell/cspell-ext.json"],
}
Building
Building is only necessary if you want to modify the contents of the dictionary. Note: Building will take a few minutes for large files.
npm run build
License
MIT
Some packages may have other licenses included.