✨ Snippets
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
The issue names CodeEditSourceEditor completion service and menu, plus wildcard support, as blockers, but gives no implementation files or tests. Start by reading those CodeEditSourceEditor areas and clarify the scope of the snippet library, insertion, completion, wildcard, and extension APIs. Done means the listed snippet creation, cursor insertion, scoped completion, wildcard, extension, and overlay behavior works.
Written by the indexing model from the issue text.
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
- Dominant language
- Swift
- Stars
- 23.1k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeEditApp/CodeEdit
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CodeEditApp/CodeEdit#2190 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
CodeEditApp/CodeEdit#2195 · 12 reactions ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
CodeEditApp/CodeEdit#2185 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
CodeEditApp/CodeEdit#2181 ·
-
creashes on startingOpenbug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
CodeEditApp/CodeEdit#2180 ·
All issues in CodeEditApp/CodeEdit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
vorssaint/vorssaint-utils#2481 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 1 day
-
area: build-and-ci bug difficulty:1 good first issue help wanted S3: minor
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
manaflow-ai/cmux#16193 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100