2016-02-18 18:01:23 +03:00
## C# for Visual Studio Code (powered by OmniSharp)
2015-12-03 13:25:00 +03:00
2016-08-29 19:55:56 +03:00
|Master|Release|
2016-03-24 05:33:57 +03:00
|:--:|:--:|
2016-08-29 19:55:56 +03:00
|[![Master Build Status](https://travis-ci.org/OmniSharp/omnisharp-vscode.svg?branch=master)](https://travis-ci.org/OmniSharp/omnisharp-vscode)|[![Release Build Status](https://travis-ci.org/OmniSharp/omnisharp-vscode.svg?branch=release)](https://travis-ci.org/OmniSharp/omnisharp-vscode)|
2016-03-24 05:27:19 +03:00
2016-05-18 19:54:03 +03:00
Welcome to the C# extension for Visual Studio Code! This preview provides the following features inside VS Code:
2016-03-04 04:07:09 +03:00
2016-05-18 19:54:03 +03:00
* Lightweight development tools for [.NET Core ](https://dotnet.github.io ).
* Great C# editing support, including Syntax Highlighting, IntelliSense, Go to Definition, Find All References, etc.
2016-05-18 21:45:27 +03:00
* Debugging support for .NET Core (CoreCLR). NOTE: Mono and Desktop CLR debugging is not supported.
2016-11-11 23:25:50 +03:00
* Support for project.json and csproj projects on Windows, macOS and Linux.
2016-05-16 20:16:03 +03:00
2016-05-18 19:54:03 +03:00
The C# extension is powered by [OmniSharp ](https://github.com/OmniSharp/omnisharp-roslyn ).
2016-05-16 20:16:03 +03:00
2016-11-15 01:43:27 +03:00
### Get Started Writing C# in VS Code
2016-12-21 22:30:38 +03:00
2016-09-23 02:10:34 +03:00
* [Documentation ](https://code.visualstudio.com/docs/languages/csharp )
* [Video Tutorial compiling with .NET Core ](https://channel9.msdn.com/Blogs/dotnet/Get-started-with-VS-Code-using-CSharp-and-NET-Core )
2017-03-10 20:49:05 +03:00
### What's New in 1.8.0
2016-08-29 19:55:56 +03:00
2017-03-10 20:49:05 +03:00
* Added support for "Go to Implementation" and "Peek Implementation"
* Improvements to C# scripting support
* New architecture for the debugger
* Several breaking changes to remote debugging (see changelog for details).
2016-12-21 22:30:38 +03:00
* Lot's more!
2016-08-29 19:55:56 +03:00
2017-03-10 20:49:05 +03:00
See our [change log ](https://github.com/OmniSharp/omnisharp-vscode/blob/v1.8.0/CHANGELOG.md ) for all of the updates.
2016-11-11 23:25:50 +03:00
### Supported Operating Systems for Debugging
2016-07-20 21:10:11 +03:00
2017-03-15 20:55:18 +03:00
* Currently, the C# debugger supports the following operating systems:
2016-07-20 21:10:11 +03:00
* Windows (64-bit only)
* macOS
2016-11-11 23:25:50 +03:00
* Ubuntu 14.04 / Linux Mint 17 / Linux Mint 18 / Elementary OS 0.3
2017-01-31 21:44:56 +03:00
* Ubuntu 16.04 / Elementary OS 0.4 / Arch / Zorin OS 12
2016-12-08 03:31:09 +03:00
* Ubuntu 16.10
2016-07-20 21:10:11 +03:00
* Debian 8.2
* CentOS 7.1 / Oracle Linux 7
* Red Hat Enterprise Linux (RHEL)
2016-12-08 03:31:09 +03:00
* Fedora 23 / 24
* OpenSUSE 13 / 42
2016-05-18 19:54:03 +03:00
### Found a Bug?
Please file any issues at https://github.com/OmniSharp/omnisharp-vscode/issues.
2016-05-16 20:16:03 +03:00
2016-03-04 04:07:09 +03:00
### Debugging
2016-05-18 19:54:03 +03:00
The C# extension now supports basic debugging capabilities! See http://aka.ms/vscclrdebugger for details.
2015-12-07 11:37:18 +03:00
2016-03-04 04:07:09 +03:00
### Development
2016-05-18 00:56:20 +03:00
First install:
* Node.js (newer than 4.3.1)
* Npm (newer 2.14.12)
2016-09-23 23:34:57 +03:00
2015-12-03 13:25:00 +03:00
To **run and develop** do the following:
2016-02-18 18:01:23 +03:00
* Run `npm i`
2016-11-11 23:25:50 +03:00
* Run `npm run compile`
2016-02-18 18:01:23 +03:00
* Open in Visual Studio Code (`code .`)
* *Optional:* run `tsc -w` , make code changes (on Windows, try `start node ".\node_modules\typescript\bin\tsc -w"` )
2016-08-29 19:55:56 +03:00
* Press < kbd > F5</ kbd > to debug
2016-03-03 02:57:31 +03:00
2017-02-08 04:50:00 +03:00
To **test** do the following: `npm run test` or < kbd > F5</ kbd > in VS Code with the "Launch Tests" debug configuration.
2016-09-23 23:34:57 +03:00
2016-05-18 19:54:03 +03:00
### License
2016-09-23 23:34:57 +03:00
The Microsoft C# extension is subject to [these license terms ](RuntimeLicenses/license.txt ).
The source code to this extension is available on [https://github.com/OmniSharp/omnisharp-vscode ](https://github.com/OmniSharp/omnisharp-vscode ) and licensed under the [MIT license ](LICENSE.txt ).