Set of useful commands for dotnet development.
{
dir = "cantti/cshelper.nvim",
opts = {},
},
Convenient way is to map command picker:
vim.keymap.set({ "n", "v" }, "<leader>#", function() require("cshelper").commands() end)
Individual commands also available:
-- Fix namespace
require("cshelper").fix_ns({
mode = "buffer",
update_usings = true,
})
-- Put new class with correct namespace
require("cshelper").new_class({
blockns = false,
})
-- Put new api controller with correct namespace
require("cshelper").new_api_controller({
blockns = false,
})
-- Secrets list
require("cshelper").secrets_list()
-- Secrets edit
require("cshelper").secrets_edit()