File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1725,7 +1725,7 @@ namespace ts {
1725
1725
const sourceFile = syntaxTreeCache . getCurrentSourceFile ( fileName ) ;
1726
1726
1727
1727
// Check if in a context where we don't want to perform any insertion
1728
- if ( isInString ( sourceFile , position ) || isInComment ( sourceFile , position ) ) {
1728
+ if ( isInString ( sourceFile , position ) ) {
1729
1729
return false ;
1730
1730
}
1731
1731
Original file line number Diff line number Diff line change 14
14
//// }
15
15
16
16
goTo . marker ( '1' ) ;
17
- verify . not . isValidBraceCompletionAtPosition ( '(' ) ;
17
+ verify . isValidBraceCompletionAtPosition ( '(' ) ;
18
18
19
19
goTo . marker ( '2' ) ;
20
- verify . not . isValidBraceCompletionAtPosition ( '(' ) ;
20
+ verify . isValidBraceCompletionAtPosition ( '(' ) ;
21
21
22
22
goTo . marker ( '3' ) ;
23
- verify . not . isValidBraceCompletionAtPosition ( '(' ) ;
23
+ verify . isValidBraceCompletionAtPosition ( '(' ) ;
You can’t perform that action at this time.
0 commit comments