Ad

omnisharp-vim: C# intellisense for Vim

OmniSharp-vim provides IDE-like features for C# in Vim, offering code completion, navigation, and analysis using the OmniSharp-Roslyn server.
Screenshot of OmniSharp/omnisharp-vim homepage

OmniSharp-vim is a Vim plugin that extends Vim's functionality to offer a rich coding experience for C#. It leverages the OmniSharp-Roslyn server, a powerful .NET development platform, to provide features such as code completion, jump-to-definition, and semantic highlighting. When you open a C# file, OmniSharp-vim communicates with the server to provide these features, enhancing productivity within the Vim editor. The plugin supports various completion plugins for improved code completion.

OmniSharp-vim distinguishes itself through its asynchronous server interaction, written purely in Vimscript for Vim 8 and Neovim. This approach delivers a smoother and more responsive coding experience compared to older HTTP server implementations. The plugin offers flexibility in choosing completion sources and allows for customization through the OmniSharp-Roslyn server configuration. Its separation of concerns allows for upgrades of the OmniSharp-Roslyn server independently of the Vim plugin itself.

  • Contextual Completion: Provides code completion, snippets, and documentation lookup.
  • Navigation: Enables jumping to definitions, implementations, and usages of code elements.
  • Code Analysis: Offers semantic highlighting, error checking, and code formatting.
  • Code Actions: Supports finding and applying contextual code actions like fixing using statements.
  • Refactoring: Facilitates code renaming refactoring operations.
  • Unit Testing: Allows running unit tests and navigating to failing assertions.
  • Asynchronous Server: Utilizes an asynchronous stdio-based server for improved performance.

OmniSharp-vim is an actively maintained project with continuous updates and bug fixes. The plugin has a substantial user base and a strong community, evidenced by recent commits and active issue tracking. The development focuses on enhancing the user experience, improving server communication, and supporting new features. Documentation is complete, covering installation, configuration, and usage details.

Developers working with C# in Vim benefit from OmniSharp-vim by gaining access to advanced code intelligence features, improving coding efficiency, and reducing errors. It is particularly valuable for developers who prefer a lightweight and highly customizable editing environment. It eliminates the need to switch between Vim and external IDEs for common tasks like code completion and navigation.

Summarize:
Share:
Stars
1,782
Forks
165
Issues
28
Created
15 years ago
Commit
9 months ago
License
MIT
Archived
No
Updated 2 days ago

Similar Repositories