|
1 | 1 | --- |
2 | | -title: Setup |
| 2 | +title: Setup toolbox |
3 | 3 | --- |
4 | 4 |
|
5 | | -### Install `chkware` toolset with Pipx |
| 5 | +### Install *CHKware* toolset with Pipx |
6 | 6 |
|
7 | | -This section describe the installation process for [`chkware`](https://github.com/chkware/cli). The currently supported python version is **_Python 3.10.x_** You need to have this version of python in your OS to continue. |
| 7 | +This section describe the installation process for [*CHKware*](https://github.com/chkware/cli). The currently supported python version is **_Python 3.11.x_**. You need to have this version of python in your OS to continue. |
8 | 8 |
|
9 | 9 | The best way to setup any python app is manage it via [pipx](https://pypa.github.io/pipx/). Pipx is a standard PyPi python application manager. |
10 | 10 |
|
11 | 11 | First, [Install pipx](https://pypa.github.io/pipx/installation/). Then run |
12 | 12 |
|
13 | 13 | ```bash |
14 | | -$ pipx install chk |
| 14 | +pipx install chk |
15 | 15 | ``` |
16 | 16 |
|
17 | | -Then use as following |
18 | | - |
19 | | -```bash |
20 | | -$ chk http some_file.chk |
21 | | -``` |
22 | | - |
23 | | -### `chkware` toolset upgrade |
| 17 | +**Update** |
24 | 18 |
|
25 | 19 | If you have installed with _pipx_ then use following to upgrade to latest released version. |
26 | 20 |
|
27 | 21 | ```bash |
28 | | -$ pipx upgrade chk |
| 22 | +pipx upgrade chk |
29 | 23 | ``` |
30 | 24 |
|
31 | 25 | Otherwise, if _pip_ was used to install then same process given above should work for upgrade as well. |
32 | | - |
33 | | ---- |
34 | | - |
35 | | -### Install `chkware` extension for Visual Studio Code |
36 | | - |
37 | | -Get started writing `chkware` configurations with VS Code doing following steps: |
38 | | - |
39 | | -- Step 1: If you haven't done so already, install [chkware](#install-chkware-toolset-with-pipx) |
40 | | - |
41 | | -- Step 2: Install the `chkware` extension for VS Code |
42 | | - |
43 | | -New to `chkwere`? Read the `chkware` [quick start](/quick-start) guide here. |
44 | | - |
45 | | -### Using `chkware` extension for Visual Studio Code |
46 | | - |
47 | | -Using VS Code command palette you can quickly select a snippet from added samples. |
48 | | - |
49 | | -- Use `Cmd+Shift+P` on Mac, `Ctrl+Shift+P` on Windows, and `Ctrl+Shift+P` on Linux to bring up command palette. |
50 | | -- Select a sample you desire to use. <br /> |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | -### Setup development environment for `chkware` extension |
56 | | - |
57 | | -Make sure you are doing following to develop this extension further in your machine. |
58 | | - |
59 | | -- Run `npm install` to install dependencies for the first time |
60 | | -- Run `npm run watch` |
61 | | -- Press `f5` |
62 | | -- Wait for the new window to be opened |
63 | | -- Open command palette by pressing `ctrl` + `shift` + `p` |
64 | | -- Search for `chkware` commands |
65 | | -- After code changes, run `Developer: Reload Window` in the new window from command palette |
0 commit comments