-
Notifications
You must be signed in to change notification settings - Fork 662
Open
Description
My colleague likes the annotations, I've read they help AI tools, but I'm happy with opening db/schema.rb when I need this information and consider the comments - and all the diffs in the PRs - rather as noise.
So I wonder if you know any existing way to automatically fold the annotate comment when using VSCode?
If not, would it be possible to add a setting, that would add a (configurable) first and last line? There are VSCode extensions that can automatically fold code "regions", when opening a file.
For this a first comment line had to be added in the form of:
# #region Annotate
and a last line with the content:
# #endregion
which would allow the extensions to identify the whole comment and collapse it automagically when opening a file.
Version
- annotate 3.2.0
- rails 7.2.0
- ruby 3.3.4
Metadata
Metadata
Assignees
Labels
No labels