F2 to rename bookmark. Basically this key works everywhere as Rename command.
@bestasphalt9player4642 жыл бұрын
So this is where it started.....
@soumyadeep-mondal4 жыл бұрын
First video of Mosh 😍😍😍😍😍
@Dotnetawy6 жыл бұрын
Hello Mosh, thank you very much :) You can use ctrl+k+n to navigate to next bookmark and ctrl+shift+k+n to navigate to previous bookmark Use ctrl + m + o to collapse methods and classes
@jabdaomilang8 жыл бұрын
Nice tips! But I think it would be good if you display the shortcut key you are pressing while you're saying it. Thanks.
@fernandogoncalves18918 жыл бұрын
Jabbar Daomilang
@pateegutee79607 жыл бұрын
Fernando Goncalves :)
@zain-ul-abideen95744 жыл бұрын
turn on subtitle buddy ;)
@GameDevNerd3 жыл бұрын
A valid suggestion. He doesn't mean show subtitles or captions but show some little key icons on the screen to help it visually sink in. Some of us are hearing impaired after all! 😄
@mboaacademy Жыл бұрын
Hello Am Abel Mboa From Kenya. I really enjoyed your content and you are the reason I even program you made me solve my curiosity in coding after watching your tutorials.
@mboaacademy Жыл бұрын
But I have a proposal I have opened up a programming school here in Kenya and would like to use your content in it
@sh3ldr0idhack3r53 жыл бұрын
Man looking at ur first vid feels like something special. Cause now u have changed lives of many people including me keep up the good work and keep changing people's lives.
@winstoneshka7 жыл бұрын
In 2015 Adding bookmark is done by Ctrl+K; Ctrl+K, fast rename is done by switching to bookmarkview with Ctrl+K; Ctrl+W. Last added bookmark always selected (as for me),then F2. I think TODO comments are more effective. One just types it in the code and that's all.
@lixin51695 жыл бұрын
memo: 1. use bookmarks Ctrl + K, K 2. use code snippets ctor, prop, cw(Console.WriteLine), try, for, foreach, while... 3. format your code select code, then Ctrl + K, F use Productivity Power Tool extention 4. manage tabs with keyboard ctrl + tab/ctrl + shift + tab, ctrl + F4(close tab) ctrl + , search for anything shift + alt + enter(full screen) 5. collapse code blocks ctrl + M, M 6. use ReSharper
@DoubleBob9 жыл бұрын
I think it would be great, if you provided a list of all the shortcuts and topics in the description or at the end of the video.
@dijanabikovic72858 жыл бұрын
+FernestHall There are a few factors in learning to concentrate. One plan I discovered which successfully combines these is the Magic Focus Plan (google it if you're interested) without a doubt the best guide i've heard of. look at all the unbelievable information .
@AleksandarDjurovic908 жыл бұрын
Hi, did you try this Find Your Focus program? I'm interested to try it.
@uchitesting4 жыл бұрын
Oh it's Mosh! I did click randomly and did not recognize until I heard the thing about not using the mouse. I took some of your courses on Udemy. You're in the top instructors there amongst the one I took courses there. I belong to those people who find it useful to take advantage of shortcuts in software. One of the first things I do is browse the menu and read them. There are some I cannot seem to find though. One in particular is the one to look up the commands in the program. It makes a search input pop out ans for instance you could search for "toggle comments", "build solution", you name it. I think I found it some day but I forgot. There are also some shortcuts to navigate or edit code I love to use. Ctrl+Shift+L to Delete a line Ctrl+L to cut VIM style. then you can paste the line Ctrl+Shift+V to show clipboard history. Ctrl+D to duplicate a line Alt+↓ or Alt+↑ to move a line or selected lines up or down. You name it. 1. Bookmark feature. 00:01 I didn't know that feature but I manage the problem differently. I take notes. A notebook or on PC most likely Google Docs (because it is online and easy to retrieve from many devices) 2. Code snippets 02:00 I already know most of them. Thank you to complete 3. Format code 06:48 Ctrl+K,F seems to need you to select code. Ctrl+K,D doesn't → Faster IMHO I have Power tools installed but it wasn't configured/set by default. I was looking for a way to sort and reorganise usings. There is a command in the menu but it has no shortcut by default. I tried to assign one and didn't work well. In Eclipse it was Ctrl+Shift+O and I used it all the time. Now it is even simpler. Thanks. 4. Manage tabs 09:29 Ctrl+tab → Learnt in one of your courses. Pretty cool Ctrl+(Shift)+F6 Prev/Next tab didn't know My productivity issue is more like what you say about having millions of tabs opened. And even when I clean them, a few seconds later I'm back to too many tabs. I feel often stressed out because of that. I think videos (of even a complete course on Udemy) would be interesting should you ask me. Alt+W,L → My eyes are burning. My heart is pumping. Clean the mess of tabs out of the workspace! Ctrl+, → Navigate to dialog. Shift+Alt+Enter → I know but I'd love to find a way that would mimic the Ctrl+Shift+M from Eclipse. Basically what it does is maximize the panel that currently has focus. Code ? Full screen but you can still see the menu (and I like it), Solution explorer? You could maximize that too if it had focus. One you did not talk about is with power tools you can double-click to detach of attach back an editor tab. 5. Collapse code blocks 13:54 Ctrl+M,M → Toggle outlining expansion 6. ReSharper 14:53 (mistakenly numbered 7 in the video) The content is outdated. VS has all this now. Taking some of the remarks you did in some courses regarding ReSharper, I see these features are now also included. That said ReSharper still has features I'd love to see in VS such as inline debug watches. I find this very convenient. I also like the inline parameter naming. I believe it will be part of one of the next versions. Who knows: maybe in VS 2021. Best regards.
@imtiyaz215 Жыл бұрын
Visual Studio Productive Tips Duplicate line: CTRL +D Delete line: CTRL + SHIFT + L Selecting all instances of word: ALT + SHIFT + .(period) and then pressing .(period) repeatedly Vertical Selection: Hold down Alt Key and making the selection with either the mouse or keyboard. To create multiple cursors in arbitrary locations: CTRL + Alt + Click Cut Entire Line: CTRL + X Comment: CTRL + [K, C] Un-Comment: CTRL + [K, U] Add Line Above: CTRL + Enter Below: CTRL + SHIFT + Enter Rename (Anything): CTRL + [R, R] Go To Definition: F12 Find All References: SHIFT + F12 Refactor to Method: CTRL + [R, M] Move Code Up: ALT + UpArrow Down: / ALT + DownArrow Format Document: CTRL + [K, D] Surround with Snippet: CTRL + [K, S] Collapse Class to Definitions: CTRL + [M,M] for collapsing one method and CTRL + [M, O] for all methods Organize Using Statements: CTRL + [R, G] Quick Fix (Add Methods, implement interface, etc): CTRL + . (period) Solution Explorer: CTRL + ALT + L Search to class or file: CTRL + ; Unity Project Explorer: SHIFT + ALT + E Creating Code Snippets: Creating Constructor: type ctor and then hit the tab Creating Properties: type prop and then hit the tab Creating Properties with full set and get snippets: type propfull and then hit the tab Creating try catch block: type try and then hit the tab Creating try finally block: type tryf and then hit the tab Switching between tabs: CTRL + tab Switch to next Tab: CTRL + F6 Switch to previous tab: CTRL + Shift + F6 Closing tab: CTRL + F4 Closing all tabs: ALT + [W,L] ; Opening file without using solution explorer: CTRL + , (comma)
@ahmed_raaphat6 ай бұрын
Thanks a lot!
@BackerSultan4 жыл бұрын
I'm using VS for more than 10 years and there are some of the tips in this video that are new to me! Thanks, Mosh!
@انامسلموكفى Жыл бұрын
Hi Mosh the best one, small tipp to reformat the code in such a nice way is go to the end of the script with a shortcut then delete the } and rewrite it again .
@mehdiSupp9 жыл бұрын
Thanks for the precious time saving shortcuts, can't say the same for the length of this video
@rickloyd82084 жыл бұрын
If you need a bookmark, you are doing it right first //todo: you message, no UI and works in any editor! The second tip was useful, video is worth like, thanks!
@TheBigBossZero7 жыл бұрын
Oh my Mosh!!! Snippets... Now I use them every time.
@bibekkhatri4 жыл бұрын
Sir, this was your first course and I love it.♥
@beaconbecay16485 жыл бұрын
This dude saved my life. 🙌
@pournimagosavi68654 жыл бұрын
Hello Mosh, it's been 5 years to this video and you are rocking on KZbin these days, I have got so inspired that me too wants to start youtube channel now. Can you share your starting days experience with me?
@31337flamer6 жыл бұрын
one of the first things i learned is bookmarking :D ctrl+k+k ctrl+k+n ctrl+k+p lets u create and jump to "N" next and "P" previous bookmark :D u need ctrl+up ctrl+down to move lines and of course ctrl+w to select words these 6 commands are the most important imo. then theres ctrl+del to delete a whole line ;) u need to use shift and ctrl when u want to select inline if u know these u can code very fast. learn your keyboard and hotkeys these are your tools. use them like tools.
@KaushikRao8 жыл бұрын
Good one Mosh. Just an add on. You can also use Ctrl+K, D to format the code without any selection.. :)
@HaySidney8 жыл бұрын
ctrl k, k to add the bookmark. ctrl k, w to open the bookmarks pane. use the arrows to scroll the bookmarks, and then press F2 on the one you'd like to rename.
@vivekrajavadapalli45348 жыл бұрын
Use F2 to rename the Book mark..
@gooroomp8 жыл бұрын
Wanted to type it here but saw your reply.
@Cronofear5 жыл бұрын
Most of the tips are actually code snippets. There's a code snippet editor in VS that let's you create your own (for example, something like foreach, ctr, etc). Although i use Vissual Assist for my code snippets since i need it for c++ as well and the default snippet editor doesn't seem to support C++.
@lemiu38d19 жыл бұрын
Mosh, to rename to bookmark using keboard, just simple select the bookmark and press F2. Thanks for your videos, they are great!!!
@Net.Center2 жыл бұрын
oldest reply on the oldest comment on the oldest video cool tip still :D also goodjob making it till here
@paulwhiterabbit4 жыл бұрын
I look for these features in my IDE of choice - navigate cursor position history - go to file without touching the file tree - go to member without scrolling - multi-cursor editing - open cmd/terminal quickly
@uchitesting4 жыл бұрын
I don't know them all but you could find them. Unfortunately some of these are involving the mouse though. My contribution: 🔴 Navigate cursor position history My IDE telss Ctrl+. or Ctrl+Shift+. but it doesn't work here. 🟢 Go to file without touching the file tree Isn't it the Ctrl+, showed in the video ? Otherwise try Ctrl+Shift+T or Ctrl+1,R to see recent files (pre-populated list) 🟢 Go to member without scrolling Alt+* 🟢 Multi-cursor editing If it is sequential lines in the same column Shift+Alt+↓ or Shift+Alt+↑ to select more line in the direction respectively to the arrow key. If it is in different part of the code (a few lines or columns away) Click in one of the spots first Then add spots maintaining Ctrl+Alt when clicking 🟢 Open cmd/terminal quickly There are several cmd/Terminals you could open Ctrl+Alt+A Classic Windows Terminal Ctrl+ù Opens PowerShell Terminal. I have a French keyboard. I find this one fishy for US/UK/International keyboards. Maybe it is different. Ctrl+Alt+F to Open the interactive F# command prompt. I don't use that. I'd use the one for C# which has no shortcut by default and Ctrl+Alt+C seems available. Ctrl+Alt+I Immediate Window. I don't know exactly what it does honestly A shortcut for NuGet Package Manager Console would be much more interesting should you ask me.
@navneetworld8 жыл бұрын
Hi Mosh, thanks for this kind of good video. To edit bookmark without using mouse. You need to select bookmark from bookmark list(CRTL+UU) using arrow keys and press Key F2 to edit. after change press key Enter. that it... thanks
@ZeroSleap4 жыл бұрын
Last but not least,you can make your own code snippets.For all your custom needs. For example i made a code snipet to make a double for loop to iterate through a 2 dimensional array.
@eljerav68972 жыл бұрын
You can right click and dock the bookmarks as a tabbed document and then you can navigate with the arrow keys, hopes that helped :)
@rocket27392 жыл бұрын
using a mouse ? ewwww
@asadnaeem1238 жыл бұрын
Tip 3 can be done with the following Tip: Just go to end of file and follow these steps: 1 - Remove } 2 - Write } It will automatically indent the code properly. You can use this technique even at class level, function level and at any level which is using {.......}. :)
@dibley19739 жыл бұрын
Also you can format code by finding the last closing curly brace in the file, removing it and then re-typing it.
@suvashdhakal3 жыл бұрын
cw tab tab --> console.writeline() ctrl + tab --> switch between the classes ctor tab tab --> create a construcot ctrl+k k --> to add a book mark ctrl+w and ctrl+b -->to view the booksmarks prop tab tab --> to create a property propfull tab tab --> to create a property full equals tab tab --> creates Equals and Gethashcode method try tab tab --> creates try and catch block tryf tab tab -->creates try and finally block for tab tab -->creates for loop forr tab tab -->creates for loop in decrement foreach while do tab -> to move one tab right shift tab --> to move one tab left ctrl+k and ctrl+f --> to format the selection ctrl , --> to open navigation search shift ctrl enter --> full screen ctrl m m --> collapse/expand the class/namespace
@suvashdhakal2 жыл бұрын
Thank you Mosh, I have am a big fan of you and your videos. They have been very helpful in my programming career.
@zoltanmike7 жыл бұрын
Thanks for the tips, those were great! Just a suggestion for all, get the VsVim plugin and learn to navigate using vim keyboard shortcuts, it greatly increased my productivity!
@joonamikkonen27747 жыл бұрын
Ooooooh this video is golden! Thank you for the tips! I had no idea these exist.
@rahulvishwakarma57344 жыл бұрын
sir, your tricks are very helpful for us thanks, your videos are awesome 🙌
@tgsoon20027 жыл бұрын
1 Book mark is interesting, I will try to keep that. 2 Snippet you can find some snippet free eidtor and add some more snippet or change the exist snippet to your coding style. I also hope that Mic change the comment to toggle instead of insert and remove separately.
@somethingsomething32077 жыл бұрын
A bit late, but when you press Ctrl-Tab to Switch between Tabs, you can navigate through the files in the panel pressing the arrow keys, you can access to the error Log too.
@callsigntengu8 жыл бұрын
another way I have been using to format files: CTRL + K, D
@steveroger45704 жыл бұрын
Do that in a team project with version control, all line of code that you didn't touch may appear to be modified too (depending others vs your auto formatting style). Then, prepare for your supervisor and code reviewer to have you a meeting for justification when they see your mass modification on unrelated code. Or can just highlight the section you modified, and [Ctrl + K], [Ctrl + F]
@gkhnlts4 жыл бұрын
productivity power tools trick is great for me thanks.
@zerosandones75473 жыл бұрын
Thank you for the power tools! 🤯
@KCAbramson8 жыл бұрын
Great video. This will save me so much time. It makes me wonder how many other gamechanging tweaks, extensions, and shortcuts I am missing.
@LouisHong979 жыл бұрын
This is a great series! Thank you, are you making more?
@LouisHong979 жыл бұрын
Ty
@Freefalling_shr8 жыл бұрын
Great video. Made my coding much more fun!
@jasperdiongco8627 жыл бұрын
Great video! You saved my life, thank you!!!
@looksmart50008 жыл бұрын
excellent video and useful hints. Thanks for dharing.
@ihspan68925 жыл бұрын
very nice video, but you could display the table of contents in the beginning, display the shortcut key when pressing it, and make it 3-4 times shorter by speaking faster and getting rid of all the pauses
@MyUTube23126 жыл бұрын
Superb info. Thanks
@stefanmoller59538 жыл бұрын
Hi, nice Tips, Here a solution for your Bookark Mouse Problem: You can rename a Bookmark after u Added it with CTRL + K, K, using CTRL + W, B and press F2
@turkym7md56 жыл бұрын
7:20; I just re-close the last curly bracket and all my code have been formatted, i think it's better than ctrl-a and ctrl+k and ctrl-f... hmm maybe
@wodzupl256 жыл бұрын
7:35 instead of that -> ctrl+k+d Magic :D
@steveroger45704 жыл бұрын
It is actually [Ctrl + K] then [Ctrl + D] or just hold down [Ctrl], then [K], [D]. And in a team project, doing that may result all other line of code you didn't touch appear to be modified too. Code reviewer will be wtf on your massive code changes when they trying to merge or reviewing your code. Then prepare to justify, argue, or get backfire. Safe play is to just highlight only your code section and [Ctrl + K], [Ctrl + F]
@Cristiaino7Ай бұрын
Bro please transfer python full course into Kannada
Thank you so much for this useful knowledge. I've watched only two of your videos and I already like your chanel. I think I will watch one of your multiple videos tutorials next.
@__hannibaal__ Жыл бұрын
Very useful, thumbs up 👍
@romanop1923 Жыл бұрын
who is watching it in 2023 😅
@otmanighoulassen61778 жыл бұрын
Very cool ! thanks Mosh
@arielgabizon789 жыл бұрын
Awesome! Finally understood sinppets. Couldn't get to the bookmark list using Ctrl W-B (or any other way). Maybe that doesn't work in C++?
@naipeadicto7 жыл бұрын
ahh ctrl comma shortcut is awesome!! Thanks!!
@firdouskk9 жыл бұрын
Good one... thanks brother...
@vaibhavsalwe71799 жыл бұрын
Excellent tips.
@GarrettFogerlie9 жыл бұрын
Very helpful shortcuts, thank you!
@NabranAboubacar5 жыл бұрын
nice ,thx for the info. how to hide (not collapse) other methods to focus on one? thx
@ptnilesh7 жыл бұрын
Great Video Thank you.
@Theageywä5 жыл бұрын
Watching this at night. The first tip was very useful, but after the transition to the second tip i got blind. Nice video!
@blagovestpeshev53036 жыл бұрын
Excellent tutorial and very useful shortcuts! Thanks!
@DMC4289 жыл бұрын
In my Version of VS (2013) You have to press [CTRL + K] and after that [CTRL + W] to get the Bookmark-Window. To delete a bookmark, you have to go to the bookmarked line and press [CTRL + K] twice again and the bookmark will be removed. Maybe this saves someone some minutes of searching. EDIT: Ah, damn! I should start watching videos completely bevore I start writing comments. Sorry at this point.
@dfinlen6 жыл бұрын
Ctrl+alt+l will open solution explorer tab twice and arrow keys to move through solution explorer
@dimitritravailloux13489 жыл бұрын
Thanks you for this helpful video. I use VS every day and I learn a lot with your video (show the zoom with mouse wheel..good when we work on long part of code)
@balaramu43806 жыл бұрын
Your visual studio theme is so nice. My i know where to grab?
@abhinayganu5 жыл бұрын
Easy to understand the snipped code
@LordHecthor9 жыл бұрын
awesome tips thanks
@harounhajem79727 жыл бұрын
Jump from one bookmark to next ctrl-k-n and back ctrl-k-p. use this everyday
@athiirapeter8 жыл бұрын
super tips.thank u so much
@TheSlimshader7 жыл бұрын
Hey, great tips! Will there be an update for VS 2017? For example Navigate To dialog has been replaced with Go To
@alexanderlamas33536 жыл бұрын
Great video! Please keep up with the good job!
@nidhindavid6349 жыл бұрын
Thankx man...such a usefull video.. Incrediclly usefull.Thankz once again for your time on such a heavly useful video
@nelsonalva7 жыл бұрын
Very useful. I suscribe, thanks!
@shivanitathe47038 жыл бұрын
It was very useful ...Thanks mosh.. But i dont understand ...wat is' resharper'?
@mrngg77329 жыл бұрын
Excelent tips. Its helpfull. I have a question. Do you know an extension or option that make copy some piece of code into many forms at once? For example, I forgot to write a piece of code in 10 forms and i want to do it without going to each one and copy and paste the same code 10 times.
@fahimpopal398 жыл бұрын
Have you thought about an abstract class? Also, you could make a public class with some methods you need in the different classes, link it in every class and then use the methods just like that.
@fahimpopal398 жыл бұрын
Oops, i misunderstood the question.
@Phill14767 жыл бұрын
Amazing Tips, going to help a great deal both (just wish I had found this a day ago, before I handed in first assignment)
@kevinadams059 жыл бұрын
Great tips, thanks!
@maxmustermann51116 жыл бұрын
Great Video, t.hanks a lot
@ga78539 жыл бұрын
Does those shortcuts applies to both VB and C#, because I was trying on VB and most does not work?You have a great way of illustrating your subjects, I really enjoyed it. Thank you
@TheCentaury8 жыл бұрын
some work in vb example tryf with TAB will do a try finally end try example try and ENTER will do a try Catch ex As Exception end try example If and double TAB will do a If True Then End If otherwise within the code, you do CTRL K then CTRL X and there are a lot of code snippets and you'll have some powerfull code snippets available You can then make your own code snippets and add them in there to use later or in other projects
@MoonbowDew8 жыл бұрын
Great tips, man! Even though I'm sort of reluctant as to watching this kind of videos in the first place, I found your tutorial very useful. Have a sub.
@karthickk89546 жыл бұрын
Hi, foreach loop does not shows the existing collection list as you show in this video. Please help..
@ahmedabdi29126 жыл бұрын
very helpful, thanks mosh
@ershrestha56854 жыл бұрын
Dear Mosh, thank you so much for this tutorial. Can you tell me how your VS has customized SQL SQL Prompt , Team etc . Mine has only File Edit Select View.. Help
@mustaphacherifelmassaoudi19117 жыл бұрын
thanks a lot very helpfull
@Greatfulone3 жыл бұрын
Hi and thank you for the video. I am not sure if you have a video about this, but one of my questions is how do I prepare for interviews that do not let me use a full featured IDE? I have heard some developers do not believe in doing that because when you do work on a project, you have access to it. But regardless of where you stand on the issue, are there any activities besides practicing with a simple editor that would help you become comfortable enough with a language to just type it up? Thanks.
@rabimoshehizskiaavnergolde31957 жыл бұрын
You can just use ctrl + k + d to format stuff easily without extensions
@umerwaqas59434 жыл бұрын
Extensions have many othet options to go with It was only one mentioned here.
@DenisTrebushnikov8 жыл бұрын
I had noticed you used these tips earlier... however, I hate ctrl+f5 combination... it too far to push them by one hand or it requiers to stretch the finders... even C::B have the one button to debug&run, even ms word have the best combo shift+f12, I ever used, to call the "save".BUT ctrl+F5!!! It drives me mad every time i have to use it!
@nirru17 жыл бұрын
Nice Video Thank you.
@yamazakialex23076 жыл бұрын
Nice video, thanks for the tips!
@ajayjadhav9002 жыл бұрын
How to include sub-directories in Visual Studio? Add the "base folder" to the project (project properties -> Configuration Properties -> C/C++ -> Additional Include Directories, "additional include directories") but there are almost 50+ directories , It is not possible to add each and every folder. any other solution??
@SamJongenelen8 жыл бұрын
' Rename bookmark hotkey' is the overall edit name hotkey; F2