v2.2.0
- Improved nvim-dap integration. Now you can debug tests by running
require("xcodebuild.dap").debug_tests()
. - Improved debugger start. Now you don't have to be in a buffer with Swift file. It's enough to have it in any visible window.
- Fixed filtering on Telescope picker. Now your local filter won't affect xcodebuild.nvim causing unexpected behavior.
- Added new config options:
test_explorer.open_expanded
andtest_explorer.auto_focus
.
Sample binding
vim.keymap.set("n", "<leader>dt", require("xcodebuild.dap").debug_tests, { desc = "Debug Tests" })
Tip
You can also debug smaller scope tests: debug_target_tests
, debug_class_tests
, debug_func_test
, debug_selected_tests
, debug_failing_tests
.