There could be an option from the system tray icon to add a server to Visual Studio Code. When clicked, it could add the selected server to the InterSystems Server Manager extension of Code by editing the "intersystems.servers" node of settings.json for the Code instance.
When we add a server to the list under Preferred Server there, we are already entering a server name, IP address, web server port, CSP Server Instance, and comment. Those would be used for the name of the server, host, port, pathPrefix, and description respectively in settings.json.
Alternatively, an option could be added into the Code extension to look at what servers are configured in that list on the system tray and add them automatically.
This would eliminate having to enter the same data in multiple places, and would make setup a little bit easier and faster.
Thank you for submitting the idea. The status has been changed to "Future consideration".
Stay tuned!