Open clangsmith opened 1 year ago
@JosephDHenry pointed out, "Currently we need a nodejs env to be able to submit sas code. This is only available on “local” and “remote” extension hosts." See https://code.visualstudio.com/api/advanced-topics/extension-host for more details on the possible extension host configurations.
So to be clear, we should NOT say "Submitting code is not supported on vscode.dev". If user connect to a remote from vscode.dev (Codespaces or Tunnel), they can still submit code.
Is your feature request related to a problem? Please describe. The extension is available in vscode.dev and the syntax features (color coding, syntax suggestion, autocompletion) appear to work just fine. You just can’t connect to SAS servers to submit the code. The Run commands are not available (in command palette, context menu, nor running man icon on toolbar), which is good. However, the user may not understand why they cannot submit code here. We should at least document, if not provide a better user experience to let them know.
Additionally, if you try to run any of the other SAS extension commands (ex. add or update a profile, from the command palette), you get an error which says the command is not found:
SAS extension commands on the command palette:
Describe the solution you'd like Document in the README any limitations of using the extension in vscode.dev. If possible, gracefully handle the unavailability of the commands by providing user-friendly messages, or hide the additional unavailable commands.
Describe alternatives you've considered Just hide the commands/features that don't work in vscode.dev, though users may still be stuck wondering why.