Define and use custom code snippet like in vscode #2320
Labels
conclusion: off topic
Off topic for this repository
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Describe the request
Code snippet is a feature in vscode, that allows user to create template code by typing defined texts, ex:
#endregion
becomes#pragma endregion
.The request is allowing user to define their own snippet in a JSON file, such as
lcdInit
creates three lines of code initializing LCD (just like vscode).So, I hope I can:
This feature would be useful when writing some repeated code with certain template
Describe the current behavior
I couldn't find such setting in the command palette or setting, but in vscode, it can be found in command palette, so I think this feature doesn't exist yet.
Arduino IDE version
2.2.2-nightly-20231228
Operating system
Windows
Operating system version
Windows 11 22H2
Additional context
Snippets in Visual Studio Code (document)
Issue checklist
The text was updated successfully, but these errors were encountered: