All Projects → OmniSharp → Omnisharp Vscode

OmniSharp / Omnisharp Vscode

Licence: mit
Official C# support for Visual Studio Code (powered by OmniSharp)

Programming Languages

typescript
32286 projects
C#
18002 projects

Projects that are alternatives of or similar to Omnisharp Vscode

Android Dev Ext
Android debugging support for VS Code
Stars: ✭ 141 (-93.31%)
Mutual labels:  vscode
Vsnotes
Simple VS Code extension for plain text note taking.
Stars: ✭ 146 (-93.07%)
Mutual labels:  vscode
Haskelly
Haskelly is a VS Code extension that provides complete support for casual and expert Haskell development.
Stars: ✭ 151 (-92.83%)
Mutual labels:  vscode
Vscode Stylelint
Official Visual Studio Code extension to lint CSS/SCSS/Less with stylelint
Stars: ✭ 141 (-93.31%)
Mutual labels:  vscode
Latex Utilities
An add-on to LaTeX Workshop that provides some features that go beyond the bare essentials
Stars: ✭ 142 (-93.26%)
Mutual labels:  vscode
Browser Preview
🎢Preview html file in your default browser
Stars: ✭ 148 (-92.98%)
Mutual labels:  vscode
Vscode Eggjs
vscode extension for https://eggjs.org/
Stars: ✭ 141 (-93.31%)
Mutual labels:  vscode
Gatsby Personal Starter Blog
Gatsby starter for a personal site & blog
Stars: ✭ 153 (-92.74%)
Mutual labels:  vscode
Electron React Typescript Webpack Boilerplate
Pre-configured boilerplate for Electron + React + TypeScript + Webpack
Stars: ✭ 146 (-93.07%)
Mutual labels:  vscode
Ml Workspace
🛠 All-in-one web-based IDE specialized for machine learning and data science.
Stars: ✭ 2,337 (+10.92%)
Mutual labels:  vscode
Yn
Yank Note 一款面向程序员的 Markdown 笔记应用。支持加密文档,代码片段运行,内置终端,图表嵌入,HTML 小工具。
Stars: ✭ 143 (-93.21%)
Mutual labels:  vscode
Snappy
snAppy is a VS Code extension coupled with an interactive view to support your React front-end delivery.
Stars: ✭ 144 (-93.17%)
Mutual labels:  vscode
Omi Snippets
🔖Visual Studio Code Syntax Highlighting For Single File React And Omi Components - 编写React和Omi单文件组件的VSC语法高亮插件
Stars: ✭ 149 (-92.93%)
Mutual labels:  vscode
Processing Vscode
A Visual Studio Code extension for the programming language Processing
Stars: ✭ 141 (-93.31%)
Mutual labels:  vscode
Vscode Open In Github
Extension for Visual Studio Code which can be used to jump to a source code line in Github, Bitbucket, GitLab and Visualstudio.com
Stars: ✭ 151 (-92.83%)
Mutual labels:  vscode
Lukin Vscode Theme
🎨 Lukin Theme for VS Code
Stars: ✭ 142 (-93.26%)
Mutual labels:  vscode
Vscode Gist
vscode extension for quick gists
Stars: ✭ 146 (-93.07%)
Mutual labels:  vscode
Nvcode
An IDE layer for Neovim with sane defaults. Completely free and community driven.
Stars: ✭ 6,714 (+218.65%)
Mutual labels:  vscode
Metago
MetaGo provides fast cursor movement/selection for keyboard focused users in vscode
Stars: ✭ 151 (-92.83%)
Mutual labels:  vscode
Vscode Dev Containers
A repository of development container definitions for the VS Code Remote - Containers extension and GitHub Codespaces
Stars: ✭ 2,715 (+28.86%)
Mutual labels:  vscode

C# for Visual Studio Code (powered by OmniSharp)

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

Using .NET 6 builds of OmniSharp

Starting with C# extension version 1.24.0, there is now an option to use build of OmniSharp that runs on the .NET 6 SDK. This build requires that the .NET 6 SDK be installed and does not use Visual Studio MSBuild tools or Mono. It only supports newer SDK-style projects that are buildable with dotnet build. Unity projects and other Full Framework projects are not supported.

To use the .NET 6 build, set omnisharp.useModernNet to true in your VS Code settings and restart OmniSharp.

Note about using .NET Core 3.1.4xx SDKs

The .NET 3.1.4xx SDKs require version 16.7 of MSBuild.

For MacOS and Linux users who have Mono installed, this means you will need to set omnisharp.useGlobalMono to never until a version of Mono ships with MSBuild 16.7.

You can also use the .NET 6 build of OmniSharp which runs on the .NET 6 SDK. See instructions above.

Note about using .NET 5 SDKs

The .NET 5 SDK requires version 16.8 of MSBuild.

For Windows users who have Visual Studio installed, this means you will need to be on the latest Visual Studio 16.8 Preview.

For MacOS and Linux users who have Mono installed, this means you will need to set omnisharp.useGlobalMono to never until a version of Mono ships with MSBuild 16.8.

You can also use the .NET 6 build of OmniSharp which runs on the .NET 6 SDK. See instructions above.

Note about using .NET 6 SDKs

The .NET 6 SDK requires version 16.10 of MSBuild.

For Windows users who have Visual Studio installed, this means you will need to have Visual Studio 16.11 or newer installed.

For MacOS and Linux users who have Mono installed, this means you will need to set omnisharp.useGlobalMono to never until a version of Mono ships with MSBuild 16.10.

You can also use the .NET 6 build of OmniSharp which runs on the .NET 6 SDK. See instructions above.

What's new in 1.24.0

  • Upgrade OmniSharp to 1.38.0 (PR: #4961)
  • Send document buffer when semantically highlighting old document versions (PR: #4915)
  • Improved Regex syntax highlighting (PR: #4902)
  • .NET 6 bug fixes (#4931, PR: #4950)
  • Add File-scoped namespace snippet (PR: #4948)
  • Add searchNuGetOrgSymbolServer documentation (PR: #4939)
  • Fix 'watch' Task (PR: #4932)
  • Support using .NET 6 OmniSharp (PR: #4926)
  • Rename LaunchTarget.kind to not conflict with VSCode separators. (#4907, PR: #4914)
  • Label optional dependencies as external (PR: #4905)
  • Provide a friendly name for the Razor language (PR: #4904)
  • Update Debugger to 1.23.19 (PR: 4899)
  • Add targetArch to Attach and documentation (#4900, PR: #4901)
  • Allow Linux Arm64 users to run the experimental O# build (PR: #4892)

What's new in 1.23.17

What's new in 1.23.16

Emmet support in Razor files

To enable emmet support, add the following to your settings.json:

"emmet.includeLanguages": {
    "aspnetcorerazor": "html"
}

Semantic Highlighting

The C# semantic highlighting support is in preview. To enable, set editor.semanticHighlighting.enabled and csharp.semanticHighlighting.enabled to true in your settings. Semantic highlighting is only provided for code files that are part of the active project.

To really see the difference, try the new Visual Studio 2019 Light and Dark themes with semantic colors that closely match Visual Studio 2019.

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].