CodeEditApp / CodeEditApp/CodeEdit

✨ Snippets

未關閉
#1,623 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement extensions snippets toolbar
主要語言
Swift
星號
23k
分支
1.2k
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。