Finds references based on the specified node.
Node to find references for.
Finds references based on the specified position.
Source file.
Position to find the reference at.
Find the rename locations for the specified node.
Node to get the rename locations for.
Optionaloptions: RenameOptionsOptions for renaming.
Gets the edit information for applying a code fix at the provided text range in a source file.
File path or source file to get the code fixes for.
Start position of the text range to be fixed.
End position of the text range to be fixed.
One or more error codes associated with the code fixes to retrieve.
OptionalformatOptions: FormatCodeSettingsFormat code settings.
Optionalpreferences: UserPreferencesUser preferences for refactoring.
Gets file changes and actions to perform for the provided fixId.
File path or source file to get the combined code fixes for.
Identifier for the code fix (ex. "fixMissingImport"). These ids are found in the ts.codefix namespace in the compiler api source.
OptionalformatSettings: FormatCodeSettingsFormat code settings.
Optionalpreferences: UserPreferencesUser preferences for refactoring.
Gets the definitions for the specified node.
Node.
Gets the definitions at the specified position.
Source file.
Position.
Gets the edit information for applying a refactor at a the provided position in a source file.
File path or source file to get the edits for.
Fomat code settings.
Position in the source file where to apply given refactor.
Refactor name.
Refactor action name.
Optionalpreferences: UserPreferencesUser preferences for refactoring.
Gets the emit output of a source file.
Source file.
OptionalemitOnlyDtsFiles: booleanWhether to only emit the d.ts files.
Gets the emit output of a source file.
File path.
OptionalemitOnlyDtsFiles: booleanWhether to only emit the d.ts files.
Gets the formatted text for a document.
File path of the source file.
Format code settings.
Gets the formatting edits for a document.
File path of the source file.
Format code settings.
Gets the formatting edits for a range.
File path.
Position range.
Format code settings.
Gets the indentation at the specified position.
Source file.
Position.
Optionalsettings: tsc.EditorSettingsEditor settings.
Gets the indentation at the specified position.
File path.
Position.
Optionalsettings: tsc.EditorSettingsEditor settings.
Gets the implementations for the specified node.
Node.
Gets the implementations at the specified position.
Source file.
Position.
Gets the language service's program.
Gets the suggestion diagnostics.
The source file or file path to get suggestions for.
Gets the file text changes for organizing the imports in a source file.
Source file.
OptionalformatSettings: FormatCodeSettingsFormat code settings.
OptionaluserPreferences: UserPreferencesUser preferences for refactoring.
Gets the file text changes for organizing the imports in a source file.
File path of the source file.
OptionalformatSettings: FormatCodeSettingsFormat code settings.
OptionaluserPreferences: UserPreferencesUser preferences for refactoring.
Gets the compiler language service.