Telescope extension to search within mono repository by offering ways to restrict the amount of shown folders and file types. Can be configured to only show folders of a coder owner with respect to a codeowner file.
Use your favorite plugin manager.
require("monoscope").setup({
owner = "@ownername",
ownerfile = "/path/to/code/CODEOWNERS",
folders = {
{
owner = true,
path = "/path/to/folder/in/monorepo",
filetypes = { "go", "proto" },
},
{
owner = true,
path = "/path/to/folder/in/monorepo",
filetypes = { "dart", "go" },
},
{
path = "/path/to/folder/in/monorepo",
},
},
})
Set a keymap to
require("monoscope").folders()