Тёмный

This VS Code Extension Is 🔥🔥 

Dave Gray
Подписаться 341 тыс.
Просмотров 1,6 млн
50% 1

Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGra...
This VS Code Extension Saves Time!
🚩 Subscribe ➜ bit.ly/3nGHmNn
📬 Course Updates ➜ courses.davegr...
❓ Questions - Please post them to my Discord ➜ / discord
☕ Buy Me A Coffee ➜ www.buymeacoff...
👇 Follow Me On Social Media:
Github: github.com/git...
Twitter: / yesdavidgray
LinkedIn: / davidagray

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1 тыс.   
@SyberiaK
@SyberiaK 8 месяцев назад
Ah yes, my favourite request method "DATA"
@aminezz2584
@aminezz2584 2 месяца назад
😂😂😂😂
@NSA.
@NSA. 16 дней назад
😂
@I-OMusic
@I-OMusic Год назад
"so just to review" *Ends video* Absolute masterful play ngl
@apexdude105
@apexdude105 Год назад
I thought the dude failed to make a perfect loop, but this makes sense too
@teho1536
@teho1536 3 месяца назад
It's supposed to be a loop
@AaronBowley
@AaronBowley 3 месяца назад
not video ends, video replays
@salemyaslem9792
@salemyaslem9792 Год назад
VSCode has built in feature to select using Ctrl+D with Characters Cases sense ( you will get it in right top corner of editor when click Ctrl+D first time)
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Yep, sharing this extension does not mean VS code did not have other ways of solving this problem. However this is faster and easier for me.
@ko-Daegu
@ko-Daegu Год назад
@@DaveGrayTeachesCode ooh wait so if that’s a built in thing it’s better no need for extra extension
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
@@ko-Daegu I find using the extension is easier and faster for me. Total personal choice
@lbati
@lbati Год назад
@@DaveGrayTeachesCode you can simply use Alt + C to enable match case
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Only works for the _selection_ part... As an alternative to this extension, you can Ctrl+F (Cmd+F on Mac) to open up Find, insure you have toggled the match case (Alt+C) so all cases are selected, expand to show the Replace window, type the word you want to insert, toggle preserve case (Alt+P), and then replace all by pressing Ctrl+Alt+Enter. Seems like a long ways to go when you can use this extension to simply type your change after selecting with Ctrl+D.
@rmt3589
@rmt3589 Год назад
You have changed my life multiple times within 60 seconds.
@nocapstoast
@nocapstoast Год назад
true
@Scuubie
@Scuubie Год назад
This is the only feature I missed when I switched from Atom to VS Code long time ago. Glad to have it back 🎉
@matthewrease2376
@matthewrease2376 Год назад
Atom is in development under a new name (/team?) now, check out Pulsar.
@martinn.6082
@martinn.6082 Год назад
I use VSVim, which has a similar feature using %s/Post/data/g
@meetverma4812
@meetverma4812 Год назад
Atom sucks now
@6-dpegasus425
@6-dpegasus425 Год назад
Ohh so I wasn't crazy, I swear I'd used that feature early on in college but couldn't find it anymore, this comment made me remember I had swapped out of Atom for VS Code in my 2nd year
@ElHyperion
@ElHyperion Год назад
Same here. I used Atom until college where I swapped it for VSCode because Atom took awfully long to launch even with no extensions and on SSD, while Code is blazing fast even with 30 extensions and I don't have to spend so much time fixing random errors that pop up. I only sort of miss how easily you could adjust your Atom appearance using the stylesheet and basic CSS knowledge.
@kamal-hassan
@kamal-hassan 10 месяцев назад
I love this man. Sometimes through the learning process, you make memories along the way and he’s just part of my memories. Thank you for holding the hands of newbies learning to code.
@chillout69
@chillout69 6 месяцев назад
"...help you to prevent errors..." while staring at the 'method' property 🎉
@ilianos
@ilianos 3 месяца назад
thought the same :-D
@Sky_Lord
@Sky_Lord 2 месяца назад
Same here, makes no sense…
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
For those suggesting Alt+C in VS Code to toggle the match case - that only helps with the _selection_ . The extension preserves the case when you type something new so "post" and "Post" are replaced with "data" and "Data". As an alternative to this extension, you can Ctrl+F (Cmd+F on Mac) to open up Find, insure you have toggled the match case (Alt+C) so all cases are selected, expand to show the Replace window, type the word you want to insert, toggle preserve case (Alt+P), and then replace all by pressing Ctrl+Alt+Enter. Seems like a _long ways to go_ when you can use this extension to simply type your change after selecting with Ctrl+D. For those that feel like doing a _code review_ on the changes I demonstrated - I just looked for a file that had one word a lot to demonstrate the changes. Clearly an example and not changes I was going to keep. You can press Alt+Click to deselect anything you don't want to change.
@ruukes4770
@ruukes4770 Год назад
@DaveGrayTeachesCode wow tour vs code environment looks so good what themes / extensions/ icons/ settings did you use its so good I'm especially interested in how you got it to highlight the code block you were working on in green
@ruukes4770
@ruukes4770 Год назад
And what are the two last extensions on the sidebar I've never seen them
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Bracket Pair Colorization setting in VS Code. Just enable it. I'm using the Github theme. Many dark modes to choose from.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
The last two extensions in the sidebar are ThunderClient and Jupyter Notebook.
@kalleshwar1
@kalleshwar1 9 месяцев назад
​@@DaveGrayTeachesCodewhich vscode theme you have used in this video?
@CYKG2023
@CYKG2023 Год назад
This is why I Love VS as a text editor it’s the best!😊
@andreaslassak2111
@andreaslassak2111 Год назад
Nope. This has full IDE for years.
@kos-
@kos- Год назад
​@@andreaslassak2111 literally was gonna say that 😭
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
As an alternative to this extension, you can Ctrl+F (Cmd+F on Mac) to open up Find, insure you have toggled the match case (Alt+C) so all cases are selected, expand to show the Replace window, type the word you want to insert, toggle preserve case (Alt+P), and then replace all by pressing Ctrl+Alt+Enter. Seems like a long ways to go when you can use this extension to simply type your change after selecting with Ctrl+D.
@sudarshankj
@sudarshankj Год назад
The extension is called Multiple Cursor Case Preserve
@alexalvarado9621
@alexalvarado9621 8 месяцев назад
This it fantastic
@henry-js
@henry-js Год назад
The "...so just to review" at the end is just perfect
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
I didn't expect it to work _that_ good! 😆
@ivanbragin7932
@ivanbragin7932 Год назад
omg, that is exactly what I was looking for!
@neenus
@neenus Год назад
I learned of this extension from one of your videos and been using it ever since
@foxxul
@foxxul Год назад
As someone who is a beginner-ish in code, this is amazing!
@hernanheredia3926
@hernanheredia3926 Год назад
One question What extension is the one that highlights the brackets?
@zombiefacesupreme
@zombiefacesupreme Год назад
I use this extension all the time. Super handy!
@airkami
@airkami 3 месяца назад
Excellent work, I understood everything watching it the first time and felt like an absolute genius after I read the comments from people who didn’t catch it. That said, English is my first language, so maybe it wasn’t that I’m smarter just that I have the advantage
@braidenhengst9412
@braidenhengst9412 Год назад
Also, in vanilla VSCode, you can use Ctrl+Alt+Up/Down Arrows to get a multi-line cursor. EDIT: I accidentally said ctrl+shift earlier. This was wrong. Ctrl+Shift+Arrow is just a simple select. Not what I meant
@kidus68
@kidus68 Год назад
Been using this extention for over a year and this is one of the first few must extensions whenever i get new vscode in new pc, glad finally got the spot light it deserves.
@IainSimmons
@IainSimmons Год назад
I use the regex find and replace for this, but obviously an extension is much easier! Just don't forget to change your method back to 'POST' 😉
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Yes! Emphasis on convenience here! I am not keeping these file changes. I just wanted to open a file with many instances of the same word. 💯
@EverRusting
@EverRusting Год назад
You don't even need regex, regular replace has preserve case option
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
As an alternative to this extension, you can Ctrl+F (Cmd+F on Mac) to open up Find, insure you have toggled the match case (Alt+C) so all cases are selected, expand to show the Replace window, type the word you want to insert, toggle preserve case (Alt+P), and then replace all by pressing Ctrl+Alt+Enter. Seems like a long ways to go when you can use this extension to simply type your change after selecting with Ctrl+D.
@ClickbaiterZ
@ClickbaiterZ Год назад
I use to do this by using find and replace, enable case sensitive so I have to do this 2 times if I want to keep the sensitive case. Now this is a lot faster and easier.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Agreed!
@kirksurber7262
@kirksurber7262 Год назад
Love this! Would have saved me some time last night lol
@punkerts7711
@punkerts7711 Год назад
You can also introduce errors with it, eg. toString() become toData() ups!
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Yes, know what you are changing for sure!
@calimio6
@calimio6 Год назад
Don't let others throw you down. This extension is very useful for refactoring. It obviusly would be nice to have it already on vscode but this isn't that bad either
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Thank you! It can be achieved with VS Code, but not as quickly and conveniently.
@34sisantachhatoi34
@34sisantachhatoi34 3 месяца назад
1 in 1000 useful short. Removes the regret of watching shorts continuously.
@yashguma
@yashguma Год назад
You just saved me half a year
@xtunasil0
@xtunasil0 Год назад
What about the built in search and replace?
@loquitran1
@loquitran1 6 месяцев назад
I wish I knew about this literally yesterday, the video is old-ish but it was recommended to me today. Thank you for the heads up!
@Mobay18
@Mobay18 Год назад
I have so many extensions now that it is causing more trouble than helping me. XD
@khodok9636
@khodok9636 Год назад
I had this issue a while back, I just reinstalled from zero and added the ones I knew I used a lot, and then over time added some more, but always doing my best to not have too many. And since they added profiles, this isn't an issue anymore to me
@tordok7158
@tordok7158 3 месяца назад
Built-in in intelij, double alt and left click allows you create cursors as many as you need. Or if you need only replace in flie ctrl + r, in all project ctrl+shift+r
@case6339
@case6339 Год назад
installed immediately!
@adimardev1550
@adimardev1550 Год назад
That's just Super Awesome Dave! i knew the shortcut but now i know the extension.
@spondoolie6450
@spondoolie6450 Год назад
I'm currently doing your MERN stack full tutorial project and saw you update the variable name while preserving the case and just thought it was a quick edit or something .... thanks for the tip!
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Happy to help!
@rmt3589
@rmt3589 Год назад
Thank God this was resuggested to me! This is not using His name in vain, this is straight up praise to Him!
@jirikral1052
@jirikral1052 6 месяцев назад
You can use Ctrl + Shift + H and then use regex for replacement. This is less convenient, but allows you to achieve what you want.
@draido-dev
@draido-dev Год назад
Nice, i use vim anyway 🙂
@TheSaintsVEVO
@TheSaintsVEVO Год назад
Oooh
@paultapping9510
@paultapping9510 4 месяца назад
well those first two shortcuts are fantastic! Ty! ❤
@esilva4973
@esilva4973 Год назад
man discovers sed, lmao
@nasharcadia
@nasharcadia Год назад
Just used this today! Awesome video🎉
@rong6139
@rong6139 Год назад
I am glad to saw this video on your "Reels" and now it made my searching/tagging easier. Thank you Sir!
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Glad it was helpful!
@firedforfighting
@firedforfighting Год назад
This is a built in feature now in Find & Replace you just have to click the button (idk the shortcut yet) and it works..just learnt about it today!!
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
It certainly would make sense to be a default feature. If I have to click an extra button every time, I'm still going to use the extension lol
@firedforfighting
@firedforfighting Год назад
@@DaveGrayTeachesCode i found out alt + P is all you need so the extension is faster!!.. I dont know why I always feel guilty for too many extensions, I feel like I am making myself too spoilt, I can here my uni lecturers in my head lool
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
If you don't want to use the extension - You can Ctrl+F (Cmd+F on Mac) to open up Find, insure you have toggled the match case (Alt+C) so all cases are selected, expand to show the Replace window, type the word you want to insert, toggle preserve case (Alt+P), and then replace all by pressing Ctrl+Alt+Enter. It does seem like a long way to go when you can use this extension to simply type your change after selecting with Ctrl+D. No need to feel guilty about using an extension. 😀
@programs37
@programs37 Год назад
You can also use Ctrl+f, then configure case and then do Ctrl+d
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Yep, not quite as quick but that does work!
@programs37
@programs37 Год назад
@@DaveGrayTeachesCode yes... And wish you good luck for your 100k
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
@@programs37 thank you!
@Neiltxu
@Neiltxu Месяц назад
I know the first times I wouldn't trust this and would lose more time than saved just checking, but from the 10th time on... This is GOD tier
@AustinBuchta
@AustinBuchta 4 месяца назад
if only i new this 2 weeks ago I would have had the free time to learn about this
@sid.h
@sid.h 3 месяца назад
Alt + J, Alt + Shift + J, and Ctrl + Alt + Shift + J in IntelliJ IDEA and probably other JetBrains IDEs 👍
@zanza8197
@zanza8197 Год назад
You are the best, I dint know this existed but my god is this ever so useful. THANK YOU!
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Glad I could help!
@RumiMaz
@RumiMaz 6 месяцев назад
I was just looking for such a tool. Thank you
@automation-nv4ww
@automation-nv4ww Год назад
youtube algorithm is scary..bcz i was gonna search this now..and it just pops up.. thanks anyway..saved a lot of time
@gingeral253
@gingeral253 Год назад
It’s crazy how many hot keys there are to speed up processes, which could also lead to bugs.
@olivierdulac
@olivierdulac 7 месяцев назад
Yes, I prefer the vim way, that can go over them 1 by 1 and ask and thus allows you to check if that one is one you really want to change and not part of another word that shouldn't be changed... for exemple: :%s#a_regex#the_new_txt#gc (g for globally, ie for multiple occurence per line. c will ask.). Or in the regex one can specify word boundaries.
@mukinha
@mukinha Год назад
Wow! Great extension! You can press alt+f3 to select all too
@2cents2go
@2cents2go Год назад
Alternatively… you can do command+f to show the find popup and there you can press Aa button to turn on case matching. Now you do command +d or command+shift+L to select case based on case matching - you’re welcome 😊
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
This is not so much about the selection, but it is about preserving the case when you change the content. For the full alternative look at the multitude of my other replies. And you're welcome. 😉
@jonbikaku6133
@jonbikaku6133 4 месяца назад
When you select a word, the finder popup comes on top right. You can easily click that for case-sensitivity, or complete word vs regex. No extensions needed ✨
@DaveGrayTeachesCode
@DaveGrayTeachesCode 4 месяца назад
This didn't used to be the case, but yes, you can now do that. That said, I prefer to just press Ctrl+D and start typing without messing with an extra window or clicks.
@Salah-YT
@Salah-YT Год назад
OMG this lovely jubbly bro I love it, thank u so much ur life saver bro thx 🙂
@Bird2920
@Bird2920 3 месяца назад
Downloaded. Thank you!
@leotravel85
@leotravel85 Год назад
So awesome, I needed this. Thank you
@dinhnghia5947
@dinhnghia5947 Месяц назад
This is really helpful , thanks 🎉
@ChopLancer
@ChopLancer 6 месяцев назад
Or just use regex to do the same thing from the find field, you can control case sensativity there too. Bonus: highlight a section to only search that section for your speific word or phrase instead of the entire document. No extensions needed
@brandonayala2507
@brandonayala2507 Год назад
This made me as happy as when I found out about alt clicking
Год назад
"In the past there was no way to change these all at once". Ctrl+F select both 'case sensitive' and 'match whole word'. Open the dropdown and type what you want to replace with and then click replace. Easy peasy.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
As an alternative to this extension, you can Ctrl+F (Cmd+F on Mac) to open up Find, insure you have toggled the match case (Alt+C) so all cases are selected, expand to show the Replace window, type the word you want to insert, toggle preserve case (Alt+P), and then replace all by pressing Ctrl+Alt+Enter. Seems like a long ways to go when you can use this extension to simply type your change after selecting with Ctrl+D.
@dweblinveltz5035
@dweblinveltz5035 10 месяцев назад
Cool extension, and this vid makes me wish more people updated their usage of redux.
@westonjp612
@westonjp612 Год назад
Wow you just saved me countless hours of otherwise wasted time! THANKS!
@zynferno
@zynferno Год назад
Amazing extension. This will save me hours of work. Thank you
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
You're welcome!
@lilv728
@lilv728 10 месяцев назад
This. I was trying to remember how to do this. Thank you
@jalbers3150
@jalbers3150 4 месяца назад
An actual useful extension. Very rare.
@chuxmyk
@chuxmyk 4 месяца назад
Haha. Recursive video with no base case. Love it. 👌🏿
@jabirali3649
@jabirali3649 Год назад
A single vim extension can do this and many other handy things in vscode
@stevenluoma1268
@stevenluoma1268 Год назад
A little slower but if you don't use vscode and have a replace-all function in whatever editor you're using, you could just do case-sensitive matching for the word and then replace all the variants with the intended casing. It's more error-prone due to needing to know all the variants and having to make extra changes, but almost every text editor can do it that way. It just takes n-times as many changes as in this video, where n is the number of casing variants you have.
@sthernito
@sthernito Год назад
You can control which to select depending on what you have selected on search filters
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Yes, Find has Alt+C for the search. Replace has Alt+P for the case sensitivity. Just a few more steps that way but do what you find easiest for you.
@mr.quantum3181
@mr.quantum3181 Год назад
You can use ctrl+F2 that also works well ✌️
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Yes, an adequate replacement for Ctrl+Shift+L as shown in the Selection menu.
@shoedler
@shoedler Год назад
I like to use the 'match whole word' option in the editor search field (Which applies also to Ctrl + D). Just using Ctrl + Shift + L is a bit too risky for me most of the time. Also: "Helps to prevent Errors" is a bit of an overstatement in your example if you also rename the request method to "DATA" 😉
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
To each their own. Clearly I was just giving an example of how to use it and not permanent changes that I would keep in this file. It is easy to unselect any specific instance with Alt+Click.
@OFFICIALMAJMUSIC
@OFFICIALMAJMUSIC Год назад
This is cool that VS has added this. This has always been one of my favorite Sublime Text features.
@DDecorah
@DDecorah Год назад
Thank you! This will make things soo much much fast
@user-ani6gm8hap
@user-ani6gm8hap Год назад
- Ctrl+f - *Post* - Select case sensitive - Replace All - ??? - Profits But thanks for featuring this 👍
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Thanks! See some of my other replies for the full alternative to this with Ctrl+F or Ctrl+H. It can be accomplished but just not as fast.
@user-ani6gm8hap
@user-ani6gm8hap Год назад
@@DaveGrayTeachesCode I will check them, thanks alot. And just to mention , my comment wasn’t sarcastic, I just mentioned my fav method ☺️
@messywebdev
@messywebdev Год назад
I thought you were going to say, “It’s an incredible time to be alive,” and I was vigorously nodding my head in agreement before the sentence took a turn. Yeah, my enthusiasm is never matched when it comes to editing tools 😂😂.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
It is an incredible time to be alive, too! 😄 I like your enthusiasm! 💯🚀
@arjayarjay8856
@arjayarjay8856 2 месяца назад
Thanks for sharing this useful information.
@tnblackdragongamingofficia6163
@tnblackdragongamingofficia6163 4 месяца назад
thank you little man inside youtube
@Ishaan_A
@Ishaan_A Год назад
At first I just thought it's a replacement of "Find and Replace", but this does seem better due to changing all versions of the word. Though i doubt i would be using this so much personally as I normally don't repeat the same word in different forms (uppercase, first letter uppercase etc.)
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Spot on! I find myself using it with React where we have [state, setState] variables. The typical pattern uses the same word but the case changes on the setter.
@badizzl
@badizzl Год назад
You can just press Ctrl+F and replace any occurrence with what ever you want. You make it case sensitiv or not and it also supports regular expressions. No need for a bad plugin
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
A bad plugin? It works very well and saves times compared to the built-in way to do this. Why be so negative? You don't have to use it, but from my previous replies: "...as an alternative to this extension, you can Ctrl+H to open up Find & Replace, insure you have toggled the match case for Find (Alt+C) so all cases are selected, type the word you want to insert, toggle preserve case for the replace (Alt+P), and then replace all by pressing Ctrl+Alt+Enter. But that seems like a long ways to go when you can use this extension to simply type your change after selecting with Ctrl+D."
@adamandom
@adamandom Год назад
Theres another extension called Sensitive Replace which does basically the same thing but optionally with the command palette. However, this is a lot better imo
@dominuspiritus
@dominuspiritus 2 месяца назад
Ctrl + F2 = multi cursor Alt + C = case Alt + W = only exact word then type Ctrl + H = find & replace Alt + P = exact case Ctrl + Alt + Enter = replace all occurences
@kamalchan9756
@kamalchan9756 Год назад
space+r to change the word you want in all the file heil vim
@petreiordanescu4005
@petreiordanescu4005 6 месяцев назад
Thanks. Very, very useful.
@DaveGrayTeachesCode
@DaveGrayTeachesCode 6 месяцев назад
Glad it was helpful!
@kodee2
@kodee2 Год назад
This is so awesome, so handy for refactoring
@christopheanfry2425
@christopheanfry2425 Год назад
Amazing extension thanks Dave!!!!
@MrPepinogonzales
@MrPepinogonzales 7 месяцев назад
You don't need an extension. Just do ctrl+F then select the options you want for your search, then with ctrl+D you're selecting all of the currencies matching your search
@DaveGrayTeachesCode
@DaveGrayTeachesCode 7 месяцев назад
Sure. Or with the extension, you don't have to press extra buttons or set extra options - I just select and start typing. Either works.
@geebsayshi
@geebsayshi Год назад
Wow! Another weapon in my vs code arsenal. Thank you vs code
@abdulrahamankasim7365
@abdulrahamankasim7365 Год назад
great tip Dave! BTW nice colors, what theme are you using?
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Thanks! Here are my theme choices: ru-vid.comdp4u1NNFhtE
@richardfurberg6720
@richardfurberg6720 Год назад
“Data” is an unfortunate example, but it also demonstrate the problem with batch renaming stuff and different plural forms. Here we have an end result saying “datas” :)
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
I wanted to use a file with many occurrences to change as an example - but not as changes I was keeping. You can Alt+Click to deselect any instance you want. I also suggest being cautious and usually just press Ctrl+D to select a few instances to change.
@ronh5613
@ronh5613 Год назад
Thank you so very much.
@yorutamashi
@yorutamashi Год назад
The find and replace in the editor while using CMD+F has now a preserve case toggle too
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Couple of extra steps but if you prefer 👍
@wickedclamor4882
@wickedclamor4882 Год назад
If you don't want to install extension. You can use regular expression "(string)"
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Correct. This is just _faster_ and more _convenient_ .
@wtl912
@wtl912 Год назад
or... hist press Ctrl + H (search and replace) and activate case sensitive. -no extension required.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Emphasis on _conveniently_ . From my previous replies: "...as an alternative to this extension, you can Ctrl+H to open up Find & Replace, insure you have toggled the match case for Find (Alt+C) so all cases are selected, type the word you want to insert, toggle preserve case for the replace (Alt+P), and then replace all by pressing Ctrl+Alt+Enter. But that seems like a long ways to go when you can use this extension to simply type your change after selecting with Ctrl+D."
@Betterandbettermusic1
@Betterandbettermusic1 Год назад
There is also Ctrl + f hit the arrow and u got find and replace 😊
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Quite a few other comments say this as well, but it involves other steps for the case preserve of the replacement word. Look at my other comments for how to do this without the extension if you want to.
@brunofunnie
@brunofunnie Год назад
Even though ALT+C change the case of the match it doesn't select all the matches of the words. So this extension is still good, regardless some "emotioned people" stated.
@itsaak
@itsaak 6 месяцев назад
THIS IS ACTUALLY GENIUS
@IsanG08
@IsanG08 Год назад
This why i love VS Code man
@carson7146
@carson7146 Год назад
Damn! Perfect idea for any IDE extension!
@AfeezAbdulAziz
@AfeezAbdulAziz Год назад
amazing, simple extension that saved a lot of hours!
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Glad it helped!
@kingbeencent
@kingbeencent Год назад
I really needed all this time
@FernandoFalci
@FernandoFalci Год назад
If you use regular searc (ctrl+F) and use the case (aA) when you use ctrl+D it will respect the case. But this extension also replaces the content, really good.
@sharonfabin7987
@sharonfabin7987 Год назад
You can also replace the content with default search
@HypedKryptic
@HypedKryptic 9 месяцев назад
Oooo snazzy. Can it also alter the same variable throughout different files or selected files? Better to catch that stuff before making more files but that would be a cool additive
Далее
I tried 10 code editors
10:28
Просмотров 3 млн
Naming Things in Code
7:25
Просмотров 2,1 млн
Свожу все свои тату (abricoss_a_tyt)
00:35
Как он понял?
00:13
Просмотров 108 тыс.
The 3 Laws of Writing Readable Code
5:28
Просмотров 576 тыс.
12 VS Code Extensions to INCREASE Productivity 2024
27:13
These CSS PRO Tips & Tricks Will Blow Your Mind!
8:48
Просмотров 335 тыс.
10 CSS Pro Tips - Code this, NOT that!
9:39
Просмотров 2,2 млн
The Best VSCode Extensions 2024
9:29
Просмотров 343 тыс.
Code faster with these VS Code shortcuts
8:44
Просмотров 363 тыс.