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

Log contents are not rendered properly if trying to switch profile from SSH to other connection types #1070

Open Zhirong2022 opened 6 days ago

Zhirong2022 commented 6 days ago

Describe the bug Open VSC SAS Extension base on main branch. Run some code against ssh connection, then switch to viya connection to run the code again. Log contents are not rendered properly on output panel.

Steps to reproduce

  1. Open VSC SAS Extension
  2. Type code below
    proc print data=sashelp.car(obs=1); 
    run;
  3. Run code against ssh connection
  4. Switch to a viya connection
  5. Run code again

Expected behavior Log contents can be rendered properly with profile switching

Screenshots image

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