Official C# support for Visual Studio Code (powered by OmniSharp)
Перейти к файлу
Joey Robichaud e6bc00087a Update to OmniSharp 1.35.1 2020-05-04 17:48:41 -07:00
.travis
.vscode Update to OmniSharp 1.35.1 2020-05-04 17:48:41 -07:00
RuntimeLicenses
images
scripts
snippets MOD Use filename instead of ClassName 2019-10-31 14:47:55 +01:00
src Fadeout unused variable names 2020-04-20 15:31:23 -07:00
tasks Format source to make it consistent 2020-04-20 14:58:52 -07:00
test Wait for diagnostics to be reported in tests 2020-04-20 16:21:14 -07:00
typings Format source to make it consistent 2020-04-20 14:58:52 -07:00
.editorconfig
.gitignore Ignore virtual files 2020-02-25 11:17:12 -08:00
.travis.yml Update CODE_VERSION in travis.yml 2020-04-09 15:37:49 -07:00
CHANGELOG.md Update to OmniSharp 1.35.1 2020-05-04 17:48:41 -07:00
ISSUE_TEMPLATE Add the command in the issue template 2019-02-11 16:43:30 -08:00
LICENSE.txt Updated license to include .net foundation 2020-03-29 14:02:44 -04:00
README.md Update to OmniSharp 1.35.1 2020-05-04 17:48:41 -07:00
ThirdPartyNotices.txt
codecov.yml
debugger-launchjson.md Update debugger-launchjson.md to use COMPlus_ReadyToRun (#3442) 2019-12-05 14:46:10 -08:00
debugger.md Update debugger.md (#3609) 2020-02-26 13:41:20 -08:00
gulpfile.ts Format source to make it consistent 2020-04-20 14:58:52 -07:00
mocha.opts
offline.vscodeignore Delete the razor folder before trying to create offline package 2019-02-08 11:49:21 -08:00
package-lock.json Update to OmniSharp 1.35.1 2020-05-04 17:48:41 -07:00
package.json Update to OmniSharp 1.35.1 2020-05-04 17:48:41 -07:00
release.vscodeignore Delete the razor folder before trying to create offline package 2019-02-08 11:49:21 -08:00
test-plan.md Razor VSCode 5.0 Preview 3 (#3696) 2020-03-30 12:46:36 -07:00
tsconfig.json Fix for invalid json at tsconfig.json 2019-12-01 18:38:26 +02:00
tslint.json Update OmniSharp to 1.34.8 2019-11-21 15:34:04 -08:00
wallaby.js
webpack.config.js Set dirname to false 2019-03-21 16:15:01 -07:00

README.md

C# for Visual Studio Code (powered by OmniSharp)

Master Release
Master Build Status Release Build Status

Wallaby.js

Welcome to the C# extension for Visual Studio Code! This extension 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 debugging is not supported. Desktop CLR debugging has limited support.
  • 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.21.18

What's new in 1.21.17

  • Updated Razor support (PR:#3696)
  • Razor support for <text> tag completions.
  • Ability to restart the Razor Language Server to activate changes to the razor.trace level.
  • Bug fixes and performance improvements.
  • Support for <RunAnalyzers /> and <RunAnalyzersDuringLiveAnalysis /> (PR: omnisharp-roslyn/#1739)
  • Add typeparam documentation comments to text description (#3516, PR: omnisharp-roslyn/#1749)
  • Tag #region blocks appropriately in the block structure service (#2621, PR: omnisharp-roslyn/#1748)

What's new in 1.21.16

What's new in 1.21.15

  • Fixed freezing and unresponsiveness when opening folder with many nested sub-folders (PR: #3681)
  • Fixed handling of dismiss response to assets prompt (PR: #3678)

Supported Operating Systems for Debugging

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

    • X64 operating systems:
      • Windows 7 SP1 and newer
      • macOS 10.12 (Sierra) and newer
      • Linux: see .NET Core documentation for the list of supported distributions. Note that other Linux distributions will likely work as well as long as they include glibc and OpenSSL.
    • ARM operating systems:
      • Linux is supported as a remote debugging target

Found a Bug?

To file a new issue to include all the related config information directly from vscode by entering the command pallette with Ctrl+Shift+P (Cmd+Shift+P on macOS) and running CSharp: Report an issue command. This will open a browser window with all the necessary information related to the installed extensions, dotnet version, mono version, etc. Enter all the remaining information and hit submit. More information can be found on the wiki.

Alternatively you could visit https://github.com/OmniSharp/omnisharp-vscode/issues and file a new one.

Development

First install:

  • Node.js (8.11.1 or later)
  • Npm (5.6.0 or later)

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

Copyright © .NET Foundation, and contributors.

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.

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

Contribution License Agreement

By signing the CLA, the community is free to use your contribution to .NET Foundation projects.

.NET Foundation

This project is supported by the .NET Foundation.