X Tutup
The Wayback Machine - https://web.archive.org/web/20210124163205/https://github.com/bryphe/oni-language-csharp
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 

README.md

oni-language-csharp

C# Language Plugin for Oni

screenshot

C# support for Oni uses the OmniSharp Node Client which provides language capabilities for both .NET and Mono. For it to work correctly, you need to have a valid .csproj file with any dependent packages (ie, Nuget) installed. The project should also build and compile.

Usage

To get started:

  • Clone repository into your oni plugin path (~/.oni/plugins)
  • Run npm install in the cloned path
  • Restart Oni

For the language server to work correctly, the following conditions must be met:

  • You have a valid .csproj file with any dependent packages (ie, NuGet) installed.
  • The project must have been built at least once.

Features

  • Goto Definition
  • Error Highlights
  • Code Completion

Known Issues

  • If you are using the .NET Core CLI, make sure to run dotnet restore on your project.
  • On Windows, you must run Oni as an administrator the first time using the C# language service. This is tracked by issue #423.
  • On all platforms, the C# language service takes time to start up, especially the first time as it is downloading the appropriate runtime environment. You can open up the developer tools (Help -> Developer Tools) to see the logging from the language service.

Releases

No releases published

Packages

No packages published
X Tutup