We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d988012 commit c298f09Copy full SHA for c298f09
src/services/services.ts
@@ -4022,7 +4022,7 @@ module ts {
4022
var sourceFile = getCurrentSourceFile(filename);
4023
var result: TypeScript.TextSpan[] = [];
4024
4025
- var token = getTouchingToken(sourceFile, position, /*allowPositionInLeadingTrivia*/ true);
+ var token = getTouchingToken(sourceFile, position, /*allowPositionInLeadingTrivia*/ false);
4026
4027
if (token.getStart(sourceFile) === position) {
4028
var matchKind = getMatchingTokenKind(token);
0 commit comments