Support for local and server profiles and actions#2341
Support for local and server profiles and actions#2341worksofliam wants to merge 13 commits intomasterfrom
Conversation
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
|
👋 A new build is available for this PR based on 4a4579b. |
…fig file and remove deprecated methods Signed-off-by: worksofliam <mrliamallan@live.co.uk>
…ig file and remove deprecated methods Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
…tion Signed-off-by: worksofliam <mrliamallan@live.co.uk>
| ProfilesConfig.validateAndCleanInPlace = (loadedConfig: ProfilesConfigFile) => { | ||
| if (loadedConfig.profiles) { | ||
| const profilesJson = loadedConfig.profiles; | ||
| // Maybe one day replace this with real schema validation |
There was a problem hiding this comment.
Side note, just FYI this can be done with https://www.npmjs.com/package/jsonschema to just use the json schema we have defined. We do this for PE and it works pretty well.
There was a problem hiding this comment.
This is something I will add later.
…or state assignment Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
|
@SanjulaGanepola Please review again.
No. This was a bug and is now solved.
Yes, this is valid for the time being. We are not going to allow profiles to be defined as part of the local workspace (this we have the |
…line profile retrieval Signed-off-by: worksofliam <mrliamallan@live.co.uk>
… error handling Signed-off-by: worksofliam <mrliamallan@live.co.uk>
… of server and workspace configurations Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
|
Drafting this to work on the bigger PR. |


Introduce functionality to manage both local (in VS Code) and server profiles, enhancing the user experience by allowing seamless access to connection profiles. Profiles created in the IFS are shared across all users on that system. Created the JSON schema for profiles and updated related commands to accommodate these changes.
/etc/.vscode/profiles.jsonin the IFS. Workspace profiles are not possible in this PR.actions.json, which can also exist in/etc/.vscode/profiles.jsonas well as VS Code settings and workspace config.How to test this PR (with actions)
.vscode/actions.jsonlocally and ensure the content assist works for the JSON schema/etc/.vscode/actions.jsonon the IFS and ensure the content assist works for the JSON schemaTodo list as of May 7th 2025
ConfigFileas the baseConfigFileneeds to also support VS Code configuration point (right now it only checks the server and the workspace, not the VS Code config)Checklist
console.logs I added