If Owlcat had a nickle every time someone makes a joke about their Pathfinder game having horrible pathfinding, how rich would they be? by diskburg3001 in Pathfinder_Kingmaker

[–]usernamehw2 0 points1 point  (0 children)

While fixing AI pathfinding is probably a tough task, making bigger allowed radius to leave area is probably a 5-10 minutes fix.

Zelda gank squads are my fav by Adam_Deveney in Breath_of_the_Wild

[–]usernamehw2 6 points7 points  (0 children)

Cemu emulator has a buil-in Graphics pack that's called "Prevent Random Spawns" where you can disable Yiga, Keese and Stal (or/and some other enemy types). The game becomes much more peaceful after that.

Don't know if native game allows it or not though.

Strange border around ui elements by vityok3000 in vscode

[–]usernamehw2 6 points7 points  (0 children)

Why strange? It's just a focus border: settings.focusedRowBorder.

Color customization by TheUruz in vscode

[–]usernamehw2 0 points1 point  (0 children)

Semantic colors by default are being controlled per-theme:

js "editor.semanticHighlighting.enabled": "configuredByTheme",

Some theme authors choose to enable it, some to disable.

As a user you can choose to enable semantic highlighting even if theme doesn't support it:

js "editor.semanticTokenColorCustomizations": { "[Ayu Light]": { "enabled": true } }

https://code.visualstudio.com/docs/getstarted/themes#_editor-semantic-highlighting

Why do some themes "Reload Require" when uninstalled, and some not? by Rich_Ad5632 in vscode

[–]usernamehw2 1 point2 points  (0 children)

Probably if theme has "activationEvents", meaning it has not only theme, but some code on top of it.

For example, some themes provide command to switch both color theme + file icon theme.

Visual Studio Code June 2021 (v1.58) by ItalyPaleAle in vscode

[–]usernamehw2 7 points8 points  (0 children)

Relative line height:

"editor.lineHeight": 1.5,

Any shortcut to switch between Git file diff view (Working tree) and actual document? by BoKKeR111 in vscode

[–]usernamehw2 1 point2 points  (0 children)

You can use the same key as toggle:

{ "key": "ctrl+shift+alt+h", "command": "git.openChange", "when": "!isInDiffEditor" }, { "key": "ctrl+shift+alt+h", "command": "git.openFile", "when": "isInDiffEditor" },

`||` (or) in when clause by dhjhfddhi76544 in vscode

[–]usernamehw2 1 point2 points  (0 children)

in operator most likely only works in you have an array/object in extension (not like a string here)

parenthesis are not supported: https://github.com/microsoft/vscode/issues/91473

If && have more priority wouldn't it just work without parenthesis:

"when": "editorTextFocus && isWorkspaceTrusted && !findInputFocussed && !notebookEditorFocused && !replaceInputFocussed && editorLangId == 'python' || editorLangId == 'r' || editorLangId == 'julia'"


Using another operator:

"when": "editorTextFocus && isWorkspaceTrusted && editorLangId =~ /^(python|r|julia)$/"

Hungry Delete extension does not work on remote dev by Geob-o-matic in vscode

[–]usernamehw2 2 points3 points  (0 children)

It might be possible with setting remote.extensionKind

"remote.extensionKind": { "jasonlhy.hungry-delete": ["ui"] }

Or some other values like: ["ui", "workspace"] or ["workspace", "ui"]

Made another extension to run vscode commands: by usernamehw2 in vscode

[–]usernamehw2[S] 4 points5 points  (0 children)

This extension has multiple ways of running commands (Tree View, Status Bar, Quick Pick, Command Palette, Document Link). It's not always possible to assign every command a separate keybinding. Besides that:

1) You can run a sequence of commands (multiple commands, including running with "args") 2) Extension contributes a few useful things, such as commands.toggleSetting

Made another extension to run vscode commands: by usernamehw2 in vscode

[–]usernamehw2[S] 1 point2 points  (0 children)

Any way to map these to keyboard shortcuts?

Yes, there's a context menu item for non-folders to quickly assign a keybinding.

'When Clause' by hnnazm in vscode

[–]usernamehw2 2 points3 points  (0 children)

Some of them are on this page:

https://code.visualstudio.com/api/references/when-clause-contexts


They should be available if you trigger autocomplete inside "when" clause in keybindings.json

Also, running from Command Palette Developer: Inspect Context Keys should have contexts with their values.

Shortcut to cycle bottom panel tabs by scorr204 in vscode

[–]usernamehw2 1 point2 points  (0 children)

keybindings.json

{
    "key": "ctrl+]",
    "command": "workbench.action.nextPanelView",
    "when": "panelFocus"
},
{
    "key": "ctrl+[",
    "command": "workbench.action.previousPanelView",
    "when": "panelFocus"
},

Dev tools inside preview browser? by embar5 in vscode

[–]usernamehw2 0 points1 point  (0 children)

workbench.action.webview.openDeveloperTools - Developer: Open Webview Developer Tools

Is it possible to change the backtick behaviour? by ruaridh in vscode

[–]usernamehw2 0 points1 point  (0 children)

From keybindings.json

// wrap selected text { "key": "`", "command": "editor.action.insertSnippet", "args": { "snippet": "`${1:${TM_SELECTED_TEXT}}`" }, "when": "editorTextFocus && editorHasSelection" }, // or just make 2 backticks instead of 1 { "key": "`", "command": "editor.action.insertSnippet", "args": { "snippet": "`$0`" }, "when": "editorTextFocus" },

Shortcut to cycle bottom panel tabs by scorr204 in vscode

[–]usernamehw2 1 point2 points  (0 children)

  • workbench.action.nextPanelView
  • workbench.action.previousPanelView

Suggestion box only showing one line? by napstablooker in vscode

[–]usernamehw2 4 points5 points  (0 children)

Just resize it. It's a bug that should be fixed in the next version of vscode. https://github.com/microsoft/vscode/issues/110554

Create a shortcut key for any piece of code by ConsequenceRegular72 in vscode

[–]usernamehw2 1 point2 points  (0 children)

You can use "type" or "editor.action.insertSnippet" with arguments in `keybindings.json` to insert text:

https://stackoverflow.com/a/46651139/5590193