Visual Studio Update: Automatically Close Brackets and Quotes

  Рет қаралды 7,529

IAmTimCorey

IAmTimCorey

Күн бұрын

Have you ever needed to add quotes around a piece of text? Or maybe you needed to add some type of bracket around a piece of code. In version 17.9 of Visual Studio 2022, surrounding text with brackets or quotes just became a LOT easier. Let's look at how to enable this feature.
Full Training Courses: IAmTimCorey.com
Mailing List: signup.iamtimcorey.com/

Пікірлер: 52
@jaa928
@jaa928 2 ай бұрын
Quick, easy, and productive. Thank you, Tim!
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
You're welcome!
@andergarcia1115
@andergarcia1115 2 ай бұрын
Thank you, Master, for the valuable effort you put into each video. I also wanted to say that the development pass is a great initiative, and I believe it will be a success. I read the email I received in my inbox, and it addressed one of my questions: how you combat piracy. This was very helpful information.
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
Thanks for sharing!
@squimball
@squimball 2 ай бұрын
Nice. I can see this auto-backet completion being a lot more useful than the other ones. I hate it when closing brackets appear out of nowhere (I always turn it off), but this one makes sense and I can see me using it. Thanks for the tip.
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
You are welcome.
@UmanPC
@UmanPC 2 ай бұрын
Great feature. Tnx a lot Tim
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
You are welcome.
@JayVeeDee
@JayVeeDee 2 ай бұрын
my god, this was one my huge pet peeves with visual studio coming from jet brains and it's finally been added! Good stuff
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
👍
@navid.jfrzadeh6074
@navid.jfrzadeh6074 2 ай бұрын
Nice these shortcuts are very useful 👍
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
Great!
@c130daddy
@c130daddy 2 ай бұрын
excellent. thanks!
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
You are welcome.
@evangreavu9621
@evangreavu9621 2 ай бұрын
Another cute feature
@dasfahrer8187
@dasfahrer8187 2 ай бұрын
So useful!
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
Glad you think so!
@MouhamedSaleemAlZayat
@MouhamedSaleemAlZayat 2 ай бұрын
I like this feature.. 👌🏻
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
Great!
@trevordennis
@trevordennis 2 ай бұрын
Thanks! This new feature actually looks very useful. The most annoying thing I always turn off is the auto matching quote or parenthesis that Visual Studio was putting in as you type. That one just slows me down since the cursor almost always ends up in the wrong place and I have to move it back inside the parenthesis to finish typing the statement. Easier to just typing the end characters manually.
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
You are welcome.
@holger_p
@holger_p 2 ай бұрын
There is always something cute to discover.
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
👍
@BigBassti
@BigBassti 2 ай бұрын
Hi Tim, hi Chat! What are your greatest productivity features in visual studio c#? My favorites so far are Strg+K+D (Code Alignment), prop+tab+tab (simple property definition), propfull+tab+tab (full context property definition), if+tab+tab (If-cluase) and else+tab+tab (else-clause).
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
I'm going to be releasing a video soon on the way I configure Visual Studio, which will include a lot of the tweaks I use.
@CRBarchager
@CRBarchager 2 ай бұрын
This will help alot. I'm getting tired of having to mark code, CTRL-X, { } and CTRL-V between the brackets :D
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
Agreed.
@user-cl5cl4ec8h
@user-cl5cl4ec8h 2 ай бұрын
It is also in JetBrains Rider.
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
Great!
@guiorgy
@guiorgy 2 ай бұрын
I wish you had touched on double quotes inside a double quoted string literal. Will that work (i.e. will it be properly escaped)? What about a @ string literal, or multiline (""") string literal? I hope that works, but even without it, it's a great feature. I'll try it out later
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
It puts double quotes (if that is what you choose) around anything you've selected.
@guiorgy
@guiorgy 2 ай бұрын
@@IAmTimCorey I've tried and you are correct. I was hoping it would understand that the selection is inside a string literal and escaped the inserted quotes, i.e. inserted \" instead of just ". Still a nice feature though, I've enabled it.
@navarone77
@navarone77 2 ай бұрын
A feature VSCode already had. . Great job M$ft lol
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
VS Code and Visual Studio are two totally different products, written in two different languages, by two different teams, and are two different types of systems (editor vs IDE).
@404-UsernameNotFound
@404-UsernameNotFound 2 ай бұрын
It's about time. VSCode has had this feature for years.
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
Yep, but since the two products are totally unrelated, they don't have a shared feature system.
@JohnSmith-yr7ih
@JohnSmith-yr7ih 2 ай бұрын
Tim, please make a full course of 'aspNet identity' with wasm and new 'Blazor app' template, show the difference, if any. there a many videos of 'identity' but all of them are just overview
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
Thanks for the suggestion. Please add it to the list on the suggestion site so others can vote on it as well: suggestions.iamtimcorey.com/
@fsofrizzy5088
@fsofrizzy5088 2 ай бұрын
One of my favorite features from VS Code. Always found it annoying this wasn’t a feature since I’ve been learning C#/Visual Studio.
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
Great!
@darkeldarspire
@darkeldarspire 2 ай бұрын
For me its more about exiting the brackets. Arrows are far from the letters on the keyboard.
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
Yep, that is something I wish were more easily streamlined.
@pxnchx93
@pxnchx93 2 ай бұрын
I'm surprised they added this so late 🤔
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
They've played around with different ways of doing similar things, but I agree.
@devliren
@devliren 2 ай бұрын
Lol😂
@LokiDaFerret
@LokiDaFerret 2 ай бұрын
I would much prefer they fix the plethora of bugs versus this new feature.
@IAmTimCorey
@IAmTimCorey 2 ай бұрын
Every update does come with bug fixes. LOTS of them. But that doesn't mean there shouldn't be feature improvements as well.
@LokiDaFerret
@LokiDaFerret 2 ай бұрын
@@IAmTimCorey they broke search in the 2022 upgrade. It's been broken since the first revision. Web deployment Will also crash if you close the publish window before it is done. When they fix these I will be happy. But until then I will go and close everything I can see within single quotes double quotes square brackets round brackets and curly brackets. 😁
Containerize Your C# Application Easily with the .NET CLI
9:57
IAmTimCorey
Рет қаралды 34 М.
路飞关冰箱怎么关不上#海贼王 #路飞
00:12
路飞与唐舞桐
Рет қаралды 3,6 МЛН
GPT-4o Revealed - Writing a 4000 Word Blog Post (Better Than Opus?)
9:03
Digital Creator Avi
Рет қаралды 2,7 М.
Dependency Injection Updates in .NET - Keyed Implementations
8:31
Code Snippets in Visual Studio
5:38
Stephen Samuelsen
Рет қаралды 2 М.
ChatGPT’s Amazing New Model Feels Human (and it's Free)
25:02
Matt Wolfe
Рет қаралды 125 М.
Intro to Refit REST API Client for C#
49:18
IAmTimCorey
Рет қаралды 48 М.
NEW GPT-4o: My Mind is Blown.
6:28
Joshua Chang
Рет қаралды 176 М.
Why Can't I Get A Job As A Software Developer?
34:04
IAmTimCorey
Рет қаралды 9 М.
Data Annotation Updates in .NET 8
6:05
IAmTimCorey
Рет қаралды 13 М.