From db7f693550f6fe759696f59ef702ea6af61f4329 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sun, 29 Aug 2021 14:55:42 +0300 Subject: [PATCH] More advanced completions --- languages.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/languages.toml b/languages.toml index 6877dd4a0..f83f0d2fa 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]]