|
70 | 70 | <div id="custom-snippets-add-new" class="custom-snippets-add-new hidden"> |
71 | 71 | <div class="form-row"> |
72 | 72 | <div id="abbr-box-wrapper"> |
73 | | - <label for="abbr-box">Abbreviation: </label> |
| 73 | + <label for="abbr-box" |
| 74 | + title="Enter a short abbreviation (e.g., 'clg', 'fn', 'div'). This is what you'll type to trigger the snippet." |
| 75 | + data-placement="top"> |
| 76 | + Abbreviation: |
| 77 | + </label> |
74 | 78 | <input id="abbr-box" type="text" placeholder="clg" autocomplete="off" /> |
75 | 79 | </div> |
76 | 80 |
|
77 | 81 | <div id="desc-box-wrapper"> |
78 | | - <label for="desc-box">Description: </label> |
| 82 | + <label for="desc-box" |
| 83 | + title="Brief description of what this snippet does (e.g., 'console log shortcut', 'function template')." |
| 84 | + data-placement="top"> |
| 85 | + Description: |
| 86 | + </label> |
79 | 87 | <input id="desc-box" type="text" placeholder="console log shortcut" autocomplete="off" /> |
80 | 88 | </div> |
81 | 89 | </div> |
82 | 90 |
|
83 | 91 | <div id="template-text-box-wrapper"> |
84 | | - <label for="template-text-box">Template Text: </label> |
85 | | - <textarea id="template-text-box" placeholder="console.log();" autocomplete="off"></textarea> |
| 92 | + <label for="template-text-box" |
| 93 | + title="The actual code that will be inserted. Use ${cursor} to set cursor position after insertion." |
| 94 | + data-placement="top"> |
| 95 | + Template Text: |
| 96 | + </label> |
| 97 | + <textarea id="template-text-box" placeholder="console.log(${cursor});" autocomplete="off"></textarea> |
86 | 98 | </div> |
87 | 99 |
|
88 | 100 | <div id="file-extn-box-wrapper"> |
89 | | - <label for="file-extn-box">File Extension: </label> |
| 101 | + <label for="file-extn-box" |
| 102 | + title="Specify file types where this snippet should be available (e.g., '.js', '.html', '.css') or 'all' for all files." |
| 103 | + data-placement="top"> |
| 104 | + File Extension: |
| 105 | + </label> |
90 | 106 | <input id="file-extn-box" type="text" placeholder=".js, .html or all" autocomplete="off" /> |
91 | 107 | </div> |
92 | 108 |
|
|
0 commit comments