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.
This commit is contained in:
parent
1d38b8198f
commit
d8d6eb2286
3 changed files with 101 additions and 8 deletions
|
|
@ -209,6 +209,13 @@ function! vimspector#ExpandVariable() abort
|
|||
py3 _vimspector_session.ExpandVariable()
|
||||
endfunction
|
||||
|
||||
function! vimspector#SetVariableValue() abort
|
||||
if !s:Enabled()
|
||||
return
|
||||
endif
|
||||
py3 _vimspector_session.SetVariableValue()
|
||||
endfunction
|
||||
|
||||
function! vimspector#DeleteWatch() abort
|
||||
if !s:Enabled()
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue