{"name":"@cspell/dict-cpp","version":"7.0.2","keywords":["cspell","cspell-ext","cpp","C++","C","dictionary","spelling"],"author":{"name":"Street Side Software","email":"support@streetsidesoftware.nl"},"license":"MIT","_id":"@cspell/dict-cpp@7.0.2","maintainers":[{"name":"jason-dent","email":"jason@streetsidesoftware.nl"}],"homepage":"https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/cpp#readme","bugs":{"url":"https://github.com/streetsidesoftware/cspell-dicts/issues"},"dist":{"shasum":"bbedeb669e56956f2da7e0977a3a1ad4dc660f83","tarball":"http://registry-npm.ywwl.com/@cspell/dict-cpp/download/@cspell/dict-cpp-7.0.2.tgz","fileCount":8,"integrity":"sha512-dfbeERiVNeqmo/npivdR6rDiBCqZi3QtjH2Z0HFcXwpdj6i97dX1xaKyK2GUsO/p4u1TOv63Dmj5Vm48haDpuA==","signatures":[{"sig":"MEYCIQDA++yWgobRTUZtm397d3HAQl5WLcNFOAbU01ni6DcyfgIhAKIqbKrxYdzdHKBFTTrzgmCjttmgtokwwXQ/gkpVDRLR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cspell%2fdict-cpp@7.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":342891,"size":338920,"noattachment":false,"key":"/@cspell/dict-cpp/-/@cspell/dict-cpp-7.0.2.tgz"},"exports":{".":"./cspell-ext.json","./cspell":"./cspell-ext.json","./cspell-ext.json":"./cspell-ext.json"},"gitHead":"cb65800c6de2a5b0f05996cf68aab96fc71f45fa","scripts":{"test":"pnpm test-samples && pnpm test-src","build":"cspell-tools-cli build","test-src":"shx head -n 10000 \"src/cpp.txt\" | cspell -c ./cspell-ext.json --locale=* --languageId=cpp stdin","test-samples":"cspell samples","prepublishOnly":"echo pre-publish","prepare:dictionary":"pnpm run build"},"_npmUser":{"name":"jason-dent","email":"jason@streetsidesoftware.nl"},"repository":{"url":"git+https://github.com/streetsidesoftware/cspell-dicts.git","type":"git","directory":"dictionaries/cpp"},"_npmVersion":"lerna/4.10.2/node@v24.12.0+x64 (linux)","description":"C/C++ Dictionary dictionary for cspell.","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dict-cpp_7.0.2_1766222084058_0.2886565227564497","host":"s3://npm-registry-packages-npm-production"},"readme":"# CSpell C/C++ Dictionary\n\nC/C++ Dictionary for cspell.\n\nThis is a pre-built dictionary for use with cspell.\n\n<!--- @@inject: ../../static/requirements.md --->\n\n## Requirements\n\n| Tool                                                                                                                                 | Version |\n| ------------------------------------------------------------------------------------------------------------------------------------ | ------- |\n| [cspell](https://github.com/streetsidesoftware/cspell)                                                                               | `>= 8`  |\n| [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 4`  |\n\n<!--- @@inject-end: ../../static/requirements.md --->\n\n<!--- @@inject: ./static/install.md --->\n\n## Local Installation\n\n**This package is bundled with CSpell.**\n\n## Configuration\n\n<details>\n<summary>VSCode Settings</summary>\n\nAdd the following to your VSCode settings:\n\n**`.vscode/settings.json`**\n\n```jsonc\n{\n  \"cSpell.dictionaries\": [\"cpp-legacy\", \"cpp\", \"cpp-compound-words\", \"cpp-refined\"],\n}\n```\n\n</details>\n\n<details>\n<summary>CSpell Settings <code>cspell.json</code></summary>\n\n**`cspell.json`**\n\n```jsonc\n{\n  \"dictionaries\": [\"cpp-legacy\", \"cpp\", \"cpp-compound-words\", \"cpp-refined\"],\n}\n```\n\n</details>\n\n<details>\n<summary>CSpell Settings <code>cspell.config.yaml</code></summary>\n\n**`cspell.config.yaml`**\n\n```yaml\ndictionaries:\n  - cpp-legacy\n  - cpp\n  - cpp-compound-words\n  - cpp-refined\n```\n\n</details>\n\n## Local Installation using CDN\n\n> **NOTE:** This package is bundled with CSpell.\n\n## Dictionary Information\n\n| Name                 | Enabled | Description                                                  |\n| -------------------- | ------- | ------------------------------------------------------------ |\n| `cpp-legacy`         |         | Legacy C/C++ Keywords and common library functions.          |\n| `cpp`                |         | C/C++ Keywords and common library functions.                 |\n| `cpp-compound-words` |         | C/C++ Common word compounds.                                 |\n| `cpp-refined`        |         | Refined list of C/C++ Keywords and common library functions. |\n\n## Language Settings\n\n| Name                 | Locale | File Type  |\n| -------------------- | ------ | ---------- |\n| `cpp-legacy`         | `*`    | `c`, `cpp` |\n| `cpp`                | `*`    | `c`, `cpp` |\n| `cpp-compound-words` | `*`    | `c`, `cpp` |\n| `cpp-refined`        | `*`    | `c`, `cpp` |\n\n<!--- @@inject-end: ./static/install.md --->\n\n## C/C++ Compound Words\n\nIt is very common for C/C++ code to contain word compound like `errorcode` and `hashcode`.\nThe `cpp-compound-words` dictionary is designed to help avoid false positives. But, this can\nmean that valid errors are hidden due to the way compounds are combined.\n\nThe following configuration can be used to disable the compound dictionary:\n\n```yaml\nlanguageSettings:\n  languageId: 'c,cpp' # '*' can be used to disable it for all file types.\n  dictionaries:\n    - '!cpp-compound-words'\n```\n\n<!--- @@inject: ../../static/contributing.md --->\n\n## Contributing\n\nPlease help correct any mistakes in the dictionaries.\n\nSee: [Contributing](https://github.com/streetsidesoftware/cspell-dicts#contributing)\n\nSpecial thanks to all of our amazing contributors!\n\n### Dictionary Development\n\nSee: [How to Create a New Dictionary](https://github.com/streetsidesoftware/cspell-dicts#how-to-create-a-new-dictionary)\n\n<!--- @@inject-end: ../../static/contributing.md --->\n\n## License\n\nMIT\n\n> Some packages may have other licenses included.\n\n<!--- @@inject: ../../static/footer.md --->\n\n<br/>\n\n---\n\n<p align=\"center\">\nBrought to you by <a href=\"https://streetsidesoftware.com\" title=\"Street Side Software\">\n<img width=\"16\" alt=\"Street Side Software Logo\" src=\"https://i.imgur.com/CyduuVY.png\" /> Street Side Software\n</a>\n</p>\n\n<!--- @@inject-end: ../../static/footer.md --->\n","publish_time":1766222084272,"_cnpm_publish_time":1766222084272,"dist-tags":{"latest":"7.2.0"}}