Skip to content

✨ Snippets #1623

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

Open
austincondiff opened this issue Mar 14, 2024 · 0 comments
Open

✨ Snippets #1623

austincondiff opened this issue Mar 14, 2024 · 0 comments
Labels
enhancement New feature or request extensions Issues related to the extension architecture in CodeEdit snippets toolbar

Comments

@austincondiff
Copy link
Collaborator

austincondiff commented Mar 14, 2024

Description

Users should be able to make and insert code snippets to insert into their open file at the current cursor position.

Snippets should be able to support wildcards.

Snippets should have a completion, so when a set of characters are typed within a given scope, it will suggest the snippet without having to open the Snippets overlay.

Additionally, extensions should be able to add snippets.

We might include this in a larger library feature at a later point in time.

The snippets/library overlay could be accessed by a keyboard shortcut and/or a plus icon button in the toolbar.

Note

There may require additional functionality to be build into CodeEditSourceEditor to support some of this, so we may need to do some of this after this is done.

Blockers

  • CodeEditSourceEditor completion service and menu
  • CodeEditSourceEditor wildcard support

Screenshots

Screenshot 2024-03-14 at 2 34 06 PM image Screenshot 2024-03-14 at 2 36 13 PM
@austincondiff austincondiff added the enhancement New feature or request label Mar 14, 2024
@github-actions github-actions bot added extensions Issues related to the extension architecture in CodeEdit toolbar triage needed labels Mar 14, 2024
@austincondiff austincondiff moved this from 🆕 New to 📋 Todo in CodeEdit Project Mar 14, 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 extensions Issues related to the extension architecture in CodeEdit snippets toolbar
Projects
Status: 📋 Todo
Development

No branches or pull requests

1 participant