IDE.nvim
IDE.nvim copied to clipboard
IDE-Like support for NeoVim
!!! DEPRECATED !!!
IDE.nvim has been superseded by the more powerful and easier to use Automaton
IDE.nvim
Nice Project Management, Build, and Debug support for various type of programming languages.
Installation
use {
"Dax89/IDE.nvim",
requires = {
{"nvim-lua/plenary.nvim"},
{"rcarriga/nvim-notify"}, -- Notifications Popup (Optional)
{"stevearc/dressing.nvim"}, -- Improved UI (Optional)
{"mfussenegger/nvim-dap"} , -- DAP Support (Optional)
{"rcarriga/nvim-dap-ui"}, -- DAP-UI Support (Optional)
}
}
Plugin initialization (with default configuration values)
By default ide.nvim doesn't provides any mapping, check the sample configuration in order to configure them.
require("ide").setup({
ignore_filetypes = { },
root_patterns = {".git/"},
auto_save = true,
shadow_build = false,
debug = false,
project_file = "project.nvide",
quickfix = {
pos = "bel"
},
integrations = {
dap = {
enable = false,
config = { },
highlights = {
DapBreakpoint = {ctermbg = 0, fg = "#993939"},
DapLogPoint = {ctermbg = 0, fg = "#61afef"},
DapStopped = {ctermbg = 0, fg = "#98c379"},
},
signs = {
DapBreakpoint = { text="", texthl="DapBreakpoint", numhl= "DapBreakpoint" },
DapBreakpointCondition = { text="ﳁ", texthl="DapBreakpoint", numhl= "DapBreakpoint" },
DapBreakpointRejected = { text="", texthl="DapBreakpoint", numhl= "DapBreakpoint" },
DapLogPoint = { text="", texthl="DapLogPoint", numhl= "DapLogPoint" },
DapStopped = { text="", texthl="DapStopped", numhl= "DapStopped" },
}
},
dapui = {
enable = false
},
git = {
enable = false
}
}
})
UI Keybinds
z: Show actions (used in Tabs component, it's the bottom left button)A: Accept (used in Dialog and Tabs components, it's the bottom right button)Ctrl-H: Show components' keybindsZ: Move to previous tab/wizard stepM: Move to next tab/wizard stephjklandarrow keys: row/column selection for TableEnterandLeft Click: Triggers the component's default event
Commands
IdeShowProjects: Show saved projectsIdeProjectCreate: Open a dialog which allows to create new projectsIdeProjectWrite: Save the project inide.nvimformat (usesproject_filefrom config)IdeProjectSettings: Open current project's settingsIdeProjectDebug: Debug the current projectIdeProjectRun: Run the current projectIdeProjectBuild: Build the current projectIdeProjectStop: Stop one or more running processes for the current projectIdeProjectConfigure: Configure the current projectIdeProjectSelectConfig: Show current project config selectorIdeProjectSelectRunConfig: Show current project run config selectorIdeProjectOpenSourcePath: Open Project's source path with system viewer (if exists)IdeProjectOpenBuildPath: Open Project's build path with system viewer (if exists)
API
require("ide") provides these functions:
setup([config]): Initialize and configure pluginget_active_project(): Returns the active project ornilget_projects(): Returns a list of the loaded projects or{}
Check the Wiki for detailed documentation.