A little Neovim plugin for improving the .NET dev experience in Neovim, written completely in Lua
dotnet.nvim.Demo.mp4
- Cross Platform (Windows, Linux, MacOS)
- Add/Remove Nuget Windows
- Add/Remove Project Reference Windows
- Add new projects/sln/globaljson/any installed dotnet template
- Bootstrap a new cs file with a class
{
'MoaidHathot/dotnet.nvim',
cmd = "DotnetUI",
opts = {},
}
use {
'MoaidHathot/dotnet.nvim',
config = function()
require("dotnet").setup({})
end
}
dotnet.nvim
comes with the following defaults:
{
bootstrap = {
auto_bootstrap = true, -- Automatically call "bootstrap" when creating a new file, adding a namespace and a class to the files
},
project_selection = {
path_display = 'filename_first' -- Determines how file paths are displayed. All of Telescope's path_display options are supported
}
}
Telescope's valid path_display
. The options may vary depending on the version of Telescope you have installed.
- Adding new item (Project/globaljson/sln, any template you have installed)
:DotnetUI new_item
- Bootstrapping a new cs file
:DotnetUI file bootstrap
- Adding a Nuget package
:DotnetUI project package add
- Removing a Nuget package
:DotnetUI project package remove
- Adding a project reference
:DotnetUI project reference add
- Removing a project reference
:DotnetUI project reference remove