Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No syntax help for 'printer' if it is before the second data code block #1282

Open
Zhirong2022 opened this issue Nov 18, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Zhirong2022
Copy link
Collaborator

Describe the bug
Open VSC SAS Extension base on Main branch. It has no syntax help for 'printer' if it is before the second data code block.

Steps to reproduce

  1. New a .sas file
  2. Type code below
/* ----- some sample code ----- */ 
 %include %unquote(&open.gtestit&close); 
 filename xyz printer "HP Laserjet IIISi" altdest='c:out.prn';
 data tut1;
    date='1jan2013'd;
    bits='10000000'b; 
   %*macro comments; 
   %macro_variable_references; 
   'name literals'n;
    format sales1-sales3 comma10.2; 
   formchar(3,7)='2D7C'x;	
 input idept  acct  iqtr imon budget;	
 length dept $ 15; 
 cards;
 01  01345  1 1 12980
 01  01345  1 2 14009 
 ;
 /* ----- some sample code ----- */ 
 %include %unquote(&open.gtestit&close); 
 filename xyz printer "HP Laserjet IIISi" altdest='c:out.prn';
 data tut1;
    date='1jan2013'd;
    bits='10000000'b; 
   %*macro comments; 
   %macro_variable_references; 
   'name literals'n;
    format sales1-sales3 comma10.2; 
   formchar(3,7)='2D7C'x;	
 input idept  acct  iqtr imon budget;	
 length dept $ 15; 
 cards;
 01  01345  1 1 12980
 01  01345  1 2 14009 
 ;
  1. Hover on 'printer' before the second data code block

Expected behavior
It has syntax help for 'printer'

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

@Zhirong2022 Zhirong2022 added the bug Something isn't working label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant