Add ability to disable services detection for ports plugin
See original GitHub issueEdited according to discussions in the issue.
Is your enhancement related to a problem? Please describe.
Sometimes Ports plugin suggests to open services which are not supposed to be opened. It might be Hosted Plugin Instance or just a server from integration tests or debug port of application which Theia will consume immediately. Obviously we cannot blacklist such ports because we do not know which application is started and we cannnot not know the port range.
Describe the solution you’d like
Add ability to stop discovering of new services in ports plugin. It might be a command to turn on/off monitoring. Would be nice to have default value in preferences. Also would be useful to have ignored port ranges which also could be changed in settings.
Steps to reproduce
- Open a Theia plugin and compile it
- Try to debug the plugin using
Hosted Plugin: Debug Instance
command
Another way to reproduce the issue is to build Che in Che. A lot of suggestion will appear.
Try to debug an application. The Ports plugin will suggest to open debugger port.
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (15 by maintainers)
Top GitHub Comments
I really like the feature, it is very useful but maybe the way it is presented has the bad UX (with notifications) Why not showing up a dedicated view with all the details of ports that could be forwarded and action to forward and access to urls ? Or integrate this in the existing
my workspace
view ? it could be a status bar icon that would show (on click) all the ports that could be forwarded and urls …cc @ericwill