Adaptation of Unity for Visual Studio Code for nvim.
Warning
Work in progress. The plugin is in development stage.
Tested in:
- Unity: 2022.3
- Unity for Visual Studio Code: 1.1, 1.1.1
- Neovim >= 0.10.0
- nvim-dap
- Unity for Visual Studio Code extension installed via VS Code
- .NET SDK installed and
dotnet
command available
Also recommended roslyn.nvim language server.
TODO
Install the plugin with your preferred package manager:
{
"erifirin/unity-dap.nvim",
opts = {
-- your configuration; leave empty for default settings
}
}
By default the plugin starts with following settings:
{
-- Command to run UnityAttachProbe.
-- type: string[] | nil
-- By default - nil. In this case the plugin will use UnityAttachProbe.dll shipped with
-- Unity for Visual Studio Code extension (should be pre-installed).
attach_probe_cmd = nil,
-- Command to run Unity debug adapter.
-- type: string[] | nil
-- By default - nil. In this case the plugin will use UnityDebugAdapter.dll shipped with
-- Unity for Visual Studio Code extension (should be pre-installed).
debug_adapter_cmd = nil,
-- Log file.
-- type: string
-- By default - unity-dap.log located in vim logs default directory.
log_file = ... ,
}
TODO: Maybe required to install Visual Studio Editor package.