Skip to content

Commit f5ff674

Browse files
committed
refactor: remove filler words from custom snippets docs
1 parent 207ac1e commit f5ff674

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/08-Features/02-custom-snippets.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You can also specify which file types each snippet should work with, so they app
1313

1414
Additionally, you can define the cursor position within a snippet. After expansion, **Phoenix Code** automatically places your cursor exactly where you want it, allowing you to start typing right away.
1515

16-
The snippets you define are available globally, so you don’t need to recreate them for every folder. This helps you write code faster and stay consistent across projects.
16+
The snippets you define are available globally, so you don’t need to recreate them for every folder.
1717

1818
> **Note**: Custom Snippets have the highest priority and will appear above all other code hints.
1919
@@ -95,12 +95,11 @@ This will immediately delete the snippet.
9595

9696
### Filter Snippets
9797
When you have a large collection of snippets, the **Filter** feature helps you quickly narrow down the list.
98-
You’ll find it on the right side of the snippets panel header.
98+
You’ll find it on the top-right side of the snippets panel.
9999

100100
![Filter Snippet](./images/CustomSnippets/filter-snippet.png "Filter Snippet")
101101

102102
You can filter the list by any value, such as **Abbreviation**, **Description**, **File Extension**, or **Template Text**.
103-
It can filter your results quickly and accurately.
104103

105104
<VideoPlayer
106105
src="https://docs-images.phcode.dev/videos/custom-snippets/filter-snippets.mp4"
@@ -110,7 +109,7 @@ It can filter your results quickly and accurately.
110109

111110
### Snippet Cursor Position
112111

113-
**Phoenix Code** snippets feature is very powerful. It also allows you to define **cursor positions** within a snippet to make editing even faster.
112+
**Phoenix Code** custom snippets also allows you to define **cursor positions** within a snippet to make editing even faster.
114113
By adding numbered cursor placeholders, you can jump between key points in the expanded snippet using the `Tab` key.
115114

116115
#### How It Works
@@ -145,6 +144,6 @@ Yes. **Phoenix Code** sets some limits for certain fields. The **Abbreviation**
145144
**Phoenix Code** does not allow adding two snippets with the same abbreviation.
146145
However, abbreviations are *case-sensitive*, so variations like `log` and `LOG` are treated as different snippets.
147146

148-
#### Q. Do I need to type the full abbreviation for the code hint to appear?
149-
Yes. The code hint appears only when you type the *complete abbreviation*.
147+
#### Q. Do I need to type the full abbreviation for the snippet hint to appear?
148+
Yes. The snippet hint appears only when you type the *complete abbreviation*.
150149
This is an intentional UX decision, since custom snippets have the highest priority, showing hints for partial abbreviations could clutter suggestions and hide default hints.

0 commit comments

Comments
 (0)