MCPcopy Index your code
hub / github.com/angular/angular / getCompletionEntryDetails

Function getCompletionEntryDetails

packages/language-service/src/ts_plugin.ts:158–188  ·  view source on GitHub ↗
(
    fileName: string,
    position: number,
    entryName: string,
    formatOptions: ts.FormatCodeOptions | ts.FormatCodeSettings | undefined,
    source: string | undefined,
    preferences: ts.UserPreferences | undefined,
    data: ts.CompletionEntryData | undefined,
  )

Source from the content-addressed store, hash-verified

156 }
157
158 function getCompletionEntryDetails(
159 fileName: string,
160 position: number,
161 entryName: string,
162 formatOptions: ts.FormatCodeOptions | ts.FormatCodeSettings | undefined,
163 source: string | undefined,
164 preferences: ts.UserPreferences | undefined,
165 data: ts.CompletionEntryData | undefined,
166 ): ts.CompletionEntryDetails | undefined {
167 return withFallback(fileName, (ls) => {
168 if (ls === tsLS) {
169 return tsLS.getCompletionEntryDetails(
170 fileName,
171 position,
172 entryName,
173 formatOptions,
174 source,
175 preferences,
176 data,
177 );
178 }
179 return ngLS.getCompletionEntryDetails(
180 fileName,
181 position,
182 entryName,
183 formatOptions,
184 preferences,
185 data,
186 );
187 });
188 }
189
190 function getCompletionEntrySymbol(
191 fileName: string,

Callers

nothing calls this directly

Calls 2

withFallbackFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…