Skip to content

Irdis/NoogleNvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoogleNvim

A Neovim plugin that lets you quickly explore types in .NET libraries. Noogle scans bin folder with ILSpy and outputs methods and properties signatures of matching classes. It's avaliable on x64 Windows/Linux. image

Installation

lazy.nvim:

{
    "Irdis/NoogleNvim",
    build = function ()
        require("noogle").build()
    end,
    config = function()
        require("noogle").setup()

        vim.keymap.set('n', '<Leader>nt', function() vim.cmd('NoogleType ' .. vim.fn.expand('<cword>')) end)
        vim.keymap.set('n', '<Leader>nT', function() vim.cmd('NoogleTypeExt ' .. vim.fn.expand('<cword>')) end)
        vim.keymap.set('n', '<Leader>nm', function() vim.cmd('NoogleMethod ' .. vim.fn.expand('<cword>')) end)
        vim.keymap.set('n', '<Leader>nM', function() vim.cmd('NoogleMethodExt ' .. vim.fn.expand('<cword>')) end)
    end
}

Commands

User commands:

  • :NoogleType <query> - Searches through public classes only
  • :NoogleTypeExt <query> - Searches classes of all access levels (public, private, protected, etc.)
  • :NoogleMethod <query> - Searches through public methods only
  • :NoogleMethodExt <query> - Searches methods of all access levels (public, private, protected, etc.)

Configuration

You can add extra folders to the search path. For example, by including the .NET directory, you’ll be able to query details about types in the standard library.

require("noogle").setup({
    additional_locations = {
        "C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\9.0.8"
    }
})

About

Nvim plugin for exploring types and methods in .NET libraries.

Topics

Resources

Stars

Watchers

Forks

Contributors