Merge pull request #2111 from Microsoft/navToPatternMatcher

Move NavigateTo over to using the new pattern matcher.
This commit is contained in:
CyrusNajmabadi
2015-02-23 16:01:23 -08:00
18 changed files with 260 additions and 153 deletions

View File

@@ -229,6 +229,7 @@ module ts.server {
kind: entry.kind,
kindModifiers: entry.kindModifiers,
matchKind: entry.matchKind,
isCaseSensitive: entry.isCaseSensitive,
fileName: fileName,
textSpan: ts.createTextSpanFromBounds(start, end)
};

View File

@@ -711,6 +711,11 @@ declare module ts.server.protocol {
* exact, substring, or prefix.
*/
matchKind?: string;
/**
* If this was a case sensitive or insensitive match.
*/
isCaseSensitive?: boolean;
/**
* Optional modifiers for the kind (such as 'public').