P
P
password222020-09-25 18:27:58
C++ / C#
password22, 2020-09-25 18:27:58

Is there an extension for C# like Emmet for html?

Hello. I shoveled the entire Internet, did not find such an extension as Emmet for html, only in Visual Sturio 2019 and for C #.

That is, its essence is this:
you write, say, cw and press tab, and he writes Console.WriteLine(); etc.

If anyone knows, please tell me.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2020-09-28
@password22

Yes, there is, this extension is called Mnemonics , available for ReSharper and Rider.

V
Vasily Bannikov, 2020-09-26
@vabka

Rider and Resharper have Live templates that allow you to do roughly what is described.
for example, when you enter the ctorIDE, it will generate an empty constructor, and so on.
Visual Studio has Code snippets.
And so in 99% of cases, the usual autocomplete is enough - When you enter Con[tab].WL[tab]autocomplete, most likely, it fills up to Console.WriteLine();
There is also Tabnine, which gives an even more tricky auto-commit.
PS
In general, I have not yet had the feeling that I lack speed from the fact that I cannot write Console.WriteLine as cw

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question