Tell me the command I ned to issue so that TRouble displays the todos present in the…
- User
Tell me the command I ned to issue so that TRouble displays the todos present in the current buffer only.
Assistant
Looking at the provided documentation and code context, I notice that while Trouble has many modes like "diagnostics", "lsp_references", "symbols", etc., there isn't a direct built-in command for displaying TODOs from the current buffer.
The closest you might get would be to use the LSP document symbols mode filtered to the current buffer, but this would show all symbols, not just TODOs.
The command would be:
code:Trouble lsp_document_symbols filter.buf=0However, I should note that if you specifically want to find TODOs in your code, you might want to consider using:
- A dedicated TODO plugin
- Telescope's
todo-commentsextension - Or configure your LSP server to treat TODO comments as diagnostics
Trouble.nvim itself doesn't have a dedicated TODO mode based on the provided repository context.
Let me know if you'd like to explore alternative approaches for managing TODOs in your Neovim setup!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.