-
Notifications
You must be signed in to change notification settings - Fork 102
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
Support for local and server profiles and actions #2341
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: worksofliam <[email protected]>
Signed-off-by: worksofliam <[email protected]>
Signed-off-by: worksofliam <[email protected]>
👋 A new build is available for this PR based on 4a4579b. |
…fig file and remove deprecated methods Signed-off-by: worksofliam <[email protected]>
…ig file and remove deprecated methods Signed-off-by: worksofliam <[email protected]>
Signed-off-by: worksofliam <[email protected]>
…tion Signed-off-by: worksofliam <[email protected]>
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is something I will add later.
…or state assignment Signed-off-by: worksofliam <[email protected]>
Signed-off-by: worksofliam <[email protected]>
@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 <[email protected]>
… error handling Signed-off-by: worksofliam <[email protected]>
… of server and workspace configurations Signed-off-by: worksofliam <[email protected]>
Signed-off-by: worksofliam <[email protected]>
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.json
in the IFS. Workspace profiles are not possible in this PR.actions.json
, which can also exist in/etc/.vscode/profiles.json
as well as VS Code settings and workspace config.How to test this PR (with actions)
.vscode/actions.json
locally and ensure the content assist works for the JSON schema/etc/.vscode/actions.json
on the IFS and ensure the content assist works for the JSON schemaChecklist
console.log
s I added