What is @cspell/dict-cpp?
@cspell/dict-cpp is a dictionary extension for the CSpell spell checker that provides a list of C++ specific terms. It is used to enhance the spell checking capabilities of CSpell by including terms that are commonly used in C++ programming.
What are @cspell/dict-cpp's main functionalities?
Add C++ dictionary to CSpell
This feature allows you to add the C++ dictionary to your CSpell configuration. By including 'cpp' in the dictionaries array, CSpell will use the C++ specific terms for spell checking.
{
"dictionaries": ["cpp"]
}
Install the C++ dictionary
This feature demonstrates how to install the @cspell/dict-cpp package using npm. This is the first step to include the C++ dictionary in your CSpell setup.
npm install @cspell/dict-cpp
Other packages similar to @cspell/dict-cpp
@cspell/dict-python
@cspell/dict-python is a dictionary extension for the CSpell spell checker that provides a list of Python specific terms. Similar to @cspell/dict-cpp, it enhances the spell checking capabilities of CSpell by including terms that are commonly used in Python programming.
@cspell/dict-java
@cspell/dict-java is a dictionary extension for the CSpell spell checker that provides a list of Java specific terms. It serves a similar purpose to @cspell/dict-cpp but is tailored for Java programming.
Cspell C/C++ Dictionary
C/C++ 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-cpp
cspell link add @cspell/dict-cpp
Uninstall from cspell
cspell link remove @cspell/dict-cpp
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-cpp/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.