diff --git a/dist/linter.js b/dist/linter.js index b6773b6d0..b4f5306af 100644 --- a/dist/linter.js +++ b/dist/linter.js @@ -3,7 +3,7 @@ var fs = require('fs'); var atom_1 = require("atom"); exports.provider = { name: 'TS', - grammarScopes: ['source.ts', 'source.ts.tsx'], + grammarScopes: ['source.ts', 'source.tsx'], scope: 'file', lintOnFly: true, lint: function (textEditor) { diff --git a/dist/main/atom/autoCompleteProvider.js b/dist/main/atom/autoCompleteProvider.js index 2479101d3..e67a3bc62 100644 --- a/dist/main/atom/autoCompleteProvider.js +++ b/dist/main/atom/autoCompleteProvider.js @@ -11,7 +11,7 @@ function triggerAutocompletePlus() { } exports.triggerAutocompletePlus = triggerAutocompletePlus; exports.provider = { - selector: '.source.ts', + selector: '.source.ts, .source.tsx', inclusionPriority: 3, suggestionPriority: 3, excludeLowerPriority: false, diff --git a/lib/linter.ts b/lib/linter.ts index 8f7aaa7bc..9f3f2e249 100644 --- a/lib/linter.ts +++ b/lib/linter.ts @@ -20,7 +20,7 @@ interface LinterMessage { export var provider = { name: 'TS', - grammarScopes: ['source.ts', 'source.ts.tsx'], + grammarScopes: ['source.ts', 'source.tsx'], scope: 'file', // # or 'project' lintOnFly: true, // # must be false for scope: 'project' lint: (textEditor: AtomCore.IEditor): Promise => { diff --git a/lib/main/atom/autoCompleteProvider.ts b/lib/main/atom/autoCompleteProvider.ts index 742f3416f..7bd27fc4b 100644 --- a/lib/main/atom/autoCompleteProvider.ts +++ b/lib/main/atom/autoCompleteProvider.ts @@ -79,7 +79,7 @@ interface SnippetsContianer { } export var provider: autocompleteplus.Provider = { - selector: '.source.ts', + selector: '.source.ts, .source.tsx', inclusionPriority: 3, suggestionPriority: 3, excludeLowerPriority: false,