Code Monkey home page Code Monkey logo

vscode-examples's Introduction

This repository gives examples of using VS Code with different languages.

Assumptions

This doument assumes you are running on OSX and have the following installed:

  • vscode
  • python3
  • node
  • npm

Keyboard shortcuts

Format Document: option + shift + f
Optimize Imports: option + shift + o

Setting up python

python3 -m venv python/.venv
source python/.venv/bin/activate
python -m pip install --upgrade pip
pip install -r python/requirements.txt

By default, the VS Code Python extension looks for and uses the first Python interpreter it finds in the system path. To select a specific python environment, use the Python: Select Interpreter command from the Command Palette (โ‡งโŒ˜P).

Setting up node

cd node; npm install

User and Workspace settings

Workspace settings override user settings. Workspace settings are specific to a project and can be shared across developers on a project. You can also have more than one root folder in a VS Code workspace through a feature called Multi-root workspaces.

  • Workspace - Settings stored inside your workspace and only apply when the workspace is opened.
  • User - Settings that apply globally to any instance of VS Code you open.
  • Default - Contains all default settings which are applied globally.

The Workspace settings.json file can be seen in the .vscode folder of this repo.

The User settings.json is configured as (the personal preference of one developer):

{
    "explorer.confirmDelete": false,
    "explorer.confirmDragAndDrop": false,
    "terminal.integrated.defaultProfile.osx": "zsh",
    "editor.minimap.enabled": false,
    "editor.autoClosingDelete": "never",
    "editor.autoClosingQuotes": "never",
    "editor.autoClosingBrackets": "never",
    "html.autoClosingTags": false,
    "javascript.autoClosingTags": false,
    "typescript.autoClosingTags": false
}

vscode-examples's People

Contributors

ccsalway avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.