skip to Main Content

I was watching a course. He uses linux i think. I install node and npm like him. He write atom . to consol and automatically ‘server’ which we created first is opened. How can i open that server in windows with vscode?

I tried vscode . visual . etc. but it did not work.

2

Answers


  1. If you want to open it through the terminal and you have the VS Code path installed, you can use:

    code your_json_file.json
    

    If it’s not installed, you can follow these steps:

    Launch VS Code.
    Open the Command Palette (Cmd+Shift+P) and type ‘shell command’ to find the "Shell Command: Install ‘code’ command in PATH" command.

    Login or Signup to reply.
  2. If you have VSCode installed, you can use code . to open VSCode in the current directory.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search