line - highlights the entire line containing the tag.text-and-comment - highlights the comment characters (or the start of the match), the tag and the text after the tag.tag-and-subTag - as above, but allows the sub tag to be highlight too (with colours defined in custom highlights).tag-and-comment - highlights the comment characters (or the start of the match) and the tag.text - highlights the tag and any text after the tag.Type - used to control how much is highlighted in the editor. You can also use "none" to disable the ruler markers. Use one of "left", "center", "right", or "full". If not specified, it will default to the right hand lane. RulerLane - used to set the lane for the marker in the overview ruler. Note: Only works with hex and RGB colour settings. RulerOpacity - used to set the opacity of the ruler markers. Colour can be specified as per foreground and background colours. If not specified, it will default to use the foreground colour. RulerColour - used to set the colour of the marker in the overview ruler. Note: Unfortunately, only octicons and the todo-tree icon can be displayed in the gutter. GutterIcon - set to true to show the icon in the editor gutter. Hex, RGB and HTML colours are only supported when using octicons or the default icon. Note: Theme colours are only supported when using codicons. Colour can be specified as per foreground and background colours, but see note below. If not specified, it will try to use the foreground colour or the background colour. IconColour - used to set the colour of the icon in the tree. You can also use "todo-tree", or "todo-tree-filled" if you want to use the icon from the activity view. The icon defaults to a tick if it's not valid. If using codicons, specify them in the format "$( icon)". Must be a valid octicon (see ) or codicon (see ). Icon - used to set a different icon in the tree view. Note: opacity can only be specified when hex or RGB colours are used.įontWeight, fontStyle, textDecoration - can be used to style the highlight with standard CSS values.īorderRadius - used to set the border radius of the background of the highlight. 100% will produce an opaque background which will obscure selection and other decorations. Opacity - percentage value used with the background colour. Hex and RGB values can also have an alpha specified, e.g. "rgb(255,128,0)" or colours from the current theme, e.g. Note: Foreground and background colours can be specified using HTML/CSS colour names (e.g. Note: defaultHighlight is not applied to sub tags.īoth defaultHighlight and customHighlight allow for the following settings:įoreground - used to set the foreground colour of the highlight in the editor and the marker in the ruler.īackground - used to set the background colour of the highlight in the editor. If settings are not specified in customHighlight, the value from defaultHighlight is used.Ĭustom highlights can also be specified for sub tags (if used). If you need to configure individual tags differently, use customHighlight. Use defaultHighlight to set up highlights for all tags. This will apply a set of colours (which can be changed) to the tags in the order that they are defined. New!: If you just want to set different colours for tags, you can now enable. Please see the wiki for configuration examples. The view can be dragged out of the activity bar into the explorer pane (or anywhere else you would prefer it to be).Ĭlicking a TODO within the tree will open the file and put the cursor on the line containing the TODO.įound TODOs can also be highlighted in open files. This extension quickly searches (using ripgrep) your workspace for comment tags like TODO and FIXME, and displays them in a tree view in the activity bar.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |