You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/annotation-comments/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -388,7 +388,7 @@ The function follows these steps to process the code:
388
388
389
389
- The function goes through the given code line by line, looking for strings that match the annotation comment syntax. If a match is found, it will:
390
390
- Extract the annotation name, optional target search query, and optional relative target range from the annotation tag
391
-
- Ensure that the current annotation tag has not been ignored by an ´ignore-tags`directive. Ifithas, itwillskipthetagandcontinuesearching
391
+
- Ensure that the current annotation tag has not been ignored by an `ignore-tags` directive. If it has, it will skip the tag and continue searching
392
392
- If given, call the `validateAnnotationName` handler function to check if the annotation name is valid. If this function returns `false`, skip the tag and continue searching
393
393
- **Handle the current annotation tag if it's inside a single-line comment:** Try to find the beginning sequence of a single-line comment directly before the annotation tag, with no non-whitespace character before and after the beginning sequence. If found, it will:
394
394
- Mark the location of the beginning sequence as beginning of the comment
0 commit comments