CodeEditApp / CodeEditApp/CodeEdit

✨ Snippets

Open
#1,623 0 comments 0 reactions 0 assignees View on GitHub
enhancement extensions snippets toolbar
Dominant language
Swift
Stars
23k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.