Skip to content

Commit

Permalink
fix: don't show help when hover on white space (#1279)
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Wu <[email protected]>
  • Loading branch information
scnwwu authored Nov 14, 2024
1 parent b48e2a1 commit 076a436
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/src/sas/CompletionProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,10 @@ export class CompletionProvider {
position.character,
);
return new Promise((resolve) => {
if (keyword.trim() === "") {
resolve(undefined);
return;
}
this._loadHelp({
keyword: keyword,
type: "hint",
Expand Down

0 comments on commit 076a436

Please sign in to comment.