Skip to content

Commit fc5729e

Browse files
committed
Remove disableSuggestions option
The option is somewhat misleading. Avoid advertising it. Will be configurable via tsconfig.
1 parent 0d349e0 commit fc5729e

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

lib/main/typescriptBuffer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ export class TypescriptBuffer {
173173
"atom-typescript.includeCompletionsForModuleExports",
174174
),
175175
quotePreference: atom.config.get("atom-typescript.quotePreference"),
176-
disableSuggestions: atom.config.get("atom-typescript.disableSuggestions"),
177176
},
178177
})
179178
}

lib/typings/atom-config.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ declare module "atom" {
2727
"atom-typescript.ignoreUnusedSuggestionDiagnostics": boolean
2828
"atom-typescript.ignoreNonSuggestionSuggestionDiagnostics": boolean
2929
"atom-typescript.ignoredSuggestionDiagnostics": string[]
30-
"atom-typescript.disableSuggestions": boolean
3130
"atom-typescript.suppressAllDiagnostics": boolean
3231
"atom-typescript.tsFileExtensions": string[]
3332
"atom-typescript.jsFileExtensions": string[]
@@ -61,7 +60,6 @@ declare module "atom" {
6160
ignoreUnusedSuggestionDiagnostics: boolean
6261
ignoreNonSuggestionSuggestionDiagnostics: boolean
6362
ignoredSuggestionDiagnostics: string[]
64-
disableSuggestions: boolean
6563
suppressAllDiagnostics: boolean
6664
tsFileExtensions: string[]
6765
jsFileExtensions: string[]

package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,6 @@
220220
"default": [],
221221
"order": 110
222222
},
223-
"disableSuggestions": {
224-
"title": "Disable all suggestions",
225-
"type": "boolean",
226-
"default": false,
227-
"order": 115
228-
},
229223
"suppressAllDiagnostics": {
230224
"title": "Suppress all diagnostics",
231225
"description": "The package will not report any problems with TypeScript. Use only if you know what you are doing",

0 commit comments

Comments
 (0)