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)
2
6
3
7
- Removed use of 'while' in the grammar to avoid some differences in implementations between GitHub and VS Code
4
8
- Improved handling of unclosed code blocks in dartdoc comments
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " Dart" ,
3
- "version" : " 1.4.0 " ,
3
+ "version" : " 1.4.1 " ,
4
4
"fileTypes" : [
5
5
" dart"
6
6
],
112
112
"name" : " variable.other.source.dart"
113
113
},
114
114
{
115
- "match" : " \\ s{4,}(.*)$ " ,
115
+ "match" : " (?: \\ *| \\ / \\ /) \\ s{4,}(.*?)(?=($| \\ * \\ /)) " ,
116
116
"captures" : {
117
117
"1" : {
118
118
"name" : " variable.other.source.dart"
Original file line number Diff line number Diff line change 203
203
>
204
204
>/**
205
205
#^^^ 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
206
221
> * Nested
207
222
#^^^^^^^^^ comment.block.documentation.dart
208
223
> *
Original file line number Diff line number Diff line change @@ -94,6 +94,13 @@ var c;
94
94
*/
95
95
var d;
96
96
97
+ /**
98
+ * /**
99
+ * * bbb
100
+ * */
101
+ */
102
+ var d2;
103
+
97
104
/**
98
105
* Nested
99
106
*
You can’t perform that action at this time.
0 commit comments