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
fix(sagemaker): Show error message when trying to connect remotely from remote workspace (aws#2158)
## Problem
When a user is connected to a remote workspace and clicks the Open
Remote Connection button, they see an error message about the Remote SSH
extension not being installed, when the real reason is that they cannot
connect remotely from a remote workspace.
## Solution
Show an error message which states clearly that they cannot connect via
deeplink when in a remote workspace.
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
---------
Co-authored-by: Newton Der <[email protected]>
Copy file name to clipboardExpand all lines: packages/core/src/awsService/sagemaker/constants.ts
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,9 @@
3
3
* SPDX-License-Identifier: Apache-2.0
4
4
*/
5
5
6
+
exportconstConnectFromRemoteWorkspaceMessage=
7
+
'Unable to establish new remote connection. Your last active VS Code window is connected to a remote workspace. To open a new SageMaker Studio connection, select your local VS Code window and try again.'
0 commit comments