Install Visual Studio Code ‐ Windows - simon-sai/selenium-appium-java GitHub Wiki
Step 1: Download Visual Studio Code
- Visit the official Visual Studio Code website:
- Open your browser and go to the Visual Studio Code Download Page.
- Choose the Windows version:
- On the download page, select the Windows version (usually marked as "Windows 64-bit"). This will download an
.exe
installer.
Step 2: Install Visual Studio Code
- Run the installer:
- After the download is complete, locate the .exe file in your Downloads folder and double-click it to start the installation process.
- Agree to the license agreement:
- The setup wizard will appear. Read through the license agreement, check the box to accept the terms, and click Next.
- Choose the installation location:
- By default, VS Code will install in
C:\Program Files\Microsoft VS Code\
. You can leave this as it is or change the location by clicking Browse. Once you're ready, click Next.
- Select additional tasks:
- The next screen allows you to select additional options. It's recommended to enable the following:
- Add
Open with Code
action to Windows Explorer file context menu: Allows you to open files in VS Code directly from the right-click menu in Windows Explorer. - Add
Open with Code
action to Windows Explorer directory context menu: Lets you open entire folders with VS Code from the right-click menu. - Register Code as an editor for supported file types: Makes VS Code the default editor for certain file types.
- Add to PATH (available after restart): Ensures that you can use VS Code from the command line. This is especially useful for developers. Once you've made your selections, click Next.
- Add
- Complete the installation:
- Review your choices and click Install to start the installation process. This might take a few minutes.
- Launch Visual Studio Code:
- Once the installation is complete, check the box that says Launch Visual Studio Code, then click Finish. VS Code will open automatically.
Step 3: Verify Installation
- Open the command line:
- To confirm that Visual Studio Code is correctly added to your system’s PATH, open Command Prompt or PowerShell.
Run the command:
code . If VS Code opens the current directory in the editor, the installation was successful.
Step 4: Install recommended extensions
-
You can install extensions from the Extensions Marketplace. To do this, click on the Extensions icon on the left sidebar (or press
Ctrl + Shift + X
). -
Java:
-
Maven:
-
Cucumber:
-
Test Runner:
Visual Studio Code is now installed and ready to use on your Windows system. Happy coding!