Official C# support for Visual Studio Code (powered by OmniSharp)
Перейти к файлу
Gregg Miskelly e9ab813a46 Debugger doc updates for 1.9 (#1408)
- Update the changelog
- Add link to WSL documentation
2017-04-20 15:55:17 -07:00
.vscode Switch from deprecated outDir to outFiles 2017-03-18 12:21:25 +01:00
RuntimeLicenses Update the runtime license with latest text from Microsoft Legal (#684) 2016-08-19 08:53:52 -07:00
images Add C# icon to package 2016-03-10 15:38:14 -08:00
scripts Fix RemoteProcessPicker (#1373) 2017-04-11 10:45:36 -07:00
snippets Made ctor snippet use tabs and removed space 2016-10-28 16:14:42 +02:00
src Fixing processPicker for WSL (#1405) 2017-04-19 11:02:24 -07:00
test Properly handle quoted arguments when splitting command line arguments from VS Test 2017-04-11 11:57:54 -07:00
typings Merge pull request #1146 from DustinCampbell/shared-grammar-effort 2017-01-24 15:43:19 -08:00
.editorconfig Syntax highlighting support for class/interface generic constrains and tests. 2016-12-04 03:44:30 +00:00
.gitignore Add plist output to source control 2017-01-10 16:27:16 -08:00
.travis.yml Fix Travis script 2017-01-24 15:00:36 -08:00
.vscodeignore Clean up npm scripts and start running tests 2016-09-01 08:11:11 -07:00
CHANGELOG.md Debugger doc updates for 1.9 (#1408) 2017-04-20 15:55:17 -07:00
ISSUE_TEMPLATE Add github issue template 2016-06-01 16:57:19 -07:00
LICENSE.txt license files 2015-12-03 11:31:12 +01:00
README.md Merge release into master 2017-03-30 22:38:02 -07:00
ThirdPartyNotices.txt Remove third-party notice for old grammar 2017-01-10 15:47:26 -08:00
debugger-launchjson.md Debugger doc updates for 1.9 (#1408) 2017-04-20 15:55:17 -07:00
debugger.md Adding help text to created launch.json (#1358) 2017-04-03 16:53:09 -07:00
gulpfile.js Update 'test' task to print message describing how to run tests and delete gulp task for running tests 2017-02-06 09:00:12 -08:00
package.json Consume debugger events and notify OmniSharp 2017-04-17 13:32:13 -07:00
tsconfig.json Move to YAML to make it easier to define grammar 2017-01-06 11:01:21 -08:00
tslint.json Enable tslint 2016-01-17 20:48:38 +01:00

README.md

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.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.