Add a command to format Crocq annotations & format on save option #88
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/format-annotations"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #78
Crocq: Format annotationsre-indents annotation blocks and inline bodies in the active C file.We need to not override the user's default C formatter, which is why we have our own format command (can't have two formatters for a file run in sequence).
Format on save option added, which is true by default.
Add a command to format Crocq annotationsto WIP: Add a command to format Crocq annotationsWIP: Add a command to format Crocq annotationsto Add a command to format Crocq annotations@ -56,0 +60,4 @@},"crocq.formatAnnotationsOnSave": {"type": "boolean","default": true,default should be either false by default or be the same as vscode formatOnSave
@ -0,0 +21,4 @@]);/** Removes the indentation shared by every line. */function dedent(text: string): string {This is the exact same method as this comment is made on: #84/files (comment)
just made in a different location (the issue mentioned in that comment also applies here)
Add a command to format Crocq annotationsto Add a command to format Crocq annotations & format on save option@ -0,0 +1 @@Subproject commit db65bd0d58e008e1cd81c1d70c6f83e5d0ab6398...