update docs
This commit is contained in:
parent
3f3a001283
commit
2bdb30a45e
3 changed files with 10 additions and 9 deletions
|
|
@ -258,4 +258,4 @@ DEPENDENCIES
|
||||||
tzinfo-data
|
tzinfo-data
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.0.2
|
2.1.4
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
To update/install:
|
To update/install:
|
||||||
|
|
||||||
gem install bundler
|
gem install bundler
|
||||||
bundle install
|
bundle install --path vendor/bundle
|
||||||
|
|
||||||
To run a local server/test the build
|
To run a local server/test the build
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,8 @@ for Vimspector.
|
||||||
* [Debug profile configuration](#debug-profile-configuration)
|
* [Debug profile configuration](#debug-profile-configuration)
|
||||||
* [Replacements and variables](#replacements-and-variables)
|
* [Replacements and variables](#replacements-and-variables)
|
||||||
* [The splat operator](#the-splat-operator)
|
* [The splat operator](#the-splat-operator)
|
||||||
* [Default values](#default-values)
|
* [Default values](#default-values)
|
||||||
|
* [Coercing Types](#coercing-types)
|
||||||
* [Configuration Format](#configuration-format)
|
* [Configuration Format](#configuration-format)
|
||||||
* [Files and locations](#files-and-locations)
|
* [Files and locations](#files-and-locations)
|
||||||
* [Adapter configurations](#adapter-configurations)
|
* [Adapter configurations](#adapter-configurations)
|
||||||
|
|
@ -20,7 +21,7 @@ for Vimspector.
|
||||||
* [Configuration selection](#configuration-selection)
|
* [Configuration selection](#configuration-selection)
|
||||||
* [Specifying a default configuration](#specifying-a-default-configuration)
|
* [Specifying a default configuration](#specifying-a-default-configuration)
|
||||||
* [Preventing automatic selection](#preventing-automatic-selection)
|
* [Preventing automatic selection](#preventing-automatic-selection)
|
||||||
* [Exception breakpionts](#exception-breakpionts)
|
* [Exception Breakpoints](#exception-breakpoints)
|
||||||
* [Predefined Variables](#predefined-variables)
|
* [Predefined Variables](#predefined-variables)
|
||||||
* [Remote Debugging Support](#remote-debugging-support)
|
* [Remote Debugging Support](#remote-debugging-support)
|
||||||
* [Python (debugpy) Example](#python-debugpy-example)
|
* [Python (debugpy) Example](#python-debugpy-example)
|
||||||
|
|
@ -29,7 +30,7 @@ for Vimspector.
|
||||||
* [Appendix: Configuration file format](#appendix-configuration-file-format)
|
* [Appendix: Configuration file format](#appendix-configuration-file-format)
|
||||||
* [Appendix: Editor configuration](#appendix-editor-configuration)
|
* [Appendix: Editor configuration](#appendix-editor-configuration)
|
||||||
|
|
||||||
<!-- Added by: ben, at: Fri 31 Jul 2020 22:13:39 BST -->
|
<!-- Added by: ben, at: Thu 13 Aug 2020 17:42:11 BST -->
|
||||||
|
|
||||||
<!--te-->
|
<!--te-->
|
||||||
|
|
||||||
|
|
@ -164,7 +165,7 @@ the following variable substitutions:
|
||||||
the shell command. Note these variables can be supplied by both the debug and
|
the shell command. Note these variables can be supplied by both the debug and
|
||||||
adapter configurations and can be either static strings or shell commands.
|
adapter configurations and can be either static strings or shell commands.
|
||||||
|
|
||||||
### The splat operator
|
#### The splat operator
|
||||||
|
|
||||||
Often we want to create a single `.vimspector.json` entry which encompasses many
|
Often we want to create a single `.vimspector.json` entry which encompasses many
|
||||||
use cases, as it is tedious to write every use case/start up option in JSON.
|
use cases, as it is tedious to write every use case/start up option in JSON.
|
||||||
|
|
@ -205,7 +206,7 @@ You can also combine with static values:
|
||||||
This would yield the intuitive result:
|
This would yield the intuitive result:
|
||||||
`[ "First", "one", "two three", "four", "Last" ]`
|
`[ "First", "one", "two three", "four", "Last" ]`
|
||||||
|
|
||||||
### Default values
|
#### Default values
|
||||||
|
|
||||||
You can specify replacements with default values. In this case if the user has
|
You can specify replacements with default values. In this case if the user has
|
||||||
not specified a value, they are prompted but with the default value
|
not specified a value, they are prompted but with the default value
|
||||||
|
|
@ -236,7 +237,7 @@ the closing `}`. For example, the is a common and useful case:
|
||||||
This will prompt the user to specify `script`, but it will default to the path
|
This will prompt the user to specify `script`, but it will default to the path
|
||||||
to the current file.
|
to the current file.
|
||||||
|
|
||||||
### Coercing Types
|
#### Coercing Types
|
||||||
|
|
||||||
Sometimes, you want to provide an option for a boolean parameter, or want to
|
Sometimes, you want to provide an option for a boolean parameter, or want to
|
||||||
allow the user to specify more than just strings. Vimspector allows you to do
|
allow the user to specify more than just strings. Vimspector allows you to do
|
||||||
|
|
@ -282,7 +283,7 @@ can force Vimspector to treat the value as a string by appending `#s`, as in:
|
||||||
"unlikelyKeyName#json#s": "this is a string, not JSON data"
|
"unlikelyKeyName#json#s": "this is a string, not JSON data"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Advanced usage
|
***Advanced usage:***
|
||||||
|
|
||||||
The most common usage for this is for number and bool types, but it works for
|
The most common usage for this is for number and bool types, but it works for
|
||||||
objects too. If you want to be able to specify a whole object (e.g. a whole
|
objects too. If you want to be able to specify a whole object (e.g. a whole
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue