11

Cannot find how to set this option. I found user snippets setting for different languages, but Terminal is not there.

4
  • 3
    Highly doubt it as snippets seem to be for the editor, and the Integrated Terminal is just a passthrough to the shell defined by terminal.integrated.shell.*. Would you mind sharing what you're trying to do? It might be easier done with aliases or functions in the shell.
    – wgj
    Commented Apr 1, 2017 at 6:54
  • @wgj Well, I just want to use snippet with opened in editor sql-file as parameter to run it to SQL Server through proprietary serv.cmd batch (with marco-preproccessing). So I cannot just do it like "Run query".
    – Dima Fomin
    Commented Apr 6, 2017 at 17:05
  • 1
    Hmm. Sounds like setting up a task using the active editor (eg, ${file}) as the target to serv.cmd would be a good fit.
    – wgj
    Commented Apr 7, 2017 at 17:24
  • I could use snippets in the Integrated Terminal to call .php scripts with parameters. Commented Aug 30, 2017 at 19:35

1 Answer 1

5

In v.1.28 you can send text from a key binding. Here is the link to the documentation https://code.visualstudio.com/docs/editor/integrated-terminal#_send-text-via-a-keybinding

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.