Skip to content

Conversation

@AkatQuas
Copy link
Contributor

@AkatQuas AkatQuas commented Mar 1, 2022

This PR fixes # none

When editing <any>.code-workspace file, the completion { "path": ""} is kind of not so convenience.

Before

before

The situation is eased using defaultSnippets which supports tabstops.

After

after

items: {
type: 'object',
default: { path: '' },
defaultSnippets: [{ description: 'Path to folder', body: { path: '$1' } }],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Path to folder would have to be localized (nls.localize(..)
Or just remove it, I don't think it adds much value.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me. I'll just remove it.

@aeschli aeschli added this to the March 2022 milestone Mar 1, 2022
@aeschli aeschli added json JSON support issues feature-request Request for new features or functionality labels Mar 1, 2022
@aeschli aeschli merged commit 340cff1 into microsoft:main Mar 1, 2022
@aeschli
Copy link
Contributor

aeschli commented Mar 1, 2022

Thanks @AkatQuas !

@AkatQuas AkatQuas deleted the feat/workspace-snippt branch March 12, 2022 08:31
@github-actions github-actions bot locked and limited conversation to collaborators Apr 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature-request Request for new features or functionality json JSON support issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants