CodeEditApp/CodeEdit

✨ Snippets

austincondiff opened this issue · 0 comments

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