Ben Jackson
efc5c76866
Fix lints
2021-03-19 17:51:59 +00:00
Ben Jackson
154e727b96
Make confirm dialog take arbitrary keys
...
Confirm now takes the list of options, list of keys to select them and
the default value. Returned values are always a 1-based index into the
list (like SelectFromList) or -1 to mean esc/ctrl-c.
This uses a nice popup dialog in vim and a crappy input on neovim.
2021-03-19 17:51:59 +00:00
Ben Jackson
6b74e584d5
Create a messagebox-like interface in vim
2021-03-19 17:51:59 +00:00
Ben Jackson
85bb8594ab
Allow forcing selection from the menu with <leader>F5
2021-03-19 17:51:59 +00:00
Ben Jackson
63fd3165fb
Use popup for confirmations (note these have to be async)
2021-03-19 17:51:59 +00:00
Ben Jackson
afb912dd08
Print hotcodereplace messages
2021-03-19 17:51:59 +00:00
Ben Jackson
b92a89f0d4
Add a way to have adapter specific message handlers
2021-03-19 17:51:59 +00:00
Ben Jackson
6f88b400e1
Only disable mappings in the keyboard-version of the popup
664741134
2021-03-18 13:51:32 +00:00
mergify[bot]
af2670ef9a
Merge pull request #373 from puremourning/fix-calculus
...
647605559
Fix default variable values having substitutions from the calculus
2021-03-12 22:22:51 +00:00
mergify[bot]
2b24611036
Merge branch 'master' into fix-calculus
2021-03-12 22:08:52 +00:00
mergify[bot]
d84ebdd0ee
Merge pull request #375 from puremourning/up-down-stack
...
647574861
Add commands to navigate up/down the stack in focussed thread.
2021-03-12 22:08:46 +00:00
Ben Jackson
6b67d165b9
Update docs for new mappings
2021-03-12 21:50:37 +00:00
Ben Jackson
a53d68f043
Add up and down frame mappings
2021-03-12 21:27:56 +00:00
Ben Jackson
6d3f3e207b
Fix default variable values having substitutions from the calculus
2021-03-12 20:15:45 +00:00
mergify[bot]
5716bbefa9
Merge pull request #369 from puremourning/narrow-mode
...
644216929
Narrow UI mode
2021-03-11 21:38:40 +00:00
Ben Jackson
2615cff97a
If there isn't enough vertical space, we get vim errors (not enough room), so don't do that
2021-03-11 21:14:30 +00:00
Ben Jackson
01ea50cb70
use --clean for minimal vimrc
2021-03-11 21:13:58 +00:00
Ben Jackson
7d2770f3c4
Add vertical (i.e. narrow) layout
...
This puts the 3 utility windows at the top, horizontally split, with the
code view below. The terminal window is drawn either vertically split
(if there's room) or horizontally split otherwise. The output window
remains at tht bottom.
We add equivalent sizing options too, setting some defauts that roughly
work on my macbook pro.
We try to guess the best layout to use. In particular we go into
'narrow' mode if there are not enough horizonal columns to fit the
sidebar, code and at least the minimum terminal size. We also try to
move the terminal to be horizontally spit (i.e. vertically stacked) if
we can fit the max number of lines, but only the min number of columns.
This is all a little heuristic, but when testing it myself, it feels
good and tends to pick a good option by default. Users can always
customise the ui mode (g:vimspector_ui_mode and all the various specific
width options)
2021-03-10 23:44:45 +00:00
Ben Jackson
943ae6c7c9
Fix error when nothing to expand
625411291
2021-03-05 19:05:42 +00:00
Ben Jackson
82db32780b
Add example of ssh to remote host
621140033
2021-03-04 13:28:04 +00:00
mergify[bot]
4cb4b814a1
Merge pull request #366 from puremourning/fix-stop
...
613865461
Fix crash using Stop function
2021-03-02 11:28:07 +00:00
Ben Jackson
d2b92b7ce5
Fix crash using STop function
2021-03-02 11:12:01 +00:00
Ben Jackson
5bd83d3e37
Add debugging instruction
606299429
2021-02-27 21:02:21 +00:00
mergify[bot]
f6517892c1
Merge pull request #357 from puremourning/set-variable-value
...
Set variable value
2021-02-25 22:39:45 +00:00
Ben Jackson
edcb057ead
Add <leader><CR> to docs
2021-02-25 22:23:30 +00:00
Ben Jackson
06f9bfc057
Add basic tests for set variable value
2021-02-25 22:15:09 +00:00
Ben Jackson
804b499286
Allow setting the value via the api
2021-02-25 22:15:09 +00:00
Ben Jackson
49a9a4b367
Allow mappings which aren't special chars
2021-02-25 22:15:09 +00:00
Ben Jackson
f2d407256e
Use expression completion for watch and set
2021-02-25 22:15:09 +00:00
Ben Jackson
94242fa532
CustomUI: Make buffers non-modifiable when opened for debugging
2021-02-25 22:15:09 +00:00
Ben Jackson
ba83a59e88
TEst overriding the mappings
2021-02-25 22:15:09 +00:00
Ben Jackson
675a68c601
Make it work in neovim too
2021-02-25 22:15:09 +00:00
Ben Jackson
e1078375fe
Also allow <leader><CR> in case modifyOtherKeys mode doesn't work
2021-02-25 22:15:09 +00:00
Ben Jackson
26452289a8
Allow overriding the variables/stack trace mappings in config
2021-02-25 22:15:09 +00:00
Ben Jackson
ec9122284e
Add some notes on setting values to the readme
2021-02-25 22:15:09 +00:00
Ben Jackson
131cfcdd33
Don't try and set a value if not supported
2021-02-25 22:15:09 +00:00
Ben Jackson
c2082cffae
Support setting from the balloon
2021-02-25 22:15:09 +00:00
Ben Jackson
9e1a1ab4b5
Report failures
2021-02-25 22:15:09 +00:00
Ben Jackson
32f9a6ec43
Use silent for winbar menus
2021-02-25 22:15:09 +00:00
Ben Jackson
d8d6eb2286
Add ability to set a variable value
...
This works only for things which have known variablesReference, so
particularly currently only for scopes and theoretically for members.
I think this can work for watches too. will need to check.
2021-02-25 22:15:09 +00:00
mergify[bot]
1d38b8198f
Merge pull request #362 from puremourning/expr-completions-startup
...
600905010
Delay launching the python interpreter until needed
2021-02-25 22:14:59 +00:00
Ben Jackson
f40ac5db23
Delay launching the python interpreter until needed
2021-02-25 21:24:40 +00:00
Jake Zimmerman
11edcddd9c
Fix using double-quotes in VimspectorEval
...
599203056
The VimspectorEval command used `-bar` but this prevented the use of double quotes. This seems much more useful than a vim comment in this scenario, so remove the `-bar`.
This is _techncially_ breaking change, but I don't think it's likely anyone will be relying on doing `VimspectorEval x | something else`. If they are, sorry.
2021-02-25 11:04:12 +00:00
mergify[bot]
f9c5a33301
Merge pull request #355 from puremourning/terminate-debugee
...
596999025
Ask the user about terminating the debuggee
2021-02-24 18:27:16 +00:00
mergify[bot]
fdfa8b265b
Merge branch 'master' into terminate-debugee
2021-02-24 18:14:04 +00:00
mergify[bot]
a8651e257b
Merge pull request #356 from puremourning/telemetry-hide
...
596952857
hide the pointless telemetry data;
2021-02-24 18:09:48 +00:00
Ben Jackson
d8eb6a0463
Only prompt in 'interactive' contexts to avoid annoying questions
2021-02-24 18:00:08 +00:00
Ben Jackson
09efcf5e50
hide the controvertial telemetry data; it's not like anyone will ever look at it
2021-02-24 16:49:56 +00:00
Ben Jackson
5201995279
Ask the user about terminating the debuggee
...
CodeLLDB seems to actually support the terminateDebugee flag, so rather
than just forcefully killing things, ask the user if they want to.
2021-02-24 16:49:03 +00:00
mergify[bot]
fd03e074f3
Merge pull request #354 from YgorSouza/fix-readme-typos
...
593724191
Fix typos in README
2021-02-23 19:57:14 +00:00