Changes

Jump to navigation Jump to search
m
Protected "Setting up Development Environment": Counter-productive edit warring ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
Line 21: Line 21:  
** Windows 10 (pre-Anniversary Update): Start -> All Apps -> devkitPro -> MSYS
 
** Windows 10 (pre-Anniversary Update): Start -> All Apps -> devkitPro -> MSYS
 
** Windows 10 (post-Anniversary Update): Start -> devkitPro -> MSYS
 
** Windows 10 (post-Anniversary Update): Start -> devkitPro -> MSYS
  −
=== Setting up VSCode ===
  −
  −
==== Shell ====
  −
  −
* For VSCode to use the MSYS2 shell from devkitPro you'll have to set the "terminal.integrated.shell.windows" and "terminal.integrated.shellArgs.windows" properties.
  −
  −
{
  −
    "terminal.integrated.shell.windows": "C:\\devkitPro\\msys2\\msys2_shell.cmd",
  −
    "terminal.integrated.shellArgs.windows": ["-defterm", "-mingw64", "-no-start", "-here"]
  −
}
  −
  −
==== Build task ====
  −
  −
* The shell VSCode uses to run build tasks is different from the other shell. You have to manually override the default shell by passing an argument in the options part of the configuration.
  −
* Please note the '-shell bash -c'. It prevents bash from idling after the command and exits immediately.
  −
  −
"options": {
  −
  "shell": {
  −
    "executable": "C:\\devkitPro\\msys2\\msys2_shell.cmd",
  −
    "args": ["-defterm", "-mingw64", "-no-start", "-here", "-shell bash -c"]
  −
  }
  −
},
      
==Unix-like platforms==
 
==Unix-like platforms==

Navigation menu