Getting Started



Download 16.77 Kb.
Date18.11.2021
Size16.77 Kb.
#57721
notes

Getting Started


  • Download and install VS Code.

    • From https://code.visualstudio.com/download

  • Create a new file.

    • File > New File (Ctrl+N)

  • Save a file.

    • File > Save (Ctrl+S)

  • Open the Command Palette.

    • View > Command Palette... (Ctrl+Shift+P)

  • See an overview of the user interface.

  • Install support for your favorite programming language from the Extensions view.

    • View > Extensions (Ctrl+Shift+X)

  • Change your keyboard shortcuts and easily migrate from other editors using keymap extensions.

    • File > Preferences > Migrate Keyboard Shortcuts from...

    • Code > Preferences > Migrate Keyboard Shortcuts from... on macOS

  • Open the Keyboard Shortcuts editor.

    • File > Preferences > Keyboard Shortcuts (Ctrl+K Ctrl+S)

    • Code > Preferences > Keyboard Shortcuts on macOS

  • Printable keyboard cheat sheet.

    • Help > Keyboard Shortcuts Reference (Ctrl+K Ctrl+R)

  • Customize your editor with color themes.

    • File > Preferences > Color Theme (Ctrl+K Ctrl+T)

    • Code > Preferences > Color Theme on macOS

  • Show all commands.

  • Explore VS Code features in the Interactive Editor Playground.

    • Help > Editor Playground

Code editing in Visual Studio Code

  • Open a folder.

    • File > Open Folder (Ctrl+K Ctrl+O)

  • Use File Explorer to view the folder's files and subfolders.

    • View > Explorer (Ctrl+Shift+E)

  • Install the Node.js runtime to execute JavaScript code.

    • Find Node.js for your platform at https://nodejs.org

  • Check your Node.js installation.

  • Create new file.

    • File > New File (Ctrl+N)

  • Create a simple "Hello world" console application called app.js.

  • IntelliSense provides suggestions as you type.

  • Automatically format the source code.

    • Format Document command (Ctrl+Shift+I)

  • Turn on Auto Save.

    • File > Auto Save

  • Display the Integrated Terminal.

  • Split the terminal.

    • Split Terminal (Ctrl+Shift+5)

  • Create new terminal.

    • Create New Terminal (Ctrl+Shift+`)

  • Run the application.

Download 16.77 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page