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
117 stars 47 forks source link

Delete multiple Tables from a library in Libraries pane #1216

Open SebastianReimann opened 1 week ago

SebastianReimann commented 1 week ago

Describe the bug In the libraries pane all current sas libraries including their tables are displayes. If one wants to delete more than one table from the library, one can select multiple tables by pressing STRG while clicking. All selected tables are highlighted in light blue color. On right clicking one of the selected tables the highlighting changes to a light gray and the right-clicked table get sourrounded by a blue sqare. In the context menue one can select to delete the table. Only the blue surrounded table gets deleted, not all previously selected tables as exprected.

Steps to reproduce

  1. Copy multiple tables to work library (proc copy in=sashelp out=work; select cars class; run)
  2. Go to "LIBRARIES" pane and select the work library
  3. Hold STRG and left-click both just copied tables
  4. Righ-click the just selected tables and select Delete from the context menue
  5. Only one table is deleted instead of all selected tables

Expected behavior All selected tables are deleted at the same time. Ideally there would be a confirmation question about deleting multipe tables

Screenshots image

Environment (please complete the following information): Client OS: Windows 11 Extension version: 1.10.2 SAS version: Viya 2024.03

Additional context