-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ports view improvement #384
Conversation
return; | ||
} | ||
const isPortsViewExperimentEnable = vscode.workspace.getConfiguration('gitpod.experimental.portsView').get<boolean>('enabled'); | ||
vscode.commands.executeCommand('setContext', 'gitpod.portsView.visible', isPortsViewExperimentEnable); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use setContext
since config will not reflect to changes sometimes.
enabled=false
and change to true
but Ports
view not shown
Just merge this into gp-code 🛹 , this minor fixes is ok to push directly to main as the feature is still experimental |
6bd3de8
to
659daf8
Compare
@mustard-mh if you think this is ready just merge it |
I tested it in preview env, and it works well, going to merge this PR. Thank you @jeanp413 🙏 |
This PR fixes gitpod-io/gitpod#11154
Improved things
true
in insider vscodeShowNot going to do it, sincePorts
tab on startup without focusTerminal
needs to be the default selectionTry it out
notification while users are using the previousRemote Explorer
Remote Explorer
once we enabled experimental featureCHANGELOGas a part of Epic Epic: In Product Changelog - VS Code only gitpod#7537, we will continue this hereHow to Test
latest code
as IDEgitpod.experimental.portsView.enabled
tofalse
(since its default value istrue
in latest code)Remote Explorer
Ports
view will be focused after 2 secondRemote Explorer
will dismissSee also things improved above