Git Product home page Git Product logo

omnisharp-vscode's Introduction

C# for Visual Studio Code (powered by OmniSharp)

Master Release
Master Build Status Release Build Status

Welcome to the C# extension for Visual Studio Code! This preview provides the following features inside VS Code:

  • Lightweight development tools for .NET Core.
  • Great C# editing support, including Syntax Highlighting, IntelliSense, Go to Definition, Find All References, etc.
  • Debugging support for .NET Core (CoreCLR). NOTE: Mono and Desktop CLR debugging is not supported.
  • Support for project.json and csproj projects on Windows, macOS and Linux.

The C# extension is powered by OmniSharp.

Get Started Writing C# in VS Code

What's New in 1.13.0

  • Support for Cake files. (https://cakebuild.net/)
  • The language service now runs on Mono >= 5.2.0 when it is globally installed on macOS or Linux, resulting faster project load times.
  • If debugging is started when a launch.json is not present, picking ".NET Core" generates a launch.json dynamically that can correctly launch a .NET Core app without any additional changes.
  • Better reliability loading projects when Visual Studio 2017 (Windows) or Mono >= 5.2.0 (macOS/Linux) is installed.
  • Fixed issues with non-C# projects (such as F#) being treated as C# projects.
  • Addressed bugs when renaming files.
  • New options for controlling the display of the references and test CodeLens:
    • csharp.referencesCodeLens.enabled
    • csharp.testsCodeLens.enabled
  • Fixed problems with running/debugging xUnit 2.3.0 or NUnit tests.
  • Many other bug fixes!

See our change log for all of the updates.

Supported Operating Systems for Debugging

  • Currently, the C# debugger officially supports the following operating systems:

    • Windows (64-bit only)
    • macOS 10.12 (Sierra) and newer
    • Ubuntu 14.04+ (and distros based on it)
    • Debian 8.7+
    • Red Hat Enterprise Linux (RHEL) / CentOS / Oracle Linux 7.3+
    • Fedora 23 / 24 / 25
    • OpenSUSE 42.2+

This list is currently the same as the x64 .NET Core 2.0 operating systems (see .NET Core list). Note that other Linux distributions will likely work as well as long as they include glibc, OpenSSL 1.0, and libunwind.

Found a Bug?

Please file any issues at https://github.com/OmniSharp/omnisharp-vscode/issues.

Debugging

The C# extension now supports basic debugging capabilities! See http://aka.ms/vscclrdebugger for details.

Development

First install:

  • Node.js (newer than 4.3.1)
  • Npm (newer 2.14.12)

To run and develop do the following:

  • Run npm i
  • Run npm run compile
  • Open in Visual Studio Code (code .)
  • Optional: run npm run watch, make code changes
  • Press F5 to debug

To test do the following: npm run test or F5 in VS Code with the "Launch Tests" debug configuration.

License

The Microsoft C# extension is subject to these license terms. The source code to this extension is available on https://github.com/OmniSharp/omnisharp-vscode and licensed under the MIT license.

omnisharp-vscode's People

Contributors

aeschli avatar akshita31 avatar bakakaba avatar caslan avatar chuckries avatar colombod avatar danielmeixner avatar dustincampbell avatar egamma avatar filipw avatar gregg-miskelly avatar ivanz avatar jamesqo avatar jchannon avatar joseph4tw avatar jrieken avatar kendrahavens avatar leopotam avatar peterblazejewicz avatar pieandcakes avatar rajkumar42 avatar s5no5t avatar scottaddie avatar seraku24 avatar sixpindin avatar tanaka-takayoshi avatar thaina avatar troydai avatar wardengnaw avatar wesrupert avatar

Watchers

 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.