Skip to content

Commit a5bd919

Browse files
PR feedback.
1 parent 4802b4b commit a5bd919

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/services/services.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2443,6 +2443,11 @@ module ts {
24432443
};
24442444
}
24452445

2446+
// If symbolName is undefined, all symbols at the specified are returned. If symbolName
2447+
// is not undefined, then the first symbol with that name at the specified position
2448+
// will be returned. Calling without symbolName is useful when you want the entire
2449+
// list of symbols (like for getCompletionsAtPosition). Calling with a symbolName is
2450+
// useful when you want information about a single symbol (like for getCompletionEntryDetails).
24462451
function getCompletionData(fileName: string, position: number, symbolName?: string) {
24472452
let result = getCompletionDataWorker(fileName, position, symbolName);
24482453
if (!result) {

0 commit comments

Comments
 (0)