keyboard-shortcuts

Visual Studio Jump to Beginning of Function

 ̄綄美尐妖づ 提交于 2020-06-24 07:02:49
问题 I know that Ctrl + } will take you to the corresponding brace in Visual Studio, but say I'm in the middle of a gigantic function and I don't know where the top or the bottom is, is there a shortcut to get directly to the function declaration? void function() { //so many lines of code //can't see the top or the bottom curly brace //can i get to the top of the function with a shortcut? } 回答1: I have a fresh install of VS2017. As of 15.9.1, the default for me is Alt + Shift + [ . This is the

How to make error pop-up appear using keyboard in IntelliJ IDEA

∥☆過路亽.° 提交于 2020-06-10 02:20:30
问题 When using IntelliJ IDEA and writing code, and when code you wrote has an error, the only way I know to make IDEA show you the error details is to hover the mouse cursor over the problem. But that requires moving my hands from the keyboard to the mouse. Is there a hotkey that causes that pop-up with the error message to appear, or a way to configure such a hotkey? 回答1: On a Mac: Cmd + Shift + F1 On Windows: Ctrl + F1 On Linux: Ctrl + F1 You can check for anything else in Preferences -> Keymap

AltGr key not working, instead i have to use Ctrl+AltGr [closed]

天大地大妈咪最大 提交于 2020-05-24 08:06:09
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I encountered this problem several times. I want to use a character accessible using the AltGr Key but for some reason it doesn't work. As if i didn't press the AltGr key. Usually i experience this in remote Desktop but not on my local machine. I think that this is triggered when doing

Make comments of VSCode start at column position 0

若如初见. 提交于 2020-05-22 09:49:28
问题 In VSCode, when I press the key combination ctrl + / , VSCode will comment the selected lines, ensuring indentation is intact. So if a line of code starts at position 16, then the double slashes of comment (i.e., // ) will be at position 16, shifting the code to the right a little. I would like to set it, so that when I press ctrl + / , the comment double slashes // will always start at column position 0. Is this possible? Thanks. 回答1: It is a little tricky, but test this out. You need a

Python module (keyboard) is not recognizing 'fn' key

拥有回忆 提交于 2020-04-30 07:58:50
问题 I want to use the function keys as a part of a keyboard shortcut with python (3.6) and it is failing to recognize the fn key event. import keyboard keyboard.press_and_release('fn+down') 回答1: The keyboard project doesn't support the fn key, no. The keyboard.all_modifiers set shows you what it can support. On my Mac that produces: >>> import keyboard >>> keyboard.all_modifiers {'alt', 'ctrl', 'windows', 'shift'} Take into account that the Fn key may not be visible to the OS . From Wikipedia:

Visual Studio Code: Select each occurrence of find

梦想的初衷 提交于 2020-04-07 11:02:30
问题 I'm looking for a "select each occurrence of" something I'm trying to find. For example a file has a bunch of text that includes "abc", I type ctrl + f and type abc . I can either find the first one or the next one, but I would like to "multi-cursor" each one in the file. I've already found the feature that lets me highlight text and ctrl + d to get the next that matches the selection, but if there's a hundred of these things - well that gets quite tiresome. 回答1: Ctrl + Shift + L Select all

Visual Studio Code: Select each occurrence of find

南楼画角 提交于 2020-04-07 11:02:13
问题 I'm looking for a "select each occurrence of" something I'm trying to find. For example a file has a bunch of text that includes "abc", I type ctrl + f and type abc . I can either find the first one or the next one, but I would like to "multi-cursor" each one in the file. I've already found the feature that lets me highlight text and ctrl + d to get the next that matches the selection, but if there's a hundred of these things - well that gets quite tiresome. 回答1: Ctrl + Shift + L Select all

How to navigate to parent folder of current file in Project Explorer view using keyboard shortcut in Eclipse IDE?

╄→гoц情女王★ 提交于 2020-03-02 14:19:30
问题 In Eclipse IDE, having a current file opened in editor, and having Project Explorer view linked to editor. I would like to navigate back from parent to parent folder in Explorer view, using keyboard only . (where each folder may have hundreds of files) Alternately, I would like to toggle (close) parent folder of selected file in Explorer view. To demonstrate with a screenshot, here is the start state: and where I want to go, parent folder selected / or closed. Mouse workaround As a workaround

How to navigate to parent folder of current file in Project Explorer view using keyboard shortcut in Eclipse IDE?

大城市里の小女人 提交于 2020-03-02 14:16:20
问题 In Eclipse IDE, having a current file opened in editor, and having Project Explorer view linked to editor. I would like to navigate back from parent to parent folder in Explorer view, using keyboard only . (where each folder may have hundreds of files) Alternately, I would like to toggle (close) parent folder of selected file in Explorer view. To demonstrate with a screenshot, here is the start state: and where I want to go, parent folder selected / or closed. Mouse workaround As a workaround