From 4cfbc7c56e099afae095abdb2b4a9370920aa354 Mon Sep 17 00:00:00 2001 From: Wei Wu <96556502+scnwwu@users.noreply.github.com> Date: Fri, 29 Nov 2024 01:54:33 -0500 Subject: [PATCH] fix: display context in hover help for data step statement option (#1307) --- server/src/sas/CompletionProvider.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/src/sas/CompletionProvider.ts b/server/src/sas/CompletionProvider.ts index 73af9d311..f24cec08a 100644 --- a/server/src/sas/CompletionProvider.ts +++ b/server/src/sas/CompletionProvider.ts @@ -1507,6 +1507,10 @@ export class CompletionProvider { contextText = getText("ce_ac_data_step_txt"); linkTail = "%22DATA+STEP%22+%22" + keyword + "+" + "STATEMENT%22"; break; + case ZONE_TYPE.DATA_STEP_STMT_OPT: + contextText = getText("ce_ac_statement.fmt", context.stmtName); + linkTail = "%22" + context.stmtName + "+STATEMENT%22+" + keyword; + break; case ZONE_TYPE.DATA_STEP_OPT_NAME: case ZONE_TYPE.DATA_STEP_DEF_OPT: contextText = getText("ce_ac_data_step_txt");