- Added the ability to toggle rulers per anchor tag (#203)
- Added the ability to style tags with underlines, strikethroughs, and more (#216)
- Allow parsing of anchors in files prefixed with a dot (#209)
- Removed unnecessary hover text (#208)
- Match the
matchFiles
setting against the relative path of the file (#209)- This may break existing settings which expect an absolute path
- Improved code maintainability (CI, improved linting & issue templates)
- When selecting an anchor, the cursor position now also moves (#173)
bin
andobj
directories are now excluded from workplace scans by default (#176)- Intellisense will now only trigger when an entire prefix is typed (#174)
- Display a badge when the current file contains anchors
- Added new quick navigation command (Bound to
Alt + C + L
) - Change default navigation keybind to
Alt + PageUp
&Alt + PageDown
- Added a command to export all anchors in your workspace as JSON or CSV
- Added
matchPrefix
andmatchSuffix
settings - Added keyboard navigation (Shift+Alt+Up & Shift+Alt+Down) (#27)
- Updated the anchor tag configuration syntax
- The legacy array-based syntax will continue to work
- Since the new syntax is defined using an object notation, individual tags can now be collapsed (#152)
- Made
highlightColor
property optional for tags, allowing uncolored anchors - Omitting the path from a link anchor will now default to the current file
- Replaced
styleComments
property with more customizeablestyleMode
property (#31) - Improved the anchor IntelliSense completions
- Fixed epics within regions not displaying in the sidebar
- Fixed instances where a single broken link breaks all links
- Fixed anchors appearing outside of comments (#116)
- Due to the way in which the matcher has been changed, existing anchors may break. Please use the new
matchPrefix
andmatchSuffix
settings to further tweak the matcher to your environment.
- Due to the way in which the matcher has been changed, existing anchors may break. Please use the new
- Slightly adjust the cursor appearance
- Added new "hidden" scope (#128)
- Prevents anchors from displaying in the sidebar
- Useful for creating highlight-only anchors
- Replace link anchor CodeLens with clickable link
- Fixes many issues related to lens jittering such as (#109)
- Added Show Cursor setting
- Renders a sidebar entry representing the current cursor position
- Useful to view your cursors position relative to your anchors
- Disabled by default, enable in settings to use
- Fixed link anchors not always working in the same file
- Anchor sections are now expanded by default
- Added a setting to revert to the previous behavior
- Added
dist
to default excluded directories (#114) - Added workspace path support for link anchors (#105)
- Fixed multiple tags starting with the same characters not always working
- Fixed IntelliSense breaking few extensions
- Added Anchor Epics
- Used to group anchors into individual groups
- Specify the epic using an
epic
attribute, example:
// EXAMPLE[epic=examples] This anchor appears in the "examples" epic
- Anchor ordering can be customized per anchor using the
seq
option
- Add "link" anchor support
- Enabled on tags by setting
behavior
to"link"
- Allows you to specify an absolute or relative file to travel to
- Renders a clickable link that opens the file in your editor
- You can link to specific line numbers
- Example:
// LINK some/file.txt:50
- Example:
- You can link to specific anchors
- Example:
// LINK some/file.txt#my-anchor
- Takes you to
// ANCHOR[id=my-anchor] This is the destination
- Example:
- Enabled on tags by setting
- Added new default
LINK
tag to use together with the new link behavior functionality - Increase default
maxFiles
value from 50 to 250 - Deprecated
isRegion
in favor ofbehavior
set to"region"
- Added support for custom icon hex colors
- Defaults to highlightColor when left out
- Can be set to "auto" or "default" to use black/white icons based on theme
- Continued support for legacy color names
- Added specialized region end tag icons
- Added pathFormat setting to improve workspace anchor tree readability
- Use file icon from theme for workspace anchor tree
- Fallback to displaying tag in the sidebar when no comment is found
- Fix setting description inaccuracies
- Fix displayLineNumber setting not working for section tags
- Fix region end tags not verifying start tag
- Adopt new Webview API
- Fix anchors not working in certain files
- Provide a "collapse all" button on the anchor trees
- Changed some default settings to improve performance
- Workspace lazy loading is now enabled by default
- Fixed issues in the documentation
- Added
displayInRuler
setting to disable anchors displaying in the scrollbar ruler - Added
provideAutoCompletion
setting to disable auto completion support - Added
maxFiles
setting to change how many workspace files will be indexed - Improved the sidebar anchor icon to fit better with the default VSCode icons
- Improved the rendering of fully styled comments
- Simplified the searching regex in order to improve anchor recognition
- Removed editor folding due to the many issues it caused
- Fixed workspace anchors not opening the correct file
- Allow anchor comments to be wrapped in double quotes
// ANCHOR: "Like this!"
- Currently the only way to allow non-english comments to be parsed by Comment Anchors
- Prevent workspace scanning from blocking other extensions
- Added setting to modify separators
- "Separators" are the characters you are allowed to place between a tag and its message
- By default,
:
and-
are allowed - It is advised to remove " " from the list when disabling case matching, as otherwise many false positives may be detected by accident
- Added IntelliSense autocompletion for anchors
- Fixed issues involving editor folding
- Added setting to change where the editor scrolls to when navigating to an anchor
- Added setting to disable editor folding (May fix fold issues in some languages)
- Possibly breaking: Tag matching is now Case Sensitive by default
- Added anchor regions
- Region tags are defined by setting
isRegion
totrue
- Defined with a start and end tag
- Collapsible in the anchor list and in the editor
- Support for placing regions within regions
- Provided default region tag "SECTION"
- Region tags are defined by setting
- Greatly improved matching of tags
- Added new icon colors (teal, pink, blurple, emerald)
- Added icon hex codes to the extension documentation
- Added the ability to disable workspace anchors
- Fixed bad performance by excluding
node_modules
and other folders from the workspace scan by default - Scanning now no longer triggers other extensions to parse all files
- Improved matching regex
- Now excludes semicolons and other symbols before the comment (e.g. NOTE - Message, ANCHOR: Message)
- Matches are now case insensitive (Can be disabled in settings)
- Added workspace anchors view
- Allows the viewing of all anchors within one or multiple workspaces
- Can be used for navigation
- Tags can be scoped to display for current file only
- Fixed bugs
- Added gutter icons
- Added more tag customization styles
- Added command to toggle tag visibility
- Improved comment detecting (Works for XML/HTML files now)
- Added support for background colors
- Fixed some minor issues
- Initial release