diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index 3d1406f3e43..21330fb319c 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -72,7 +72,15 @@ namespace ts.server { "exclude": [["^", 1, "/.*"]], // ..then exclude all files under the winjs folder "types": ["winjs"] // And fetch the @types package for WinJS }, - "Office Nuget": { + "Kendo": { + "match": /^(.*\/kendo\/.+\.js$/gi, + "exclude": [["^", 1, "/.*"]] + }, + "Office Loc Files": { + "match": /^(.*\/office\/1\/\w\w-\w\w\/).+\.js$/gi, // Office NuGet package is installed under a "office/1" folder + "exclude": [["^", 1, "/.*"]] // Exclude that whole folder if the file indicated above is found in it + }, + "Office Nuget": { // TODO this one "match": /^(.*\/1\/office)\/excel\.debug\.js$/gi, // Office NuGet package is installed under a "1/office" folder "exclude": [["^", 1, "/.*"]], // Exclude that whole folder if the file indicated above is found in it "types": ["office"] // @types package to fetch instead