GithubHelp home page GithubHelp logo

sassoftware / vscode-sas-extension Goto Github PK

View Code? Open in Web Editor NEW
99.0 19.0 41.0 12.91 MB

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.

License: Apache License 2.0

TypeScript 98.63% SAS 0.47% JavaScript 0.74% CSS 0.08% Jupyter Notebook 0.07%

vscode-sas-extension's Introduction

SAS Extension for Visual Studio Code

Welcome to the SAS Extension for Visual Studio Code! This extension provides support for the SAS language, including the following features:

Installation

Install latest VS Code (version 1.82 at minimum). To install the SAS extension, open the Extensions view by clicking the Extensions icon in the Activity Bar on the left side of the Visual Studio Code window. Search for the 'Official' SAS extension, and click the Install button. Once the installation is complete, the Install button changes to the Manage button.

Features

SAS Syntax Highlighting

The SAS extension highlights these syntax elements in your program, just as they would appear in a SAS editor:

  • Global statements
  • SAS procedures
  • SAS procedure statements
  • Data step definition
  • Data step statements
  • SAS data sets
  • Macro definition
  • Macro statements
  • Functions
  • CALL routines
  • Formats and informats
  • Macro variables
  • SAS colors
  • Style elements and style attributes
  • Comment
  • Various constants
  • Options, enumerated option values, sub-options and sub-option values for various procedure definitions and statements

Color Themes

You can choose among three SAS-related color themes that control the color of the application and syntax elements. The SAS Light, SAS Dark and SAS High Contrast options mirror the themes available in SAS Studio.

To specify the color theme:

  • Select File > Preferences > Color Theme and select the theme, by name. The image below demonstrates the process changing from SAS Light to SAS Dark.

Code Completion

The SAS extension includes automatic code completion and pop-up syntax help for SAS keywords. The autocomplete, or code completion, feature in the code editor can predict the next word that you want to enter in your SAS program. See code completion in action below.

To use the autocomplete feature:

  • Start typing a valid SAS keyboard. Scroll through the pop-up list of suggested keywords by using your mouse or the up and down arrow keys.

Pop-up Syntax Help

The syntax help gets you started with a hint about the syntax or a brief description of the keyword. You can get additional help by clicking the links in the syntax help window.

To view the syntax help:

  • Move the mouse pointer over a valid SAS keyword in the code.

In the following example, the help panel displays syntax help for the DATA= option in the PROC PRINT statement.

Tip: Click the links in the syntax help window to navigate to the SAS online help.

Snippets

Snippets are lines of commonly used code or text that you can insert into your program. The SAS extension includes snippets for SAS functions and procedures to facilitate writing your SAS programs.

To access the list of snippets for a function or procedure:

  • Type the name of a function or procedure in your SAS program. This example shows a snippet for the PROC DS2.

Code Folding and Code Outline

Regions of code are identified in your SAS program as blocks of code that can be collapsed and expanded. You can also view an outline of your program that identifies DATA steps, procedures, macro sections, and user-defined regions of code.

Tip: You can define a custom region by adding /*region*/ and /*endregion*/ tags to the start and end of the block of code.

Configuring the SAS Extension

Before running SAS code, you must configure the SAS extension to access a SAS 9.4 (remote or local) or Viya server. You must license SAS 9.4 or Viya to run SAS code.

  1. When first configuring, open up a file with the SAS language. "No Profile" can be located on the Status Bar located at the bottom left of your VSCode window

    No Active Profiles Found

  2. Either select the "No Profile" Status Bar Item or open the command palette (F1, or Ctrl+Shift+P on Windows or Linux, or Shift+CMD+P on OSX) and locate SAS: Add New Connection Profile

  3. Please refer to the Add SAS Connection Profile section below to add a profile

  4. After a profile is created, the Status Bar Item will be changed from "No Profile" to the name of the new profile.

    Status Bar Profile

  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.

Profiles

Profiles are easy ways to switch between multiple SAS deployments. For Viya connections, multiple Viya profiles can be used to switch between compute contexts. There is no limit to the amount of profiles that can be stored.

Profiles will be stored into the VSCode settings.json file, and can be modified by hand, if needed.

The following commands are supported for profiles:

Command Title
SAS.addProfile SAS: Add New Connection Profile
SAS.switchProfile SAS: Switch Current Connection profile
SAS.updateProfile SAS: Update Connection profile
SAS.deleteProfile SAS: Delete Connection profile

Details on creating and managing profiles is available on the Connect and Run page.

Running SAS Code

After configuring the SAS extension for your SAS environment, run your SAS program and view the log and results.

Details on running code is available on the Connect and Run page.

Accessing SAS Content

After configuring the SAS extension for a SAS Viya environment, you will be able to access SAS Content.

To access SAS Content:

  1. Click the SAS icon in VSCode's activity bar.
  2. Click Sign In.
  3. Your SAS Content should be displayed after sign in. From here, you are able to create, edit, delete, and run files stored on a SAS server.

Notes:

  • SAS Content requires a profile with a connection to a Viya instance.

Accessing Libraries and Tables

After configuring the SAS extension for a SAS Viya environment, you will be able to access your connected libraries.

You can use the libraries pane to delete a table, drag and drop tables into your SAS program code, or view a sample of the table data.

SAS Notebook

Notebook is an interactive experience with Markdown, executable code snippets and corresponding rich outputs organized in cells.

  • To create a SAS notebook, select SAS Notebook from the New File... menu.
  • To change a code language, click the Select Cell Language Mode button at the bottom end of a code cell.
  • To toggle log or ODS output display, click ... at the side of the output and select Change Presentation.
  • SAS Notebook can be saved to a .sasnb file, shared to others, and open in another VS Code window.

SAS Log

Its possible to customize when the SAS log gets shown in the bottom panel by using the following extension settings. These settings will apply to all connection profiles:

Name Description Additional Notes
SAS.log.showOnExecutionStart Show SAS log on start of execution default: true
SAS.log.showOnExecutionFinish Show SAS log on end of execution default: true

To see an example, please refer to the Viya4 example profile.

Support

SAS Communities

Ask, Find, and Share on the VS Code SAS Extension on the SAS Programmers Community site.

SAS Programming Documentation

SAS Programming documentation

FAQs

Please check the FAQ page for some common questions.

GitHub Issues

See the SUPPORT.md file for information on how to open an issue against this repository.

Contributing to the SAS Extension

We welcome your contributions! Please read CONTRIBUTING.md for details on how to submit contributions to this project.

License

This project is subject to the Apache License Version 2.0, a copy of which is included as LICENSE

vscode-sas-extension's People

Contributors

2tomli avatar bitaoz avatar boyce-w avatar clangsmith avatar criptic avatar dependabot[bot] avatar dfxvir avatar elypke avatar engmtcdrm avatar jbodart-argenx avatar jefurbee avatar jingjiajie avatar josephdhenry avatar jpreece avatar lrocc avatar masayukiiizuka avatar mattschleder avatar meilanji avatar ouhanyou avatar sahbic avatar scnjdl avatar scnnaw avatar scnwwu avatar scottdover avatar shuguangsun avatar smorrisj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vscode-sas-extension's Issues

Provide an option to allow user to control the default placement of Results

Is your feature request related to a problem? Please describe.
There is one thing some user has been trying to do: To get the results to appear in the SAME tab group as the code.

Describe the solution you'd like
Provide a setting to allow the result output tab to show up in the same tab group with the code tab

Describe alternatives you've considered

Additional context

777376a7-c8b5-49a3-a6a8-c505ef3b9839

Can not able to connect to SAS Viya to submit job

I have a client id and client password for authentication. I used to get auth code and access token. i have been using the same in VS Code editor settings for SAS Viya URL , client id , client password and token file saved on my mac desktop.

Attached screen shot

Below is the error message
vscode

{"service":"compute","detail":{"status":0,"statusText":

Run some code, error happened unexpectedly.

Describe the bug

Launch VSC, run some code, error happened unexpectedly.

Environment details:

Build Version: 0.0.7

Application Locale: en_US
Application Language: English

Steps To Reproduce:

Step:
Open VSC

  1. Create a new SAS file
  2. Type the code below
    proc print data=maps.africa;
  3. Run the code

Current behavior:

It got error to run the code

Expected behavior:

No error

Screenshots

image

How to enable syntax highlighting?

Hello
really silly question:
I installed the extension, but nothing happened. The .sas programs are not recognised, the syntax highlighting doesnt work, no snippets, no autocompletion. I restarted vscode, no effect. What am I doing wrong?

Version: 1.67.1
Commit: da15b6fd3ef856477bf6f4fb29ba1b7af717770d
Date: 2022-05-06T12:37:03.389Z
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Windows_NT x64 10.0.19044

IML: specific function highlighting

Is your feature request related to a problem? Please describe.
IML need to provide a list of functions that should be highlighted specifically for IML

Attached I have a list IML functions that I would like to be highlighted.

It’s a simple text file with each line having a function name. Hope that’s helpful?

imlfuncs.txt

Ref:[NOVACOMMONS-14643]

Job running for longer than 60 seconds results in an error.

Currently code that takes longer than 60 seconds results in an error in vscode, but the SAS code will continue to run.
The extension should allow for executions of longer than 60 seconds.

This is code that will show the error.

data _null_; n=0; do while (n<62); put n=; x=sleep(1,1); n+1; end; run;

Access to Tables/Views/Data/Libraries

It would be awesome if we could get support for accessing libraries and dat in VSC. Only being able to see data via proc print is not viable in a development environment.

Format SAS code

The Syntax Highlighting and Pop-up Syntax are very great and usefull.
I wonder if there is the functinality of formating SAS code like the SAS EG or SAS Studio.

Support function context prompt

Is your feature request related to a problem? Please describe.

As a user, I'd like to be prompted with parameter information when writing function calls.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Add default keyboard shortcuts for Run and Run Selected code commands

I (and I'm sure others that utilize keyboard shortcuts) like having a default keyboard shortcut for running SAS code, similar to the ones that exist in other SAS programming IDEs. Adding this issue to track adding default keyboard shortcuts for these two actions.

Details:
Other SAS programming IDEs (DMS, EG, SAS Studio) typically use F3 and/or F8 as the default shortcut keys for submitting code. For example, I confirmed the behavior in the following client versions...

EG 8.3: F3 = Run selected code, F8 = Run all code
SAS Studio 2022.11 (on Viya 4): F3 = Run selected code, F8 = Run all code
DMS 9.4M7: F3 = F8 = Run selected code
(In all three cases, the "Run selected code" runs all the code if there is no selection, which is expected.)

I am debating between the two default keyboard shortcuts below:

1. F8 = Run selected code, Shift+F8 = Run all code
Pros: Does not override F3, which is already (and commonly) used for Find Next. Cons: Not consistent with other popular SAS IDEs.
2. F3 = Run selected code, F8 = Run all code
Pros: Consistent with other popular SAS IDEs. Cons: Overrides F3, which is already (and commonly) used for Find Next. However, Ctrl+F3 or Ctrl+F in combination with Enter will serve essentially the same purpose.

I'm leaning toward option 2.

UPDATE: Option 2 is the route we implemented. We also changed the default run behavior (when you click the running man icon on the toolbar) to "Run Selected or All SAS Code" (run the selected code if there is a selection, otherwise run all the code) to be consistent with other SAS IDEs.

Comments of type "* ... ;" not registering after macro call

In this example:

%run_this_macro() *comment that doesn't get highlighted;

the comment doesn't get highlighted. Also, quotes in comments of this type sometimes aren't masked (i.e. the "t get highlighted" in the example above will be highlighted as a string, as well as following characters) -- I haven't been able to tell when exactly this happens, though.

The comment is highlighted properly if a semicolon is added, as in

%run_this_macro(); *this gets highlighted;

Since the semicolon is not necessary after macro calls in SAS, I believe these comments should be highlighted independent of whether a semicolon is used or not.

Add support for PROC SQL code highlighting.

PROC SQL code is highlighted only at first statement like create table or select, but from, where etc. won't highlight. Now it's working like SAS code, so it will highlight statement after semi-column, but SQL code uses semi-column to differentiate queries. Furthermore, snippet for PROC SQL pasting wrong code with semi-columns before from and where.

Like this:

proc sql;
   select ;
   from ;
   where ;
run;

Generic Suggestions disappear.

After enabling extension, when I type something that is known to Intellisense, (path, variable or anything really), only sas suggestions comes up.

If you are not an authorized user under the End User Agreement, you may not download the Code.

Firstly - congrats and thankyou for building this extension! It has immense value for SAS Developers who prefer VS Code.

Just one small (actually, massive) issue. The licence is extremely restrictive. As it stands, per the terms of use, I myself am not allowed to download it!

Beyond licencing issues from usage, there is also no scope for third party developers to build on the great work that has been done (eg to embed the language server in other IDEs).

Any plans for more permissive licensing?

Fix inconsistent code formatting

I've noticed some inconsistencies (or lack of guidelines) in the extension code that I'd like to discuss. These inconsistencies can make it a challenge for contributors to know which pattern to follow, which can result in more churn in code review. Here are a few examples:

Code inconsistencies

Inconsistent brackets. See https://github.com/sassoftware/vscode-sas-extension/blob/main/client/src/components/profile.ts#L99-L101 and https://github.com/sassoftware/vscode-sas-extension/blob/main/client/src/session/rest/index.ts#L92-L93. We could make use of https://eslint.org/docs/latest/rules/curly to enforce this

Inconsistent object access. @smorrisj has a draft PR in place to address this inconsistency: #47

I'm hoping to use this issue to come up with the ideal lint configuration for this project. A draft PR has been created to address any remaining eslint configuration changes: #49

No guideline for changelog

In a previous commit, our changelog was updated to better reflect the guidelines at https://keepachangelog.com/en/1.0.0/ . Should we follow these guidelines moving forward? And, if so, should we update previously released versions of the code to better match the guidelines?

No error? No results either

I have installed the extension and configured it to point to my Viya 4 endpoint (https protocol) and authenticate via an access token as per the link in the FAQ.

I have added the Viya CA certificate to my trust store.

When I run

data public.cars2;
set public.cars;
mpg=(mpg_highway + mpg_city) / 2;
run;

I get an error (I think), but there is no message. The vscode popup has the red "error" icon followed by {} and Source: SAS (Extension). That's all.

Where can I look for more information? Which pod(s) should be responding? I'd like to take a look through the logs to see if there are any clues.

Cheers!

connection error

When I submit sas code, got the below error.
{"service":"compute","detail":{"status":0,"statusText":"Invalid character in header content ["Authorization"]","detail":" ","error":true}}

What's wrong with me?

IML: Jumping to matching begin/end

Is your feature request related to a problem? Please describe.
Jumping to matching begin/end. this seems like a wider scope than just IML

Support for TextMate scopes

Is your feature request related to a problem? Please describe.

(Apologies if my terminology is wrong I don't 100% understand this)
It looks like this extension currently only provides semantic tokens via a language server (I think). However not all themes support semantic tokens. For example the Hop Light and Light High Contrast themes appear to only work with TextMate scopes. This results in no syntax highlighting if using these themes:
image

Describe the solution you'd like
The extension should provide TextMate scopes so all themes can provide syntax highlighting to SAS programs.

Describe alternatives you've considered
At the moment if I want to keep my existing theme I have to load an unofficial SAS extension to get syntax highlighting :(

command 'SAS.addProfile' not found

I've successfully added the extension to my VSC and it seems to work. When I press F1 and go to SAS: Add New Connection Profile I get the following message:

Command 'SAS: Add New Connection Profile' resulted in an error (command 'SAS.addProfile' not found)

So, I can't set up a connection. When I edit the json file manually with the information provided by my Viya admin, that still does not address the problem - I never see the running man to get a SAS Submit button.

This is VSC 1.72.2 on a Mac, which I am assuming adds to the level of difficulty.

edit: I am a SAS employee

Support for Remote SAS 9.4

Is your feature request related to a problem? Please describe.

My company/department currently has licensed SAS9.4. We work on a server that we SSH into and then use the terminal sas command to run programs. This extension doesn't appear to currently have any support for this way of working. Current work around is just to open a sas interactive session via sas --nodms and have a keyboard shortcut for submitting commands to the terminal however it would be great if this way of working + sas9.4 could have formal support.

Describe the solution you'd like
Integration with local sas + sas9.4.

honor Caps Lock status when autocompleting

I'm oldschool and like to write SAS code in ALL CAPS.

Can the autocomplete abide by this? If the user has Caps Lock on, autocompleted code should be entered in ALL CAPS.

IML: Highlighting within SOURCE/ENDSOURCE

Is your feature request related to a problem? Please describe.
I was playing around with IML code to see which IML keywords are not being recognized and was pleasantly surprised that the recognition does seem to happen if the code is enclosed in PROC IML! I was working with code written for CAS which does not have PROC IML but instead is included with source/endsource in PROC CAS.

Here's an example of that where the keywords “start” and “finish” are recognized when the code is enclosed in PROC IML and otherwise not.

Is this expected behavior? Is the SAS extension written to look for PROC IML and apply the IML grammar? Within PROC CAS, is it programmed to only recognize CASL grammar? Also, I was wondering if there is way to jump from “start” to the matching “finish”? Same thing with jumping from ”do” to “done”?

proc cas;

source pgm;

/----COLVEC------------------------------------------------/

start colvec( x );

 if ncol <= 1 then return ;

 return (shape(x, 0, 1));

finish;

endsource;

quit;

proc iml;

/----COLVEC------------------------------------------------/

start colvec( x );

 if ncol <= 1 then return ;

 return (shape(x, 0, 1));

finish;

quit;

thanks,

Vino
Ref :[NOVACOMMONS-14645]

Add Support for Local SAS

Idea or Feature Request.

The execution environment is currently only available to Viya, which is logical because that is the future.

I was wondering of SAS9 also could be used as execution environment.
SAS9 is still used by the majority of the SAS customers.
Would that be a big change?

Imagine Code is running on "localhost", where SAS Foundation is also installed. my 2 cents.
Ad

Support SAS content navigation

Is your feature request related to a problem? Please describe.
At the moment, we're unable to browse SAS Content

Describe the solution you'd like
Consumers should be able to browse SAS content

Describe alternatives you've considered
n/a

Additional context
n/a

Include Dependabot to automate dependency management

Is your feature request related to a problem? Please describe.
In the short term no, but as the project lives on dependency management will become important both from a security and a quality standpoint.

Describe the solution you'd like
I'd like to propose that we integrate dependabot into the repo to lessen the burden of keeping third party dependencies up to date. Ideally it would create pull requests with the changes so that they could be verified using the usual review processes.

Describe alternatives you've considered
Manually checking and updating by manually making changes to the package json. That is feasible but it seems that the alternative above would automatically check and propose the updates. That would allow maintainers to focus efforts on reviewing the changes that are proposed.

Additional context
Integrating dependabot

Environment
n/a

Outline does not capture steps within macro definitions

Any steps written within a macro definition do not appear in the Outline. Since macros are a way to group and reuse steps, it would be nice if the outline could show steps and macros within a macro definition.

To replicate, place the following code in a new SAS script:

data work.class;
    set sashelp.class;
run;

proc sort data=work.class;
    by age;
run;

%macro foo();
    data work.class;
        set sashelp.class;
    run;
    
    proc sort data=work.class;
        by age;
    run;
%mend;

The Outline looks like this:

image

It would be great if it could look something like this (mocked up in paint):

image

I am using v0.0.4 of the extension.

User snippets filename is case sensitive?

hello
at first user snippets were not working (no intellisense).
My sas programs have an extension ".sas" but the user snippet file was named "SAS.json". After renaming it to "sas.json", the user snippets appear and work as expected.

Unsure whether it is a bug, but to me this is unexpected behaviour. The filename of the user snippet file should not be case-sensitive.

Version: 1.68.1
Commit: 30d9c6cd9483b2cc586687151bcbcd635f373630
Date: 2022-06-14T12:48:58.283Z
Electron: 17.4.7
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Windows_NT x64 10.0.19044

Name literal not supporting syntax highlighting

When researching the semantic token highlighting I ran into an issue with the the name literal not highlighting. I verified that in the Lexer.js that the namelit was checking at the end of a string for an n/N. The other semantic tokens that support line ending strings such as date (d), datetime (dt), time (t) , hex (h), and bitmask (b) are working.

Here were three examples that I was able to run against the current SAS Themes:

data foo.'My Table'n;

input 'Amount Budgeted'n 'Amount Spent'n 
      'Amount Difference'n;
      
data testlexer;
	label dt_date= '20NOV15'd;
	label dt_time= '10:10:10't;
	label dt_datetime= '20NOV1510:10:10'dt;
	label hex= '234CD'x;
	label bitmask= '01010101'b;
	label namelit= 'Name'n;	

To workaround and issue with SAS Themes using namebit as a semanticToken versus the appropriate namelit, I added a custom configuration in the ~/.vscode/settings.json of my vscode instance:

  "editor.semanticTokenColorCustomizations": {
    "[SAS Light]": {
      "enabled": true,
      "rules": {
        "namelit": "#ff0000",
      }
    },
    "[SAS Dark]": {
      "enabled": true,
      "rules": {
        "namelit": "#ff0000",
      }
    },
    "[SAS High Contrast]": {
      "enabled": true,
      "rules": {
        "namelit": "#ff0000",
      }
    }
  }

Macro doesn't end if no semicolon before %MEND

Describe the bug
Write

%macro;
    %aaa
%mend;

The %MEND here is not treated as macro ending. The folding region will unexpectedly extend to following lines.

Expected behavior
Macro call doesn't require semicolon to end. So this is a valid code and %MEND should end the macro.

Environment (please complete the following information):
Extension version: [v0.1.1]

Ref: [NC-14811]

less aggressive display of autocomplete popups

A few examples where the popups are unwanted and hinder productivity:

image
Mathematical functions are irrelevant here.

image
Here I have existing code and am using the spacebar to adjust the alignment to match the next line. The popup covers the next line.

Unable to submit code when there is a period in the profile name

If you create a profile with a period in the name, you will not be able to submit code using that profile. Rather, when you attempt to run the code, you will get an error toast with the message:
"Cannot read properties of undefined (reading 'endpoint')"

You will still be able to submit code using other profiles that do not contain a period in the name. Also, as soon as you remove the period from the profile name, you will be able to submit code using that profile again.

Support stream result file

Reported by Xavier Bizoux

My idea as a developer is that I would be able to connect and execute SAS code using the extension and then use another programming language to process the result. Having a content navigation would be nice but that implies that you are saving the result of your SAS execution on the SAS Content Server (which may result in a server cluttered with temporary files) and then need to download it.

My idea is more to be able to stream the file to VSCode and save it there on the client machine. When we are using SAS Job Execution or Stored processes in SAS 9, it was possible to direct the output to a _webout fileref. That fileref is designed for web usage and streams the result file to the client. You can use it to stream JSON, CSV files but also HTML, pdf, …

The extension should only be able to receive the stream and display it. The user can then decide to save the file locally and process it further with another language for example.

The steps for the user would be:

  • Connect to the SAS environment
  • Start a compute server session
  • Execute data and proc steps
  • Execute proc json out=_webout pretty nosastags; export some.table; run; or proc export
  • Receive the resulting stream in VSCode
  • Display the stream based on mime-type
  • Save the file on disk
  • Use the file in Excel or as input for programs written in Python or R or any other language directly from VSCode

Visual Studio Code Editor on Mac : blank error message when trying to log in.

I run my VSC editor on a Mac and within the SAS network. I have tried this with both existing as well as newly generated client id/secrets.

After entering client-id, client-secret, user, and host on the Settings file, I try to run a SAS code on my editor.

I get the following error message (bottom right of screen) that is blank, but with a red x indicating an error somewhere.

The host machine is reachable from my editor environment (curl / kubectl)

Screenshot 2022-05-17 at 3 32 40 PM

Submit selection

Hello
Thanks for delivering SAS support inside VSC.
Is there any command/keybinding for submitting editor selection (not whole editor) ?

Regards
J.Pulpan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.