diff options
author | Dmitry Sharshakov | 2021-08-29 11:55:42 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-08-29 11:55:42 +0000 |
commit | db7f693550f6fe759696f59ef702ea6af61f4329 (patch) | |
tree | f4f9715d84ed6b05418761aa29213af72f11d6e7 | |
parent | b42631942b74b2f5ac5c955343861518c38282e8 (diff) |
More advanced completions
-rw-r--r-- | languages.toml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/languages.toml b/languages.toml index 6877dd4a..f83f0d2f 100644 --- a/languages.toml +++ b/languages.toml @@ -30,7 +30,7 @@ port-arg = "-p {}" [[language.debugger.templates]] name = "binary" request = "launch" -completion = [ "filename" ] +completion = [ { name = "binary", completion = "filename" } ] args = { console = "internalConsole", program = "{0}" } [[language.debugger.templates]] @@ -99,7 +99,7 @@ port-arg = "-p {}" [[language.debugger.templates]] name = "binary" request = "launch" -completion = [ "filename" ] +completion = [ { name = "binary", completion = "filename" } ] args = { console = "internalConsole", program = "{0}" } [[language.debugger.templates]] @@ -129,7 +129,7 @@ port-arg = "-p {}" [[language.debugger.templates]] name = "binary" request = "launch" -completion = [ "filename" ] +completion = [ { name = "binary", completion = "filename" } ] args = { console = "internalConsole", program = "{0}" } [[language.debugger.templates]] @@ -161,13 +161,13 @@ port-arg = "-l 127.0.0.1:{}" [[language.debugger.templates]] name = "source" request = "launch" -completion = [ "filename" ] +completion = [ { name = "entrypoint", completion = "filename", default = "." } ] args = { mode = "debug", program = "{0}" } [[language.debugger.templates]] name = "binary" request = "launch" -completion = [ "filename" ] +completion = [ { name = "binary", completion = "filename" } ] args = { mode = "exec", program = "{0}" } [[language.debugger.templates]] |