Neil Johari
db6d9efb75
Bump version of vscode-cpptools from 0.26.3 to 0.27.0
2020-04-02 14:28:32 -04:00
mergify[bot]
7e29143a6f
Merge pull request #142 from puremourning/tweaks
...
1309
Tweaks
2020-04-01 16:03:27 +00:00
Ben Jackson
93edbe468b
Add autoselect to configs - set to false to prevent being used when no other configs are defined
2020-04-01 16:46:06 +01:00
Ben Jackson
1b7d0caf26
Ignore loadedSource event
2020-04-01 16:44:51 +01:00
Ben Jackson
0e4cad302d
Don't terminal debuggee
2020-04-01 16:44:51 +01:00
Ben Jackson
d0652187a3
Note what diagnostics are required,
1307
2020-03-31 13:33:58 +01:00
Ben Jackson
ae7e6d0b0c
Clarify that Python 3.6 is required
...
1306
closes #143
2020-03-28 20:28:29 +00:00
Ben Jackson
5cb9c62e7f
Fix tab creation when current buffer contains no file
1305
2020-03-28 13:07:00 +00:00
mergify[bot]
0a0cd88545
Merge pull request #139 from puremourning/no-name
...
1304
Don't create a new buffer when opening the vimspector tab
2020-03-28 10:19:25 +00:00
Ben Jackson
59f23c7545
Merge branch 'master' into no-name
2020-03-27 15:09:02 +00:00
mergify[bot]
87e80db94d
Merge pull request #140 from puremourning/loading
...
Add a splash popup while starting up
2020-03-26 23:31:13 +00:00
Ben Jackson
1003cdc0b2
Add a splash popup while starting up
...
Sometimes it can take quite a while to start up and initialise the debug
adapter. So we use popup/float to display the status as we start up and
shut down.
This increases minimum Vim version to 8.2, but that's been out for ages
now and I intend to agressively require latest/later vim/neovim
versions.
2020-03-26 23:25:50 +00:00
Ben Jackson
8664c0ad78
Don't create a new buffer when opening the vimspector tab
2020-03-26 21:13:04 +00:00
Ben Jackson
03d97dc58f
Merge pull request #136 from puremourning/json-comments
...
Support c-style comments in JSON
2020-03-23 11:06:21 +00:00
Ben Jackson
5d404708cf
Fix CI on linux
...
Don't use lldb-mi as the MIDebugger when we're in gdb mode (it's on the
PATH because llvm is installed)
2020-03-21 17:01:15 +00:00
Ben Jackson
d42fd51f35
Support c-style comments in JSON
...
Debate rages about whether JSON should have comments. The specification
says it shouldn't but the author of JSON suggested that if you want to
use JSON for configuration, then pipe it through jsmin before parsing.
So that's what we do, using a tiny JSON minifier from
https://github.com/getify/JSON.minify/tree/python
Closes #135
2020-03-21 15:16:07 +00:00
Ben Jackson
9393c1d80e
Don't run under sudo
2020-03-21 14:04:48 +00:00
mergify[bot]
36fbe5bba5
Merge pull request #134 from puremourning/docs-update
...
1278
Document: splat, central config dirs
2020-03-18 08:04:49 +00:00
Ben Jackson
a5765b153c
Azure: Set explicit triggers ( https://status.dev.azure.com/_event/179641421 )
2020-03-14 16:46:53 +00:00
Ben Jackson
ec36099f97
Document: splat, central config dirs
2020-03-14 09:26:49 +00:00
Ben Jackson
de04598bc6
Clear exception breakpoints when calling ClearBreakpoints
1273
2020-03-09 21:31:14 +00:00
Ben Jackson
6c8657c9a7
Guess VIMSPECTOR_MI_DEBUGGER path
1272
2020-03-09 21:25:55 +00:00
Ben Jackson
c1283a292c
When creating a terminal window in neovim, use a new buffer
...
1271
neovim's termopen() replaces the buffer object in the current window
with a terminal, internally, this completely breaks the buffer list.
Repro:
* Create test.vim:
```
vsplit
call termopen( '/bin/bash', { 'cwd': getcwd() } )
call bufload( expand( '<sfile>' ) )
```
Then:
* `nvim -Nu NONE test.vim`
* `:source %`
Error is "Invald buffer name 'test.vim'"
Anyway, the correct thing to do is to create a _new_ buffer before
making it into a terminal (vnew, new) rather than a split of the current
one. This was only working before because the CodeView window never had
any buffer in it and was broken by the change to use the current buffer
when staring debugging.
Fixes #131
2020-03-09 20:52:34 +00:00
Ben Jackson
1b7402915c
Catch adapter being None and print user-friendly message:
1270
2020-03-08 18:18:29 +00:00
Ben Jackson
cd26e81fd9
When requesting source from debugger, use the path, if supplied
2020-02-23 16:12:35 +00:00
mergify[bot]
b7dee6410a
Merge pull request #125 from puremourning/win-setup
...
1258
Set the code window to the current buffer
2020-02-16 23:11:25 +00:00
Ben Jackson
27e11d5265
Merge branch 'master' into win-setup
2020-02-16 23:06:49 +00:00
mergify[bot]
7da627f95e
Merge pull request #124 from puremourning/list-splat
...
1255
List splat
2020-02-16 23:03:50 +00:00
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
e61e7fefe6
Merge branch 'master' into win-setup
2020-02-16 22:52:46 +00:00
Ben Jackson
c4bedcee89
Set the code window to the current buffer
2020-02-16 22:49:15 +00:00
mergify[bot]
5e8d4f97c4
Merge pull request #123 from puremourning/win-setup
...
1245
Set some window options to their deafults
2020-02-16 22:35:40 +00:00
Ben Jackson
926029e343
Set some window options to their deafults
2020-02-16 22:30:55 +00:00
mergify[bot]
c8dcc47b1c
Merge pull request #121 from puremourning/windows
...
1241
Experimental Windows support
2020-02-16 21:11:26 +00:00
Ben Jackson
a74783513c
Update README
2020-02-16 20:21:17 +00:00
Ben Jackson
0aba8e0179
Work around neovim bug where environ() crashes
2020-02-16 20:15:41 +00:00
Ben Jackson
3366e1c784
Use the python used to run the installer to run debugpy
2020-02-16 20:15:41 +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
mergify[bot]
866e6fe9b1
Merge pull request #116 from puremourning/filetype-configs
...
1236
Support per-filetype global launch configurations, and support trivial custom gadget installation
2020-02-16 20:05:48 +00:00
Ben Jackson
68a45b5771
Fix workspace root when no vimspector conf - use dir of current file
2020-02-16 20:01:00 +00:00
Ben Jackson
267f202dad
Fix LGTM error: python default arguments are mutable\!
2020-02-16 19:45:58 +00:00
Ben Jackson
e37ef18c28
Move installation routines into proper library
2020-02-16 17:31:00 +00:00
Ben Jackson
be32a0a1a8
Add --enable-custom to load custom gadget meta
2020-02-16 17:23:49 +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
mergify[bot]
86afe89d63
Merge pull request #119 from puremourning/drop-py2
...
1212
Drop python 2 support in installer
2020-02-15 11:58:12 +00:00
Ben Jackson
6b735ce4d0
Drop python 2 support in installer
2020-02-15 11:30:42 +00:00
mergify[bot]
79df51e83c
Merge pull request #115 from puremourning/debugpy
...
1140
Switch to debugpy rather than vscode-python
2020-02-08 21:23:01 +00:00
Ben Jackson
dcabc52937
Update readme
2020-02-08 21:15:27 +00:00
Ben Jackson
8052484cc7
Use YCM python style
2020-02-08 21:15:27 +00:00