@cspell/dict-rust
Advanced tools
+1
-1
| The MIT License (MIT) | ||
| Copyright (c) 2017-2020 Alexander Andreev <andreevlex.as@gmail.com> | ||
| Copyright (c) 2017-2020 Jason Dent <jason@streetsidesoftware.nl> | ||
| Copyright (c) 2017-2025 Street Side Software <support@streetsidesoftware.nl> | ||
@@ -6,0 +6,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
+2
-2
| { | ||
| "name": "@cspell/dict-rust", | ||
| "version": "4.0.11", | ||
| "version": "4.0.12", | ||
| "description": "Rust dictionary for cspell.", | ||
@@ -45,3 +45,3 @@ "publishConfig": { | ||
| ], | ||
| "gitHead": "588365f8c00b710c7d9eb46db5477f6db48a920d" | ||
| "gitHead": "30c5c53b8e28152fc1d8a6cf0c872b068a64221a" | ||
| } |
+76
-22
@@ -7,2 +7,4 @@ # CSpell Rust Dictionary | ||
| <!--- @@inject: ../../static/requirements.md ---> | ||
| ## Requirements | ||
@@ -12,40 +14,76 @@ | ||
| | ------------------------------------------------------------------------------------------------------------------------------------ | ------- | | ||
| | [cspell](https://github.com/streetsidesoftware/cspell) | `>= 6` | | ||
| | [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 2` | | ||
| | [cspell](https://github.com/streetsidesoftware/cspell) | `>= 8` | | ||
| | [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 4` | | ||
| ## Installation | ||
| <!--- @@inject-end: ../../static/requirements.md ---> | ||
| Global Install and add to cspell global settings. | ||
| <!--- @@inject: ./static/install.md ---> | ||
| ```sh | ||
| npm install -g @cspell/dict-rust | ||
| cspell link add @cspell/dict-rust | ||
| ``` | ||
| ## Local Installation | ||
| ## Uninstall from cspell | ||
| **This package is bundled with CSpell.** | ||
| ```sh | ||
| cspell link remove @cspell/dict-rust | ||
| ## Configuration | ||
| <details> | ||
| <summary>VSCode Settings</summary> | ||
| Add the following to your VSCode settings: | ||
| **`.vscode/settings.json`** | ||
| ```jsonc | ||
| { | ||
| "cSpell.dictionaries": ["rust"], | ||
| } | ||
| ``` | ||
| ## Manual Installation | ||
| </details> | ||
| The `cspell-ext.json` file in this package should be added to the import section in your cspell.json file. | ||
| <details> | ||
| <summary>CSpell Settings `cspell.json`</summary> | ||
| ```javascript | ||
| **`cspell.json`** | ||
| ```jsonc | ||
| { | ||
| // … | ||
| "import": ["@cspell/dict-rust/cspell-ext.json"], | ||
| // … | ||
| "dictionaries": ["rust"], | ||
| } | ||
| ``` | ||
| ## Building | ||
| </details> | ||
| Building is only necessary if you want to modify the contents of the dictionary. Note: Building will take a few minutes for large files. | ||
| <details> | ||
| <summary>CSpell Settings `cspell.config.yaml`</summary> | ||
| ```sh | ||
| npm run build | ||
| **`cspell.config.yaml`** | ||
| ```yaml | ||
| dictionaries: | ||
| - rust | ||
| ``` | ||
| </details> | ||
| > [!NOTE] | ||
| > **This package is bundled with CSpell.** | ||
| <!--- @@inject-end: ./static/install.md ---> | ||
| <!--- @@inject: ../../static/contributing.md ---> | ||
| ## Contributing | ||
| Please help correct any mistakes in the dictionaries. | ||
| See: [Contributing](https://github.com/streetsidesoftware/cspell-dicts#contributing) | ||
| Special thanks to all of our amazing contributors! | ||
| ### Dictionary Development | ||
| See: [How to Create a New Dictionary](https://github.com/streetsidesoftware/cspell-dicts#how-to-create-a-new-dictionary) | ||
| <!--- @@inject-end: ../../static/contributing.md ---> | ||
| ## License | ||
@@ -59,2 +97,18 @@ | ||
| [https://github.com/rust-lang/gedit-config](https://github.com/rust-lang/gedit-config) | ||
| [rust-lang/gedit-config](https://github.com/rust-lang/gedit-config) | ||
| <!--- cspell:ignore gedit-config ---> | ||
| <!--- @@inject: ../../static/footer.md ---> | ||
| <br/> | ||
| --- | ||
| <p align="center"> | ||
| Brought to you by <a href="https://streetsidesoftware.com" title="Street Side Software"> | ||
| <img width="16" alt="Street Side Software Logo" src="https://i.imgur.com/CyduuVY.png" /> Street Side Software | ||
| </a> | ||
| </p> | ||
| <!--- @@inject-end: ../../static/footer.md ---> |
7698
14.93%112
93.1%