You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/Features/sasNotebook.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,23 @@ Starting with Visual Studio Code version 1.93, [the language for SQL files has b
19
19
20
20
:::
21
21
22
+
## Language Support for Embedded Code
23
+
24
+
SAS Notebook supports multiple languages including Python, R, SQL, and Lua. When working with these languages in SAS notebooks, enhanced language features such as code completion, hover information, and signature help are available.
25
+
26
+
### Python Language Features
27
+
28
+
Python code cells benefit from integrated IntelliSense powered by Pyright, which is included with the extension. No additional setup is required for Python language features.
29
+
30
+
### R Language Features
31
+
32
+
R code cells include basic IntelliSense features (code completion and hover documentation) for common R functions:
33
+
34
+
-**In VS Code Desktop**: Basic code completion and hover information for common R functions is provided automatically - no installation required
35
+
-**In Browser (VS Code for Web)**: Enhanced R language features are automatically available via WebR - no installation required! WebR provides basic code completion and hover information for common R functions.
36
+
37
+
Note: R code execution via PROC RLANG requires a SAS connection, but the language features work independently.
38
+
22
39
## Export
23
40
24
41
To export your SAS Notebook to other formats, click the **More Actions** (`...`) button on the notebook toolbar at top, and select `Export`. The following formats are supported.
Copy file name to clipboardExpand all lines: website/docs/faq.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,3 +107,36 @@ If the options on the Problems panel toolbar are not visible, you can display th
107
107
### Can I control whether errors and warnings from my SAS log are displayed in the Problems panel?
108
108
109
109
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".
110
+
111
+
## Language Server questions
112
+
113
+
### Why don't I see code completion or hover information in my PROC RLANG code?
114
+
115
+
**In VS Code Desktop**: Basic R language features (code completion and hover) are provided automatically for common R functions - no installation required. If you're not seeing them:
116
+
117
+
1. Make sure you're inside a `PROC RLANG` submit block
118
+
2. Check that your cursor is positioned on R code (not SAS code)
119
+
3. Try restarting VS Code if features don't appear
120
+
121
+
**In Browser (VS Code for Web)**: R language features are automatically available via WebR. If you don't see completions:
0 commit comments