File tree Expand file tree Collapse file tree 4 files changed +29
-3
lines changed Expand file tree Collapse file tree 4 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 1- ## 1.4.0 (2024-11-14)
1+ ## 1.4.1 (2024-11-18)
2+
3+ - Fixed a bug where a closing block comment marker indented by more than 4 spaces would not end the comment.
4+
5+ ## 1.4.0 (2024-11-18)
26
37- Removed use of 'while' in the grammar to avoid some differences in implementations between GitHub and VS Code
48- Improved handling of unclosed code blocks in dartdoc comments
Original file line number Diff line number Diff line change 11{
22 "name" : " Dart" ,
3- "version" : " 1.4.0 " ,
3+ "version" : " 1.4.1 " ,
44 "fileTypes" : [
55 " dart"
66 ],
112112 "name" : " variable.other.source.dart"
113113 },
114114 {
115- "match" : " \\ s{4,}(.*)$ " ,
115+ "match" : " (?: \\ *| \\ / \\ /) \\ s{4,}(.*?)(?=($| \\ * \\ /)) " ,
116116 "captures" : {
117117 "1" : {
118118 "name" : " variable.other.source.dart"
Original file line number Diff line number Diff line change 203203>
204204>/**
205205#^^^ comment.block.documentation.dart
206+ > * /**
207+ #^^^^^^^^ comment.block.documentation.dart
208+ > * * bbb
209+ #^^^^^^ comment.block.documentation.dart
210+ # ^^^^^ comment.block.documentation.dart variable.other.source.dart
211+ > * */
212+ #^^^^^^^^ comment.block.documentation.dart
213+ > */
214+ #^^^ comment.block.documentation.dart
215+ >var d2;
216+ #^^^ storage.type.primitive.dart
217+ # ^ punctuation.terminator.dart
218+ >
219+ >/**
220+ #^^^ comment.block.documentation.dart
206221> * Nested
207222#^^^^^^^^^ comment.block.documentation.dart
208223> *
Original file line number Diff line number Diff line change @@ -94,6 +94,13 @@ var c;
9494 */
9595var d;
9696
97+ /**
98+ * /**
99+ * * bbb
100+ * */
101+ */
102+ var d2;
103+
97104/**
98105 * Nested
99106 *
You can’t perform that action at this time.
0 commit comments