Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GetCompletionsAtPositionOptions

Hierarchy

Index

Properties

Optional Readonly allowTextChangesInNewFiles

allowTextChangesInNewFiles: boolean

Optional Readonly disableSuggestions

disableSuggestions: boolean

Optional Readonly importModuleSpecifierEnding

importModuleSpecifierEnding: "auto" | "minimal" | "index" | "js"

Determines whether we import foo/index.ts as "foo", "foo/index", or "foo/index.js"

Optional Readonly importModuleSpecifierPreference

importModuleSpecifierPreference: "shortest" | "project-relative" | "relative" | "non-relative"

Optional Readonly includeAutomaticOptionalChainCompletions

includeAutomaticOptionalChainCompletions: boolean

Optional Readonly includeCompletionsForImportStatements

includeCompletionsForImportStatements: boolean

Optional Readonly includeCompletionsForModuleExports

includeCompletionsForModuleExports: boolean

Optional Readonly includeCompletionsWithInsertText

includeCompletionsWithInsertText: boolean

Optional Readonly includeCompletionsWithSnippetText

includeCompletionsWithSnippetText: boolean

Optional includeExternalModuleExports

includeExternalModuleExports: boolean
deprecated

Use includeCompletionsForModuleExports

Optional includeInsertTextCompletions

includeInsertTextCompletions: boolean
deprecated

Use includeCompletionsWithInsertText

Optional Readonly includePackageJsonAutoImports

includePackageJsonAutoImports: "auto" | "on" | "off"

Optional Readonly providePrefixAndSuffixTextForRename

providePrefixAndSuffixTextForRename: boolean

Optional Readonly provideRefactorNotApplicableReason

provideRefactorNotApplicableReason: boolean

Optional Readonly quotePreference

quotePreference: "auto" | "double" | "single"

Optional triggerCharacter

triggerCharacter: CompletionsTriggerCharacter

If the editor is asking for completions because a certain character was typed (as opposed to when the user explicitly requested them) this should be set.

Generated using TypeDoc