Sep-05-2019, 02:11 PM
(Sep-05-2019, 12:31 PM)Truman Wrote: When I go to Terminal>Run task it opens the box "select the task to run". What should I do then?I never use this,you should install Code Runner,i have more about this in my tutorial.
When installed open setting,search
code-runner.executorMap
."code-runner.executorMap": { "javascript": "node", "java": "cd $dir && javac $fileName && java $fileNameWithoutExt", "c": "gcc -o $fileNameWithoutExt $fullFileName && $fileNameWithoutExt", "cpp": "g++ -o $fileNameWithoutExt $fullFileName && $fileNameWithoutExt", "objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "php": "php", "python": "$pythonPath $fullFileName", "perl": "perl", "ruby": "ruby", "go": "go run", "lua": "lua",Set
"python": "$pythonPath $fullFileName",
With this command will also switch automatically if change Python interpreter(down in left corner).
Now get a button to run code or right click run code.