Official C# support for Visual Studio Code (powered by OmniSharp)
Перейти к файлу
Dustin Campbell bebeaf403b Merge pull request #1592 from DustinCampbell/activation-events
Add activation events for *.csproj and *.sln
2017-06-29 07:14:22 -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 Update snippets to proper snippet syntax 2017-06-27 16:07:58 -07:00
src timeout success message (#1604) 2017-06-28 09:30:08 -07:00
test Fix assets tests by passing undefined rather than null 2017-06-27 10:49:53 -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 Add more files to .vscodeignore (#1505) 2017-05-22 14:32:18 -07:00
CHANGELOG.md Remove duplicated items from changelog 2017-06-27 11:29:56 -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 Update README and CHANGELOG for 1.11.0 2017-06-27 11:25:24 -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 Merge pull request #1592 from DustinCampbell/activation-events 2017-06-29 07:14:22 -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.11.0

  • Support for latest .NET Core 2.0 preview.
  • Completion list fixes when typing lambda expressions.
  • Other bug fixes

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.