coc-todo-tree
hexhTodo tree integration of coc.nvim
Published Package Summary
coc-todo-tree
Todo tree integration of coc.nvim
Inspired by vscode-todo-tree
Install
You need to have coc.nvim installed for this extension to work
:CocInstall coc-todo-tree
Usage
Run this to open todo-tree:
:CocCommand coc-todo-tree.showTree
Feature
- Using coc-tree (for tree view) to list all tags like @todo / FIXME in your workspace
- Using ripgrep by default
- Custom your tag name / icon / highlight / regex
- View control: Just like vscode-todo-tree, you can switch between three modes:
tags-only/flat/tree-viewby press uppercaseC. And group the tags by press lower casec
Config
see: https://github.com/hexh250786313/coc-todo-tree/blob/master/.vim/coc-settings.json
Todo
- filter
- file change watcher
- Todo tree integration of coc.nvim
- *
Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.
Open Developer GuideVersion History
This published npm package does not include a history.md or changelog.md file. Browse its npm versions or repository releases for available release information.
Contributed Commands
All contributes.commands entries from the published package manifest for coc-todo-tree@0.0.19.
This package does not declare any contributed commands.
Configuration Schema
All contributes.configuration entries from the published package manifest, including each raw property schema for coc-settings.json.
Raw JSON Schema
{
"type": "array",
"items": {
"type": "object"
},
"default": [
{
"icon": {
"text": "",
"hlGroup": "Normal"
},
"regex": "TODO",
"tagName": "todo"
}
],
"description": "tags rule"
}Raw JSON Schema
{
"type": "boolean",
"default": true,
"description": "enable extension: Default: true"
}Raw JSON Schema
{
"type": "object",
"default": {
"text": "",
"hlGroup": "Normal"
},
"properties": {
"text": "string",
"hlGroup": "string"
},
"description": "file icon. Default: null"
}Raw JSON Schema
{
"type": "string",
"default": "<cr>",
"description": "map key for jumping to target or toggle expand/collapse node. Default: \"<cr>\""
}Raw JSON Schema
{
"type": "object",
"default": {
"text": "",
"hlGroup": "Normal"
},
"properties": {
"text": "string",
"hlGroup": "string"
},
"description": "folder icon. Default: null"
}Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "group by tag. Default: false"
}Raw JSON Schema
{
"type": "boolean",
"default": true,
"description": "auto preview. Default: true"
}Raw JSON Schema
{
"enum": [
"tagsOnly",
"flat",
"tree"
],
"type": "string",
"default": "flat",
"description": "default view mode. Default: \"flat\""
}Raw JSON Schema
{
"type": "string",
"default": "",
"description": "default grep command. Default: \"rg --no-messages --vimgrep -H --column --max-columns 300 --max-columns-preview --color never -e\""
}Raw JSON Schema
{
"type": "string",
"default": "C",
"description": "map key for switch view. Default: \"C\""
}Raw JSON Schema
{
"type": "integer",
"default": 300,
"description": "see: --max-columns (rg --help). only work for no customCommand set. Default: 300"
}Raw JSON Schema
{
"type": "integer",
"default": 300,
"description": "columns amount of preview window. Default: 300"
}Raw JSON Schema
{
"type": "string",
"default": "r",
"description": "map key for refresh items. Default: \"r\""
}Raw JSON Schema
{
"type": "array",
"default": [
".*yarn\\.lock$"
],
"description": "filtering files. test file path by regex. regex required. Default: [\".*yarn\\\\.lock$\"]"
}Raw JSON Schema
{
"type": "object",
"default": {
"border": true,
"rounded": false,
"winblend": 0,
"highlight": "Normal",
"borderhighlight": "Normal"
},
"description": "preview floating window config"
}Raw JSON Schema
{
"type": "string",
"default": "p",
"description": "map key for toggle preview. Default: \"p\""
}Raw JSON Schema
{
"type": "string",
"default": "c",
"description": "map key for toggle group by tag. Default: \"c\""
}Raw JSON Schema
{
"type": "string",
"default": "",
"description": "highlight for group tag icon when groupByTag enabled. Default: Same as tags.icon.hlGroup"
}Raw JSON Schema
{
"type": "boolean",
"default": true,
"description": "highlight the parent node text. Can not to override the highlight group(CocSearch). Default: true"
}