Text expansions, sequences? What's the best approach for inserting a non-trivial text? #1502
Replies: 4 comments 2 replies
-
The recent |
Beta Was this translation helpful? Give feedback.
-
Isn't it easier to add custom snippets in your code editor? (if you're asking about programming use case of course). |
Beta Was this translation helpful? Give feedback.
-
Maybe I'm being dense. but why would
not work? |
Beta Was this translation helpful? Give feedback.
-
There is now clipboard functionality added as of the recent 1.8.0 which can do expansions. |
Beta Was this translation helpful? Give feedback.
-
Hi.
I read through some related issues but still found it difficult to understand how to simply create text expansions. Specifically, I want to press a key and have it automatically insert
Console.WriteLine($"");
. However, there are several issues with handling characters like double quotes, parentheses, and so on.To work around this, I came up with a solution that abuses the
unicode
function.It works and works just fine, but it feels a bit complicated for such a simple 23-character text.
Is there a simpler and more consistent approach I can use?
Beta Was this translation helpful? Give feedback.
All reactions