Visual Studio F6 stopped working. It no longer builds the project

You can change keyboard bindings in the Tools->Options dialog. It’s under Environment->Keyboard. You can reset the binding here, and also check what might have stolen it by checking what’s currently bound to those keys. If you recently installed any add-ins, they’re known to set (sometimes unwanted) keyboard shortcuts.

Programmer’s VIM setup for Finnish/Swedish or other non-US keyboard layout

I just keep the keyboard with US layout when coding and only switch to local layout (italian) when writing text that requires accented letters or other language specific characters. After all it’s just a keypress to switch and nothing beats US layout for programming. I tried a bit but found that specifying lots of mappings … Read more

Keyboard shortcut to navigate Back Forward in Notepad++

There’s a plug-in Location Navigate, which enables you to navigate between your last edit/view points. ..Can use shortcut (ctrl + – for back position and ctrl + shift + – for forward position) to jump code back and forward.. The plug-in SourceCookifier comes with a navigation history, but it only remembers the jumps between symbols. … Read more

Can Eclipse the Organize Import (ctrl+shift+o) command’s handling of static imports be modified?

Sure: Window -> Preferences -> Java -> Code Style -> Organize Imports Adjust the value for “Number of static imports needed for .*” to 1, and it will always use .*. Of course, that’s not quite the same as saying, “Just leave static imports alone” but hopefully it’s what you want. Basically, this number says … Read more

What is the difference between `global-set-key` and `define-key global-map` in Emacs

Function global-set-key is an interactive function based on define-key which you can invoke by typing M-x global-set-key. Function define-key is rather used in Lisp programs. You can look up global-set-key‘s source code with C-h f global-set-key to see that it only wraps define-key. To answer your question, there are no significant differences between them.

Can GitHub Copilot stop auto-suggesting, instead be triggered by a keystroke?

In settings.json (under File, Preferences, Settings), I found that setting the more general option: “editor.inlineSuggest.enabled”: false, Seems to work as I’d hoped. Copilot suggestions are now only provided on-demand, when I press Alt\, and accepted when I press Tab I worry that this might disable other types of suggestions I rely on… but language auto-completion … Read more

Chrome Remote Desktop Keyboard Shortcut Needed

My solution to this problem is to leverage the handy “Configure Key Mapping” command provided by the latest version of Chrome Remote Desktop (v. 77.0 at the time of writing). The option is available in the sidebar as shown below. Clicking the link opens the “Configure Key Mapping” dialog, from which you can create your … Read more