e9ab813a46
- Update the changelog - Add link to WSL documentation |
||
---|---|---|
.vscode | ||
RuntimeLicenses | ||
images | ||
scripts | ||
snippets | ||
src | ||
test | ||
typings | ||
.editorconfig | ||
.gitignore | ||
.travis.yml | ||
.vscodeignore | ||
CHANGELOG.md | ||
ISSUE_TEMPLATE | ||
LICENSE.txt | ||
README.md | ||
ThirdPartyNotices.txt | ||
debugger-launchjson.md | ||
debugger.md | ||
gulpfile.js | ||
package.json | ||
tsconfig.json | ||
tslint.json |
README.md
C# for Visual Studio Code (powered by OmniSharp)
Master | Release |
---|---|
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.8.1
Fixes debugging on macOS Sierra 10.12.4.
What's New in 1.8.0
- 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).
- Lot's more!
See our change log for all of the updates.
Supported Operating Systems for Debugging
-
Currently, the C# debugger supports the following operating systems:
- Windows (64-bit only)
- macOS
- Ubuntu 14.04 / Linux Mint 17 / Linux Mint 18 / Elementary OS 0.3
- Ubuntu 16.04 / Elementary OS 0.4 / Arch / Zorin OS 12
- Ubuntu 16.10
- Debian 8.2
- CentOS 7.1 / Oracle Linux 7
- Red Hat Enterprise Linux (RHEL)
- Fedora 23 / 24
- OpenSUSE 13 / 42
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.