preference - How to change the integrated terminal in visual studio code or VSCode -
i want change integrated terminal cmder
use vscode on windows 8.1 checked doc , preference file got confuse following lines line change
// external terminal
// customizes terminal run on windows. "terminal.external.windowsexec": "%comspec%", // customizes terminal application run on os x. "terminal.external.osxexec": "terminal.app", // customizes terminal run on linux. "terminal.external.linuxexec": "xterm",
// integrated terminal
// path of shell terminal uses on linux. "terminal.integrated.shell.linux": "sh", // command line arguments use when on linux terminal. "terminal.integrated.shellargs.linux": [], // path of shell terminal uses on os x. "terminal.integrated.shell.osx": "sh", // command line arguments use when on os x terminal. "terminal.integrated.shellargs.osx": [], // path of shell terminal uses on windows. when using shells shipped windows (cmd, powershell or bash on ubuntu), prefer c:\windows\sysnative on c:\windows\system32 use 64-bit versions. "terminal.integrated.shell.windows": "c:\\windows\\system32\\cmd.exe", // command line arguments use when on windows terminal. "terminal.integrated.shellargs.windows": [], // controls font family of terminal, defaults editor.fontfamily's value. "terminal.integrated.fontfamily": "", // controls whether font ligatures enabled in terminal. "terminal.integrated.fontligatures": false, // controls font size in pixels of terminal, defaults editor.fontsize's value. "terminal.integrated.fontsize": 0, // controls line height of terminal, number multipled terminal font size actual line-height in pixels. "terminal.integrated.lineheight": 1.2, // controls whether terminal cursor blinks. "terminal.integrated.cursorblinking": false, // controls whether locale variables set @ startup of terminal, defaults true on os x, false on other platforms. "terminal.integrated.setlocalevariables": false, // set of command ids keybindings not sent shell , instead handled code. allows use of keybindings consumed shell act same when terminal not focused, example ctrl+p launch quick open. "terminal.integrated.commandstoskipshell": [ "editor.action.toggletabfocusmode", "workbench.action.debug.continue", "workbench.action.debug.restart", "workbench.action.debug.run", "workbench.action.debug.start", "workbench.action.debug.stop", "workbench.action.quickopen", "workbench.action.showcommands", "workbench.action.terminal.clear", "workbench.action.terminal.copyselection", "workbench.action.terminal.focus", "workbench.action.terminal.focusnext", "workbench.action.terminal.focusprevious", "workbench.action.terminal.kill", "workbench.action.terminal.new", "workbench.action.terminal.paste", "workbench.action.terminal.runselectedtext", "workbench.action.terminal.scrolldown", "workbench.action.terminal.scrolldownpage", "workbench.action.terminal.scrolltobottom", "workbench.action.terminal.scrolltotop", "workbench.action.terminal.scrollup", "workbench.action.terminal.scrolluppage", "workbench.action.terminal.toggleterminal" ],
to change integrated terminal on windows, need change terminal.integrated.shell.windows
line:
- open vs user settings (preferences > user settings). open 2 side-by-side documents.
- add new
"terminal.integrated.shell.windows": "c:\\bin\\cmder\\cmder.exe"
setting user settings document on right if it's not there. aren't editing default setting directly, instead adding it. - save user settings file.
you can access keys ctrl+backtick default.
Comments
Post a Comment