Questions tagged [shortcut]

A route more direct than the one ordinarily taken. A method or means of doing something more directly and quickly than and often not so thoroughly as by ordinary procedure.

On Windows and Linux is a shortcut a link to a program with an icon. You can also specify parameters for the program on start.

A route more direct than the one ordinarily taken.

A method or means of doing something more directly and quickly than and often not so thoroughly as by ordinary procedure.

2661 questions
909
votes
11 answers

Collapse all methods in Visual Studio Code

In Visual Studio Professional, we have a shortcut key, Ctrl + M Ctrl + O to collapse all methods and properties in a class. How can I do a similar thing in Visual Studio Code? I know there are shortcut keys like Ctrl + Shift + [, but this does not…
eadam
  • 23,151
  • 18
  • 48
  • 71
446
votes
9 answers

How do I close all open tabs at once?

If I have 10 tabs opened, I have to close each one using ":q" separately. How can I close them all at once?
Srikanth
  • 11,780
  • 23
  • 72
  • 92
434
votes
18 answers

How to update gradle in android studio?

I installed Android Studio 0.1.9. Today I got and update to version 0.2 and of course I updated. After the installation I restarted Android Studio but now I get this message: Project is using an old version of the Android Gradle plug-in. The …
7heViking
  • 7,137
  • 11
  • 50
  • 94
321
votes
16 answers

How to automatically generate getters and setters in Android Studio

Is there a shortcut in Android Studio for automatically generating the getters and setters in a given class?
Ajay S
  • 48,003
  • 27
  • 91
  • 111
298
votes
17 answers

Shortcut to create properties in Visual Studio?

I have seen some people creating properties in C# really fast, but how did they do it? What shortcuts are available in Visual Studio (currently using Visual Studio 2010) to create properties? I am using C#. For example, public string myString…
user467058
283
votes
18 answers

Eclipse comment/uncomment shortcut?

I thought this would be easy to achieve, but so far I haven't found solutions for comment/uncomment shortcut on both Java class editor and jsf faceted webapp XHTML file editor : to quickly comment/uncomment a line (like ctrl + d is for removing…
Bertie
  • 17,277
  • 45
  • 129
  • 182
178
votes
10 answers

shortcut in Android Studio to locate the current editing src file

Do you know how to check the location of current editing file in the project tree panel (the very left panel of the Android Studio), except manually. (The worst case is that all the folders there are collapsed) The Navigate->Class shortcut can show…
Roy Ma
  • 1,863
  • 2
  • 11
  • 12
177
votes
17 answers

Code snippet or shortcut to create a constructor in Visual Studio

What is the code snippet or shortcut for creating a constructor in Visual Studio? Visual Studio 2010 and C#.
user467058
169
votes
5 answers

How to disable zoom on Ctrl+scroll in Visual Studio 2010?

Visual Studio 2010 adds a zoom setting on the bottom left of the text editor (to the left of the horizontal scroll bar) and also adopts the Ctrl+mouse scroll idiom for zooming in and out. The former is fine, but I dislike the latter as I am…
Redwood
  • 66,744
  • 41
  • 126
  • 187
128
votes
2 answers

How to create a shortcut using PowerShell

I want to create a shortcut with PowerShell for this executable: C:\Program Files (x86)\ColorPix\ColorPix.exe How can this be done?
cethint
  • 2,231
  • 8
  • 28
  • 31
123
votes
11 answers

How to select multiple places (sublime) in code in Android Studio?

How to select multiple places in code in Android Studio ? I want to insert the same text in multiple places in my source code. Like a have more than one mouse cursor. I used to do it in VS2012 so easily though not sure how to do it in Android Studio…
Amir Ziarati
  • 14,248
  • 11
  • 47
  • 52
121
votes
9 answers

Is there a short cut for going back to the beginning of a file by vi editor?

When reading a long file by vi editor, it would be very nice to get back to the beginning of the file by some short cuts when you really need to do so. Even ctrl+B sometimes is too slow. Does anyone know such a tool?
user2045447
  • 1,351
  • 2
  • 8
  • 6
112
votes
5 answers

Eclipse shortcut "go to line + column"

Does anyone know if there is the shortcut "go to line + column" in Eclipse?
Javi Pedrera
  • 2,075
  • 4
  • 21
  • 29
102
votes
8 answers

Run a Command Prompt command from Desktop Shortcut

Is it possible to create a desktop shortcut that, when pressed, will open command prompt and run a pre-defined command?
Philip Kirkbride
  • 21,381
  • 38
  • 125
  • 225
101
votes
7 answers

How to find the Target *.exe file of *.appref-ms

I have to make a backup of the program running from the file *.appref-ms When I opened the file GitHub.appref-ms using a text editor I found http://github-windows.s3.amazonaws.com/GitHub.application#GitHub.application, Culture=neutral,…
VenomVendor
  • 15,064
  • 13
  • 65
  • 96
1
2 3
99 100