Skip to content
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

Auto-complete secret references inline #170

Open
jodyheavener opened this issue Sep 21, 2023 · 0 comments · May be fixed by #180
Open

Auto-complete secret references inline #170

jodyheavener opened this issue Sep 21, 2023 · 0 comments · May be fixed by #180
Labels
enhancement New feature or request

Comments

@jodyheavener
Copy link
Member

Summary

As of last year there is an API to provide auto-complete suggestions as the user types. It would be cool to provide some degree of auto-completion when a user is typing a secret reference syntax.

Use cases

Rather than having to manually run the "Get from 1Password" command and choose both the item name and field label the user could start typing op:// and as you type to narrow an item and field the auto-complete is auto-updated.

Proposed solution

Use the InlineCompletions API to implement completions: microsoft/vscode-discussions#26

This will require looking up and storing a list of items. Security implications should be considered as vault names should not be stored in plain text.

Is there a workaround to accomplish this today?

Currently the "Get from 1Password" command is how you get items secret references into a document.

@jodyheavener jodyheavener added the enhancement New feature or request label Sep 21, 2023
@jodyheavener jodyheavener added the hacktoberfest This issue is open to submissions from Hacktoberfest participants label Oct 3, 2023
@jodyheavener jodyheavener removed the hacktoberfest This issue is open to submissions from Hacktoberfest participants label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant