Ctrl alt studio

broken image
broken image

The context action might even hold surprises occasionally, I’ve seen suggestion like “replace temp variable with inline call”. Type the ctor signature, Ctrl + Space (autocomplete or suggestion) will help, then assign the ctor parameters to field names that are not yet defined, then use context action on the unknown symbol to create a field or property. on an undeclared variable, create a variable or propertyįor example to create fields from the constructor parameters.on an unknown type (defined in another namespace), imports the namespace.on a method or constructor, remove or re-arrange parameters.inside the using statements, removes the unnecessary using statements.The most common ones that I’ve discovered:

broken image

Different options are available based on the cursor’s location. Visual studio has a similar function, the default shortcut to access it Ctrl+. Probably one of the most used features in Resharper is the context actions menu (Alt+Enter usually). Here’s a summary of the shortcuts that I find useful to learn and use. In an effort to simplify my work setup and reliance on third party tool I decided to learn the keyboard shortcuts in visual studio code. I also use resharper which is a productivity booster tool. Adam-gligor monologue about stuff, brain dump Articles About Archive Mastering Visual Studio keyboard shortcuts