More advanced completions

pull/574/head
Dmitry Sharshakov 3 years ago
parent b42631942b
commit db7f693550
No known key found for this signature in database
GPG Key ID: 471FD32E15FD8473

@ -30,7 +30,7 @@ port-arg = "-p {}"
[[language.debugger.templates]] [[language.debugger.templates]]
name = "binary" name = "binary"
request = "launch" request = "launch"
completion = [ "filename" ] completion = [ { name = "binary", completion = "filename" } ]
args = { console = "internalConsole", program = "{0}" } args = { console = "internalConsole", program = "{0}" }
[[language.debugger.templates]] [[language.debugger.templates]]
@ -99,7 +99,7 @@ port-arg = "-p {}"
[[language.debugger.templates]] [[language.debugger.templates]]
name = "binary" name = "binary"
request = "launch" request = "launch"
completion = [ "filename" ] completion = [ { name = "binary", completion = "filename" } ]
args = { console = "internalConsole", program = "{0}" } args = { console = "internalConsole", program = "{0}" }
[[language.debugger.templates]] [[language.debugger.templates]]
@ -129,7 +129,7 @@ port-arg = "-p {}"
[[language.debugger.templates]] [[language.debugger.templates]]
name = "binary" name = "binary"
request = "launch" request = "launch"
completion = [ "filename" ] completion = [ { name = "binary", completion = "filename" } ]
args = { console = "internalConsole", program = "{0}" } args = { console = "internalConsole", program = "{0}" }
[[language.debugger.templates]] [[language.debugger.templates]]
@ -161,13 +161,13 @@ port-arg = "-l 127.0.0.1:{}"
[[language.debugger.templates]] [[language.debugger.templates]]
name = "source" name = "source"
request = "launch" request = "launch"
completion = [ "filename" ] completion = [ { name = "entrypoint", completion = "filename", default = "." } ]
args = { mode = "debug", program = "{0}" } args = { mode = "debug", program = "{0}" }
[[language.debugger.templates]] [[language.debugger.templates]]
name = "binary" name = "binary"
request = "launch" request = "launch"
completion = [ "filename" ] completion = [ { name = "binary", completion = "filename" } ]
args = { mode = "exec", program = "{0}" } args = { mode = "exec", program = "{0}" }
[[language.debugger.templates]] [[language.debugger.templates]]

Loading…
Cancel
Save