Use js-ts-biscuits to make code soup and callback spaghetti more digestible. Annotate ALL the end brackets/parentheses/etc. (that have relevant metadata)!!!
This extension has issues with those formats. We are currently planning specific plugins for those use cases.
In the current implementation, code-biscuits prevent seeing GitLens annotations. Issue can be tracked here: https://github.com/code-biscuits/html-biscuits/issues/2
The HTML extension getting fixed will be the blueprint for fixing other extensions in the same way.
js-ts-biscuits.annotationColor
string : Determines the color of annotation. Accepts any valid CSS color string.
js-ts-biscuits.annotationPrefix
string : Determines beginning of the annotation text. Empty string is acceptable.
"// "
,js-ts-biscuits.annotationMinDistance
number : Determines the minimum amount of lines between start and end tag used to decide to show the annotations.
0
,js-ts-biscuits.annotationMaxLength
number : What is the longest annotation you should see before we cut it off ewith a ...
? A 0 value shows the full string.
80
,Removed JSON support in favor of a JSON specific extension later
Add configuration for maximum annotation length and update defaults
Handle Function Expressions and Arrow Functions better
Add extra handler to bail out of Vue and Svelte files (anything with a <script>
) until we can handle those cases better
Change activation events to only target js, ts, and json files for now
Show more nested nodes and update operator map to support more symbols and operators
Only wrap string literal values in quotes
Get switch case clauses and blocks working
Recursively annotate if, switch, for, and while statements
First tested public launch
Copyright 2020 code-biscuits
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.