sassoftware / vscode-sas-extension

This SAS Extension for Visual Studio Code provides support for the SAS language, including features such as SAS syntax highlighting, code completion, hover help, code folding, outline, SAS code snippets and run SAS code.
https://sassoftware.github.io/vscode-sas-extension/
Apache License 2.0
105 stars 43 forks source link

No syntax help and signatureHelpProvider if the function is in a specific position #1071

Open Zhirong2022 opened 3 days ago

Zhirong2022 commented 3 days ago

Describe the bug Open VSC SAS Extension base on main branch. Run some code against ssh connection, no function syntax help and sigatureHelpProvider in some scenarios.

Steps to reproduce

  1. Open VSC SAS Extension
  2. Type code below

%macro untag(title); %do %while (%scan(&title,&stbk)>0) ; %if (%qsubstr(&title,1,1)=&stbk) %then %do; %end; title "&title"; %mend untag;

%macro grph(type); %do %until (&type=%scan(&options,&i) or (&i>3)); %let type=%scan(&options,&i); %put the third workd in X, with scan: %scan(&x,3,*); %end; %mend;


3. Put mouse over %scan, %qsubstr

**Expected behavior**
It has function syntax help and sigatureHelpProvider 

**Screenshots**
![image](https://github.com/sassoftware/vscode-sas-extension/assets/121005702/404f7acc-8aa9-447b-bcb3-c431ebef0e36)

**Environment (please complete the following information):**
Client OS: [e.g. Windows 11]
Extension version: [e.g. v1.10.0]