DocsProForms
Forms
ProWhen a snippet contains @input(), // opens a small form and a live preview, then inserts the finished text.
//outreach
Hi Name, I saw that Company is opening in City. Want a hand with the launch? I can be in City next week.
//outreach
Add @input('Label') where the text should change each time. Insert the snippet as usual with //. Instead of writing the template into the field, SlashNijo opens a form next to the menu.
//follow
Hi @input('Name'), saw @input('Company') is opening a new team. Open to a short call this week?Fill it in
- One field per label, in the order they appear.
- The preview updates as you type. The current field is marked in the preview.
- A default from
@input('Name', 'Sam')is the starting value. - The same label used twice is one field. The answer is reused in both places.
- An
@input()with no label is its own field.
Keys in the form
- Tab moves to the next field. Shift+Tab moves back.
- Enter inserts the finished text.
- Esc cancels. The
//shortcut stays in the field, and the caret goes back to it. - A click outside the form cancels too. With the form open, a click in the original field also cancels, so the caret does not move under an insert that will not happen.
The hint under the form is: Tab next · Enter insert · Esc cancel. @dateNow(), @url(), @domain(), and @random() are filled when the preview is built. They are not extra fields.
Write it once. Type // forever.
Install the extension. The same shortcuts work in every tab.