Visual Studio Code

Overview

Visual Studio Code - Open Source ("Code - OSS")

Feature Requests Bugs Gitter

The Repository

This repository ("Code - OSS") is where we (Microsoft) develop the Visual Studio Code product together with the community. Not only do we work on code and issues here, we also publish our roadmap, monthly iteration plans, and our endgame plans. This source code is available to everyone under the standard MIT license.

Visual Studio Code

VS Code in action

Visual Studio Code is a distribution of the Code - OSS repository with Microsoft specific customizations released under a traditional Microsoft product license.

Visual Studio Code combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle. It provides comprehensive code editing, navigation, and understanding support along with lightweight debugging, a rich extensibility model, and lightweight integration with existing tools.

Visual Studio Code is updated monthly with new features and bug fixes. You can download it for Windows, macOS, and Linux on Visual Studio Code's website. To get the latest releases every day, install the Insiders build.

Contributing

There are many ways in which you can participate in the project, for example:

If you are interested in fixing issues and contributing directly to the code base, please see the document How to Contribute, which covers the following:

Feedback

See our wiki for a description of each of these channels and information on some other available community-driven channels.

Related Projects

Many of the core components and extensions to VS Code live in their own repositories on GitHub. For example, the node debug adapter and the mono debug adapter have their own repositories. For a complete list, please visit the Related Projects page on our wiki.

Bundled Extensions

VS Code includes a set of built-in extensions located in the extensions folder, including grammars and snippets for many languages. Extensions that provide rich language support (code completion, Go to Definition) for a language have the suffix language-features. For example, the json extension provides coloring for JSON and the json-language-features provides rich language support for JSON.

Development Container

This repository includes a Visual Studio Code Remote - Containers / Codespaces development container.

  • For Remote - Containers, use the Remote-Containers: Open Repository in Container... command which creates a Docker volume for better disk I/O on macOS and Windows.
  • For Codespaces, install the Visual Studio Codespaces extension in VS Code, and use the Codespaces: Create New Codespace command.

Docker / the Codespace should have at least 4 Cores and 6 GB of RAM (8 GB recommended) to run full build. See the development container README for more information.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT license.

Issues
  • IndexDB: why is transaction.oncomplete not used?

    IndexDB: why is transaction.oncomplete not used?

    I came across our index DB file system provider, specifically these codes:

    https://github.com/microsoft/vscode/blob/41163014f8c9cdb32b030cfa5ce20197b91bed72/src/vs/platform/files/browser/indexedDBFileSystemProvider.ts#L405-L405

    https://github.com/microsoft/vscode/blob/41163014f8c9cdb32b030cfa5ce20197b91bed72/src/vs/platform/files/browser/indexedDBFileSystemProvider.ts#L419-L419

    Instead of resolving the promise via request.onsuccess = () => c();, why not resolve it via transaction.oncomplete?

    I think this ensures that we are really waiting for the transaction to having finished.

    Refs: https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Using_IndexedDB#adding_data_to_the_database

    image

    file-io web 
    opened by bpasero 0
  • Can't start VSC if one of the last openedWindows folders (a samba network share) is not available

    Can't start VSC if one of the last openedWindows folders (a samba network share) is not available

    I don't know how to reopen the issue which was closed by the bot. But the issue is not solved. Original issue #124497

    Why we will report issues if a bot is just closing them? Please reopen the original issue and prevent the bot from closing it.

    This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

    Happy Coding!

    Originally posted by @vscode-triage-bot in https://github.com/microsoft/vscode/issues/124497#issuecomment-855226752

    opened by aisbergde 0
  • Getting Started: Scrolling experience in smaller windows can be confusing

    Getting Started: Scrolling experience in smaller windows can be confusing

    There appears to be a min height or something for the webview which is unexpected, additionally a large list of steps makes a second scroll bar which makes things more confusing:

    recording (8)

    How about preventing a page scroll bar by confining the steps on the left to its own container using something like:

    max-height: 80%;
    scroll: auto;
    

    It may also be good to make the walkthrough title/description sticky since the topic isn't mentioned in the tab's title:

    Screen Shot 2021-06-05 at 4 58 51 AM

    Related: https://github.com/microsoft/vscode/issues/125400

    opened by Tyriar 0
  • Restore extension details editors on window reload

    Restore extension details editors on window reload

    While polishing my extension's readme and changelog I will make changes, switch back to the ext dev host and reload the window. Right now the extension details webview doesn't get restored so I have to scroll down the list to open it every time. Bugs like the @workspaceUnsupported issue that slip in (https://github.com/microsoft/vscode/issues/125322) make it even more of a pain:

    recording (7)

    opened by Tyriar 0
  • Restored custom editors never load if the extension is uninstalled

    Restored custom editors never load if the extension is uninstalled

    Repro:

    1. Install Luna Paint
    2. Open an image
    3. Uninstall Luna Paint
    4. Reload the window

    The editor will stay in loading animation forever:

    Screen Shot 2021-06-05 at 3 20 07 AM
    opened by Tyriar 0
  • The outline's

    The outline's "Follow Cursor" option doesn't highlight parent symbol when children hidden.

    • Version: 1.57.0-insider (user setup)
    • Commit: 4fd4e10e99eff9eb77408b71c7f58b7ed7458ee5
    • Date: 2021-05-21T05:13:41.097Z
    • Electron: 12.0.7
    • Chrome: 89.0.4389.128
    • Node.js: 14.16.0
    • V8: 8.9.255.25-electron.0
    • OS: Windows_NT x64 10.0.19041

    Steps to reproduce:

    1. Set Outline ... "Follow Cursor" in the explorer
    2. Unset Outline: Show Variables in settings
    3. With the Following JS file:
    class MyClass {
        myMethod() {
            var test = "";
        }
    }
    
    1. Put the cursor on the test variable

    Expected

    Highlighting of the myMethod symbol in the outline.

    Saw

    No highlighting whatsoever in the outline.

    Screenshot (14)

    Also applies to other symbols hiding (non-exhaustive).

    opened by AidanVIII 0
  • run

    run

    Issue Type: Bug

    run without debugging is not working

    VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:13:13.157Z) OS version: Windows_NT x64 10.0.19042

    System Info

    |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz (4 x 1992)| |GPU Status|2d_canvas: enabled
    gpu_compositing: enabled
    multiple_raster_threads: enabled_on
    oop_rasterization: enabled
    opengl: enabled_on
    rasterization: enabled
    skia_renderer: enabled_on
    video_decode: enabled
    vulkan: disabled_off
    webgl: enabled
    webgl2: enabled| |Load (avg)|undefined| |Memory (System)|11.89GB (4.62GB free)| |Process Argv|--crash-reporter-id e9ea65f1-230b-4969-a194-92593bfa85a4| |Screen Reader|no| |VM|0%|

    Extensions (11)

    Extension|Author (truncated)|Version ---|---|--- dart-code|Dar|3.23.0 flutter|Dar|3.23.0 code-runner|for|0.11.4 dart-import|lua|0.3.1 flutter-tree|mar|1.0.0 python|ms-|2021.5.842923320 vscode-pylance|ms-|2021.6.0 jupyter|ms-|2021.6.832593372 salesforcedx-vscode-apex|sal|51.16.0 salesforcedx-vscode-apex-replay-debugger|sal|51.16.0 salesforcedx-vscode-core|sal|51.16.0

    A/B Experiments
    vsliv368:30146709
    vsreu685:30147344
    python383cf:30185419
    pythonvspyt700cf:30270857
    pythonvspyt602:30300191
    vspor879:30202332
    vspor708:30202333
    vspor363:30204092
    vstes627:30244334
    pythonvspyt639:30300192
    pythontb:30283811
    pythonvspyt551cf:30311713
    vspre833cf:30267465
    pythonptprofiler:30281270
    vshan820:30294714
    pythondataviewer:30285071
    vscus158:30286553
    vscgsv2:30307504
    vscorehov:30309549
    vscod805cf:30301675
    binariesv517cf:30312826
    
    
    opened by akash510 1
  • Workspace trust - empty workspace state not remembered

    Workspace trust - empty workspace state not remembered

    This PR fixes #125576

    workspace-trust 
    opened by lszomoru 0
  • Getting started: completing a setup step should move to next step?

    Getting started: completing a setup step should move to next step?

    When I complete in one step in the getting started editor, I would have expected that the next step that was not done yet automatically becomes active.

    image

    opened by bpasero 0
  • Getting started: picking the same theme should also be accepted as done criteria

    Getting started: picking the same theme should also be accepted as done criteria

    Otherwise I can only see the step completed if a pick a different theme, but maybe I like the one that is active?

    recording

    opened by bpasero 0
Releases(1.56.2)
Owner
Microsoft
Open source projects and samples from Microsoft
Microsoft
🛠 All-in-one web-based IDE specialized for machine learning and data science.

All-in-one web-based development environment for machine learning Getting Started • Features & Screenshots • Support • Report a Bug • FAQ • Known Issu

Machine Learning Tooling 2k Jun 6, 2021
An open source code editor for the web, written in JavaScript, HTML and CSS.

⚠️ On September 1, 2021, Adobe will end support for Brackets. If you would like to continue using, maintaining, and improving Brackets, you may fork t

Adobe, Inc. 33.6k Jun 3, 2021
🔥 The most advanced open-source online code execution system in the world.

Judge0 CE ?? The most advanced open-source online code execution system in the world. Table of Contents About Features Get Started Flavors Supported L

Judge0 697 Jun 7, 2021
📊 A minimalist, self-hosted WakaTime-compatible backend for coding statistics

A minimalist, self-hosted WakaTime-compatible backend for coding statistics. Website | Features | How to use | Issues | Contact Table of Contents User

Ferdinand Mütsch 312 Jun 6, 2021
A self-hosted server for source code parsing

bblfshd This repository contains bblfsh daemon (bblfshd), which includes the runtime that runs the driver in containers and the bblfshctl, a cli tool

Babelfish 305 May 24, 2021
Haroopad - The Next Document processor based on Markdown

Haroopad Haroopad is a markdown enabled document processor for creating web-friendly documents. You can author professional-looking documents of vario

Rhio Kim 1.5k May 18, 2021
TextMate is a graphical text editor for macOS 10.12 or later

TextMate Download You can download TextMate from here. Feedback You can use the TextMate mailing list or #textmate IRC channel on freenode.net for que

null 13.6k Jun 6, 2021
Collaborative JavaScript Debugging App

IMPORTANT: this current version of jsbin (v4.x.x) is no longer actively maintained and the new version of jsbin (v5) is currently in active developmen

Dave, The Bin Bot 4.2k Jun 4, 2021
VS Code in the browser

code-server · Run VS Code on any machine anywhere and access it in the browser. Highlights Code on any device with a consistent development environmen

Coder 44.7k Jun 6, 2021
Browser code editor awesomeness

ICEcoder Code editor awesomeness ...in your browser ICEcoder is a browser based code editor, which provides a modern approach to building websites. By

ICEcoder 1.3k Jun 1, 2021
The official Vim repository

For translations of this README see the end. What is Vim? Vim is a greatly improved version of the good old UNIX editor Vi. Many new features have bee

Vim - the text editor 23.9k Jun 6, 2021
JupyterLab computational environment.

Installation | Documentation | Contributing | License | Team | Getting help | JupyterLab An extensible environment for interactive and reproducible co

JupyterLab 11.1k Jun 4, 2021
:atom: The hackable text editor

Atom Atom is a hackable text editor for the 21st century, built on Electron, and based on everything we love about our favorite editors. We designed i

Atom 55.2k Jun 7, 2021
Git-backed real time collaborative editor built with meteor.

jotgit Git-backed real time collaborative editor built with meteor. Here's a quick demo: http://youtu.be/z-_wSiGS18U The current version of jotgit is

John Lees-Miller 208 May 6, 2021