Visual Studio Code Terminal path

GBV-W 1 Reputation point
2022-04-03T23:37:06.387+00:00

Hi,

I am a beginner trying to learn GO language and I am using Visual Studio Code. I just noticed that when I load another file the terminal path (section below where you write the code) does not change, so when I run the .go file it will give an error, the path is still the same as the previous file that I opened and ran. I am using PowerShell as a terminal and not the command prompt.

How do you update the terminal path so that when I open a .go file the terminal path is also updated so from there I can just run the .go file with "go run filename.go"?

Additional question:

  1. Is there a way to automatically update VSC in the background and not download manually and overwrite the previous VSC folder?
Developer technologies Small BASIC
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. WhTurner 1,611 Reputation points
    2022-04-04T11:23:37.847+00:00

    The tag "small-basic" is for Technical questions about Microsoft Small Basic, the only text-based language and IDE built for students to learn to code

    Please look for a more fitting tag as your question in not about Small Basic

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.