Skip to content

Commit 218f82f

Browse files
authored
doc: problems panel FAQ and minor revise (#1092)
1 parent 71d484f commit 218f82f

File tree

8 files changed

+69
-2
lines changed

8 files changed

+69
-2
lines changed

.github/workflows/deploy-doc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- main
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
permissions:
913
contents: write
1014

website/docs/Configurations/Profiles/sas9local.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ sidebar_position: 2
44

55
# SAS 9.4 (local) Connection Profile
66

7+
To use a SAS 9.4 (local) connection type, you need to have SAS Integration Technologies Client for Windows (ITCLIENT) installed on the client machine (the same machine VS Code is installed on).
8+
9+
You can check the SASHOME location on your client machine to see if you already have ITCLIENT installed. For example, ITCLIENT is normally installed in the default path "C:\Program Files\SASHome\x86\Integration Technologies". If that path exists on your machine, you have ITCLIENT. ITCLIENT is automatically installed with some SAS software, such as SAS Enterprise Guide and SAS Add-in for Microsoft Office, so if you have one of those on your machine, you likely already have ITCLIENT as well.
10+
11+
If you do not already have ITCLIENT installed on the client machine, follow the [steps](./sas9iom.md#steps-to-install-itclient).
12+
713
## Profile Anatomy
814

915
A local SAS 9.4 connection profile includes the following parameters:

website/docs/Configurations/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,3 @@ To configure the SAS extension:
1717
4. After you have created a profile, the Status Bar Item changes from "No Profile" to the name of the new profile.
1818

1919
![Status Bar Profile](/images/StatusBarProfileItem.png)
20-
21-
5. If you do not want to generate results in HTML format, clear the `Enable/disable ODS HTML5 output` setting. This option is enabled by default.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
sidebar_position: 6
3+
---
4+
5+
# Fixing Errors and Warnings
6+
7+
The Problems panel contains error and warning messages that are generated by the SAS log when you run a program. Errors and warnings in the Problems panel are not cleared until you rerun the code. The Quick Fix option enables you to remove items from the Problems panel without rerunning the code.
8+
9+
To use the Quick Fix options:
10+
11+
1. Open the Quick Fix menu in one of these ways:
12+
13+
- Click a message in the Problems panel and then click the corresponding `Show Code Actions` icon in the code editor.
14+
15+
- Click the `Show fixes` button for the appropriate message in the Problems panel.
16+
17+
![Quick Fix](/images/quickFix.png)
18+
19+
2. Select one of the following options:
20+
21+
- `Ignore: current position` - clears the currently selected problem from the Problems panel and the code editor.
22+
23+
- `Ignore: warnings` - clears all warnings from the Problems panel and the code editor.
24+
25+
- `Ignore: error` - clears all errors from the Problems panel and the code editor.
26+
27+
- `Ignore: all` - clears all problems from the Problems panel and the code editor.
28+
29+
:::tip
30+
31+
You can use the Problems panel as a to-do list when you are debugging your code. When you correct an error in your code, open the Quick Fix options for that error and select `Ignore: current position` to remove the error message from the list.
32+
33+
:::

website/docs/Features/running.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
sidebar_position: 4
3+
---
4+
15
# Running SAS Code
26

37
After you configure the SAS extension for your SAS environment, you can run your SAS program and view the log and results. The steps to connect to SAS and run your program are different for SAS Viya and SAS 9.

website/docs/Features/runningTask.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
sidebar_position: 5
3+
---
4+
15
# Running SAS Code by Task
26

37
## Run selected code or all code in active editor

website/docs/faq.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,21 @@ Click `Help > Toggle Developer Tools` from the top menu bar.
8383
### Why am I getting blank errors?
8484

8585
Restart your VS Code session.
86+
87+
## Problems Panel questions
88+
89+
### Can I change the sort order of the messages in the Problems panel?
90+
91+
No, you cannot change the order in which the messages are displayed in the Problems panel. The items are sorted first by severity and then by order of their appearance in the log.
92+
93+
### What does the Show Infos option in the Filters menu do?
94+
95+
The Show Infos option is not implemented in the SAS extension.
96+
97+
### How do I access the toolbar options on the Problems panel when I am displaying a second panel side-by-side?
98+
99+
If the options on the Problems panel toolbar are not visible, you can display the options by clicking the Problems panel to make it the active panel or by hovering your mouse pointer over the Problems panel toolbar.
100+
101+
### Can I control whether errors and warnings from my SAS log are displayed in the Problems panel?
102+
103+
Yes. The `SAS.problems.log` setting controls whether problems from the SAS log are displayed in the Problems panel. This option is enabled by default. To access this option, select `File > Preferences > Settings`, and search for "sas problems".

website/static/images/quickFix.png

35 KB
Loading

0 commit comments

Comments
 (0)