changelog and few vscode documentation changes

This commit is contained in:
sagie gur ari
2021-11-30 18:35:42 +00:00
parent e1d0bd1ff9
commit edf614f364
5 changed files with 25 additions and 43 deletions
+1
View File
@@ -4,6 +4,7 @@
* Fix: crate installation version check now also supports running the binary with --version arg #612
* Enhancement: support alternate cargo install commands #608
* Documentation: VS code editor integration #604 (thanks @grbd)
### v0.35.6 (2021-11-01)
+7 -12
View File
@@ -113,6 +113,8 @@
* [Badge](#badge)
* [Roadmap](#roadmap)
* [Editor Support](#editor-support)
* [vim](#editor-support-vim)
* [vs-code](#editor-support-vs-code)
* [Contributing](.github/CONTRIBUTING.md)
* [Release History](https://github.com/sagiegurari/cargo-make/blob/master/CHANGELOG.md)
* [License](#license)
@@ -3491,13 +3493,16 @@ You can view the future development items list in the [github project issues](ht
<a name="editor-support"></a>
## Editor Support
<a name="editor-support-vim"></a>
### Vim
* Vim: [vim-cargo-make](https://github.com/nastevens/vim-cargo-make)
* [vim-cargo-make](https://github.com/nastevens/vim-cargo-make)
* [vim-duckscript](https://github.com/nastevens/vim-duckscript)
<a name="editor-support-vim"></a>
### VSCode
For debugging purposes there are some example .vscode files located within the [docs/vscode-example](./docs/vscode-example) directory
For debugging purposes there are some example .vscode files located within the [docs/vscode-example](./docs/vscode-example/) directory
You may also need:
@@ -3507,16 +3512,6 @@ You may also need:
* VSCode Extension - "Task Explorer"
* VSCode Extension - "crates"
### Rust Format
After making changes to the code, rustfmt can be used to automatically reformat the code within the repository
```
# To install
rustup component add rustfmt
# To run on the cargo project
cargo fmt
```
## Contributing
See [contributing guide](.github/CONTRIBUTING.md)
+5 -12
View File
@@ -3373,13 +3373,16 @@ You can view the future development items list in the [github project issues](ht
<a name="editor-support"></a>
## Editor Support
<a name="editor-support-vim"></a>
### Vim
* Vim: [vim-cargo-make](https://github.com/nastevens/vim-cargo-make)
* [vim-cargo-make](https://github.com/nastevens/vim-cargo-make)
* [vim-duckscript](https://github.com/nastevens/vim-duckscript)
<a name="editor-support-vim"></a>
### VSCode
For debugging purposes there are some example .vscode files located within the [docs/vscode-example](./docs/vscode-example) directory
For debugging purposes there are some example .vscode files located within the [docs/vscode-example](./docs/vscode-example/) directory
You may also need:
@@ -3389,16 +3392,6 @@ You may also need:
* VSCode Extension - "Task Explorer"
* VSCode Extension - "crates"
### Rust Format
After making changes to the code, rustfmt can be used to automatically reformat the code within the repository
```
# To install
rustup component add rustfmt
# To run on the cargo project
cargo fmt
```
## Contributing
See [contributing guide](https://github.com/sagiegurari/cargo-make/blob/master/.github/CONTRIBUTING.md)
+2
View File
@@ -102,6 +102,8 @@
* [Badge](#badge)
* [Roadmap](#roadmap)
* [Editor Support](#editor-support)
* [vim](#editor-support-vim)
* [vs-code](#editor-support-vs-code)
* [Contributing](https://github.com/sagiegurari/cargo-make/blob/master/.github/CONTRIBUTING.md)
* [Release History](https://github.com/sagiegurari/cargo-make/blob/master/CHANGELOG.md)
* [License](#license)
+10 -19
View File
@@ -2,8 +2,8 @@
"version": "2.0.0",
"tasks": [
{
"label": "build debug",
"detail": "Build in debug mode",
"label": "Build",
"detail": "Build the rust project",
"type": "process",
"group": "build",
"command": "cargo",
@@ -13,18 +13,7 @@
]
},
{
"label": "build release",
"detail": "Build in release mode",
"type": "process",
"group": "build",
"command": "cargo",
"args": [
"make",
"build-release"
]
},
{
"label": "clean",
"label": "Clean",
"detail": "Clean the target build directory",
"type": "process",
"group": "build",
@@ -35,24 +24,26 @@
]
},
{
"label": "rust format",
"label": "Format",
"detail": "Auto format the code",
"type": "process",
"group": "build",
"command": "cargo",
"args": [
"fmt"
"make",
"format-flow"
]
},
{
"label": "run the tests",
"label": "Test",
"detail": "Run the tests",
"type": "process",
"group": "build",
"command": "cargo",
"args": [
"test"
"make",
"test-flow"
]
},
],
}
}