title: Configure Visual Studio Code to compile Project on F7 key
body: <p>I am trying to configure Visual Studio Code (VSC) to compile Project on <kbd>F7</kbd> key. Unfortunately, this IDE does not have a GUI for editing settings like LiteIDE. </p>
  
  <p>I have done the following:</p>
  
  <ol>
  <li>opened a 'hello.go' file in VSC.</li>
  <li>pressed <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> as mentioned on MS's page.</li>
  <li>searched for 'Other' in the list and have not found it.</li>
  <li>(?) How I am supposed to use 'Other tasks' which they told me to select?</li>
  <li><p>ok, now I press <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>B</kbd> and it says: </p>
  
  <blockquote>
    <p>"No build task defined. Mark a task with 'isBuildCommand' in the tasks.json file."</p>
  </blockquote></li>
  <li><p>I press blue button "Configure build task". It creates folder ".vscode" in my working directory and 'tasks.json' file inside it. </p></li>
  <li><p>'What the hell are you doing?' - I think. don't make mess in my folder. it is for source files! not for microsoft. ok. let us imagine that we decided to agree with mess in working folder.</p></li>
  <li><p>in the suggested template, I modify some text and have following 'tasks.json' in the end:</p>
  
  <pre><code>{
      "version": "0.1.0",
      "command": "go build",
      "taskName": "goBuild",
      "isShellCommand": true,
      "args": [""],
      "showOutput": "always"
  }
  </code></pre></li>
  <li><p>(?) I save the file and try to show list of actions again with <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>. I do not see my task in the list. VSC restart does not help. hm.... why is it not in the list?</p></li>
  <li><p>maybe keybindings will work as I want? File -> Preferences -> Keyboard shortcuts (I am not a maniac to press <kbd>Ctrl</kbd> + <kbd>K</kbd> and then <kbd>Ctrl</kbd> + <kbd>S</kbd>, who has created such double hot-..oh..no..it is cold-keys already! XD ).</p></li>
  <li><p>I click the link to edit .json file manually and add:</p>
  
  <pre><code> // Place your key bindings in this file to overwrite the defaults
  [{
      "key": "f7",
      "command": "workbench.action.tasks.goBuild",
      "when": "editorTextFocus"
  }]
  </code></pre></li>
  <li><p>save, push <kbd>F7</kbd> in editor and... 
  <code>command 'workbench.action.tasks.goBuild' not found</code></p></li>
  </ol>
  
  <p>After using LiteIDE for Go language, in which everything was with 1 click (1 button to build), it seems as VSC was created by aliens for aliens... not for humans as me, at least :(</p>