{"id":23331082,"url":"https://github.com/sassoftware/sas-copilot","last_synced_at":"2026-01-20T15:33:21.840Z","repository":{"id":229702738,"uuid":"728893285","full_name":"sassoftware/sas-copilot","owner":"sassoftware","description":"Issues tracker and feedback project for the SAS coding assistant","archived":false,"fork":false,"pushed_at":"2025-12-19T17:32:36.000Z","size":1193,"stargazers_count":10,"open_issues_count":59,"forks_count":1,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-12-21T20:35:23.737Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sassoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-07T23:37:57.000Z","updated_at":"2025-12-18T22:16:11.000Z","dependencies_parsed_at":"2024-04-12T05:59:37.208Z","dependency_job_id":"8a835a3a-3c44-47a0-9d23-4135304296dd","html_url":"https://github.com/sassoftware/sas-copilot","commit_stats":null,"previous_names":["sassoftware/sas-copilot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sassoftware/sas-copilot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Fsas-copilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Fsas-copilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Fsas-copilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Fsas-copilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sassoftware","download_url":"https://codeload.github.com/sassoftware/sas-copilot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sassoftware%2Fsas-copilot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28606142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T14:45:23.139Z","status":"ssl_error","status_checked_at":"2026-01-20T14:44:16.929Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-20T22:30:46.077Z","updated_at":"2026-01-20T15:33:21.835Z","avatar_url":"https://github.com/sassoftware.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp style=\"font-size: 1rem;\"\u003e Please note that this extension may be downloaded but it will only operate fully for participants who have a signed agreement with SAS and have a Viya 4 license. \u003c/p\u003e\n\n# Overview\n\nThe SAS Viya Copilot extension for Visual Studio Code is a tool that enhances your productivity as you program in SAS. SAS Viya Copilot uses Generative Artificial Intelligence (GenAI) to add comments to SAS code, write an explanation for existing SAS code, and generate SAS code based on instructions in comments in a SAS program.\n\nIf you encounter any bugs or have any suggestions or questions, please report as [issues](https://github.com/sassoftware/sas-copilot/issues/new/choose).\n\n# Prerequisites\n\n- VSCode version ≥ 1.89\n- [official SAS Extension](https://marketplace.visualstudio.com/items?itemName=SAS.sas-lsp) version ≥ 1.14.0\n- A SAS Viya 4 deployment (2025.12 or later) for Copilot access keys - SAS Viya, SAS Viya Advanced, SAS Viya Enterprise, SAS Viya Programming\n\n## Connecting to your Viya account\n\n\u003cb\u003e If you have already setup your Viya account in the official SAS Extension, you may skip this step. \u003c/b\u003e\n\n1. Go to your official SAS Extension settings (right click the extension, select \"Settings\")\n2. Add a Connection Profile to your Viya (or edit the settings.json to add a different profile if you have multiple accounts).\n\nFor more information on this process, please refer to the [official SAS Extension's documentation](https://sassoftware.github.io/vscode-sas-extension/)\n\n## Authorizing your Viya account\n\u003cb\u003e NOTE: This step must be done by a SAS Administrator! \u003c/b\u003e\n\nIn order to authorize your account to use the Viya Copilot extension, a SAS Administrator must add you to the \"GenAI VSCode\" users group. This can be done using the SAS Environment Manager tool.\n\n1. Login to Viya, assume Administrator privileges.\n2. Go to the Applications Menu on the left hand side, select \"Manage Environment\" under Administration.\n3. On the Environment Manager screen, select \"Users and Groups\".\n4. Search for \"GenAI VSCode Users\", then click the pencil (edit) icon under \"Members\".\n5. Search for and add the desired user(s) or group(s). Click Save.\n\nYou should now be authorized to use the extension!\n\n# Running the SAS Viya Copilot Extension\n\nThe SAS Viya Copilot extension includes commands to generate code, add comments, and explain code.\n\n### Generate Code\n\nTo generate SAS code:\n\n1. Open a SAS program file, or create a new file using SAS language mode.\n2. Position the cursor in a SAS comment statement or select a comment block. SAS comments start with `/*` and end with `*/`.\n3. Click Generate code.\n   The available generated code options will be displayed as gray inline code. Users will need to choose and select the desired code from these options.\n\n\u003cimg src=\"https://github.com/sassoftware/sas-copilot/raw/HEAD/doc/images/CodeGen-SASLight-Cropped.png\" alt=\"Single Line Generate Code Example with two options\" width=\"700\"/\u003e\n\nNote: To generate code from a longer, multi-line prompt, highlight entire prompt and then select \"Generate Code\"\n\n\u003cimg src=\"https://github.com/sassoftware/sas-copilot/raw/HEAD/doc/images/CodeGen-MultiLine-SASLight-Cropped.png\" alt=\"Multi-Line Generate Code Example\" width=\"700\"/\u003e\n\n### Add Comments\n\nTo add comments to an existing block of SAS code:\n\n1. Open a SAS program file, or create a new file using SAS language mode.\n2. Select a block of SAS code and click Add comments. The selected code block is replaced with a block of commented code.\n\n\u003cimg src=\"https://github.com/sassoftware/sas-copilot/raw/HEAD/doc/images/Comments-SASLight-Cropped.png\" alt=\"Add Comments Example\" width=\"600\"/\u003e\n\n### Explain Code\n\nTo generate an explanation of a block of SAS code:\n\n1. Open a SAS program file, or create a new file using SAS language mode.\n2. Select a block of SAS code and click Explain.\n\n\u003cimg src=\"https://github.com/sassoftware/sas-copilot/raw/HEAD/doc/images/Explain-SASLight-Cropped.png\" alt=\"Explain Code Example\" width=\"400\"/\u003e\n\nThe explanation of the code block is displayed in the SAS Viya Copilot conversation pane on the left side of the application window.\n\n\u003cimg src=\"https://github.com/sassoftware/sas-copilot/raw/HEAD/doc/images/ExplainChatWindow-SASLight-Cropped.png\" alt=\"Code Explanation in Chat Window\" width=\"400\"/\u003e\n\n## Alternative Ways to Run Commands\n\n### Context Menu\n\nYou can run any of the SAS Viya Copilot commands by right-clicking a selected block of code or comments and selecting a command from the context menu.\n\n\u003cimg src=\"https://github.com/sassoftware/sas-copilot/raw/HEAD/doc/images/ContextMenu-SASLight-Cropped.png\" alt=\"Context Menu Options\" width=\"400\"/\u003e\n\n### Visual Studio Code Command Palette\n\nTo run SAS Viya Copilot commands with the Command Palette:\n\n1. Select a block of code or comments.\n2. Select View \u003e Command Palette or press Ctrl (or Command for Mac users) + Shift + P to open the Command Palette.\n3. Enter SAS Copilot in the search box to display the available commands and click the command that you want to use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassoftware%2Fsas-copilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsassoftware%2Fsas-copilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsassoftware%2Fsas-copilot/lists"}