Commit graph

113 commits

Author SHA1 Message Date
Ben Jackson
2c1060c49e Support *\$var in lists to splat (expand in place) shell-split user input. Useful for commandline-> args list 2020-02-16 22:59:15 +00:00
Ben Jackson
926029e343 Set some window options to their deafults 2020-02-16 22:30:55 +00:00
Ben Jackson
4a7e3b9229 Fix opening paths on Windows 2020-02-16 20:15:41 +00:00
Ben Jackson
37fefafe35 Fix tracebacks when the debug adapter dies very quickly 2020-02-16 20:15:41 +00:00
Ben Jackson
583fb95ea0 Read configurations from a per-filetype directory or a default location as well as local config file 2020-02-16 17:22:53 +00:00
Ben Jackson
8052484cc7 Use YCM python style 2020-02-08 21:15:27 +00:00
Ben Jackson
19cc58f09e Set syntax in stack trace too 2020-02-04 13:04:09 +00:00
Ben Jackson
b8d2b548d8 Add customisation of signs 2020-01-26 23:02:26 +00:00
Ben Jackson
29c26996fb Add neovim job/terminal APIs 2020-01-15 23:17:15 +00:00
Ben Jackson
18627b9244 Add a way to have multiple vim API layers 2020-01-15 23:17:15 +00:00
Ben Jackson
ee1bb009ea Wrap the terminal API in vimscript layer 2020-01-15 23:17:15 +00:00
Ben Jackson
d1e3b648d3 Use eval for lists of buffers too 2020-01-15 23:17:15 +00:00
Ben Jackson
dcdab63516 Remove use of bindeval() as it is not suported in neovim 2020-01-15 23:17:15 +00:00
tinmarino
9be0f43a5f Feature: Silent Errors if not connected 2020-01-15 10:59:17 -03:00
Ben Jackson
9f0becab7b Flake8 fixes 2020-01-10 12:19:58 +00:00
Ben Jackson
8a57104a0e Expand references in non-shell variables too 2020-01-10 09:28:02 +00:00
Ben Jackson
ed6beff03b Enable syntax highlighting for watches and locals 2019-12-15 10:48:21 +00:00
Ben Jackson
f173a043be Find the vimspector config from the parent of the open file not the current working directory 2019-11-05 18:35:23 +00:00
Ben Jackson
28b6964aea Support sourceReferences and Source request 2019-11-02 09:34:59 +00:00
Ben Jackson
b64946e34c Remember user choices
There are 2 things we ask for input for:

- input variables
- exception breakpoints

It's irritating to have to repeat yourself when going through the
edit/debug loop.

Howver, cacheing has some quirks and disadvantages - they key one being
when to clear the cache. To resolve this we take two slightly different
approaches:

1. For input variables, we remember the choice of the user, but present
that only as the default, so they can just hit enter to accept it. We
already rememeber the choices for the length of the debug session (i.e.
across 'restart' calls).

2. For exception breakpoints, we remember the choices for as long as the
current session is running.

This allows users to hit the 'restart' button without being prompted at
all.

Meanwhile, we also remove the (broken) support for exception breakpoint
matchers and state the server default for exception breakpoint filters.
2019-10-05 22:20:33 +01:00
Ben Jackson
53d3f8f64b Fix inputrestore 2019-08-04 19:37:23 +01:00
Ben Jackson
7d498a13be More variable debugging 2019-07-27 11:32:23 +01:00
Ben Jackson
c27502668d Remove log spam 2019-07-27 10:57:50 +01:00
Ben Jackson
3edd1589c3 Try and work out why the server exit handler isn't called 2019-07-27 10:57:50 +01:00
Ben Jackson
98effd3355 Allow dependent groups of variables in a list 2019-07-26 18:29:05 +01:00
Ben Jackson
59a8d1b578 Implenent most of the vscode variables 2019-07-25 23:13:32 +01:00
Ben Jackson
d8d22b15bc Allow variables to reference other variables in other layers 2019-07-25 23:10:25 +01:00
Ben Jackson
cee10c8187 fix tabpage errors 2019-07-04 00:40:10 +01:00
Ben Jackson
d458d06bc5 Use the same version as the current macvim 2019-06-08 10:49:26 +01:00
Ben Jackson
4f31c95aa4 Fix flake8 errors 2019-04-27 14:21:26 +01:00
Ben Jackson
88bac786ba Merge branch 'breakpoints-list' into remote-bp 2019-03-30 10:13:26 +00:00
Ben Jackson
629d6bf612 Allow variables to come from shell commands 2019-03-01 13:25:36 +00:00
Ben Jackson
541686712c Use a list comprehension and try and catch some nasites 2019-02-26 15:24:07 +00:00
Ben Jackson
14f6814ff1 Improve gadget installation; add system wide adapter config 2019-02-24 19:41:20 +00:00
Ben Jackson
75851e0652 Move the vimscript into vimscript; it's so much easier. Support multiple commands and jobs 2019-02-21 16:12:58 +00:00
Ben Jackson
c684fa0cbb Fix balloons in the GUI 2019-02-15 13:19:13 +00:00
Ben Jackson
ba456e863d Replace the log file each time, as this makes debugging easiser 2019-02-12 09:06:13 +00:00
Ben Jackson
bb3909c16f Improve output view; use jobs to display logs and remote commands 2019-02-12 09:04:52 +00:00
Ben Jackson
463f7a8220 Mark unread output with *; Show vimspector log in output view 2019-02-04 15:04:21 +00:00
Ben Jackson
dff7f6ad73 Remove annoying debug output 2019-02-01 10:05:58 +00:00
Ben Jackson
66d525d298 Add ability to inject arbitrary variables 2019-01-05 10:38:44 +00:00
Ben Jackson
cbff48c959 Work around vim bugs in appending to buffers 2018-12-20 16:55:28 +00:00
Ben Jackson
256579c4d8 Imrpove console evaluation somewhat. Fix restart bug not resetting connection in the console view 2018-12-19 01:33:21 +00:00
Ben Jackson
3a898edd34 Untested: properly expand lists of dictionaries 2018-12-19 00:44:50 +00:00
Ben Jackson
912cd047b1 Fix flake8 errors 2018-12-16 19:14:44 +00:00
Ben Jackson
3416070b95 Remove debug 2018-06-10 23:56:05 +01:00
Ben Jackson
79b25c0860 Allow for variable expansion in configuration
We expand environment variables, ~ and workspaceRoot. The latter is to
match vscode and typical launch configs. As we don't know what the
workspeace root might be, we use the location of the .vimspector.json.
2018-06-10 23:31:20 +01:00
Ben Jackson
b72bc7dfbf Use prompt buffer for Console
Like VSCode does, compbine console and stdout, and allow you to enter
commands in the console. It's all a bit janky right now and the
insertion point isn't ideal (as not all output is interactive) and some
output is asynchronous via a somewhat different channel.
2018-06-10 18:32:16 +01:00
Ben Jackson
920db068c6 Use a prompt buffer for adding watches
This very new feature makes it kind of nice to add new watches in the
place where they will appear, keeping the eye in the same screen
location.
2018-06-09 22:33:22 +01:00
Ben Jackson
df10cd84cf Tidy up the buffer append logic
Vim seems to insist that a buffer has at least one line. This means that
the first line set in the buffer object has to be a special case. Sigh.
Create a method to wrap that up.
2018-06-03 17:16:20 +01:00