Coder Social home page Coder Social logo

Comments (10)

Huachao avatar Huachao commented on May 22, 2024 1

@wallverb I will publish a release right now and after that you can remove the hack, and sorry for the inconvenience.

from vscode-restclient.

Huachao avatar Huachao commented on May 22, 2024

@wallverb are you using windows or macOS, since from the command you use, it seems macOS. Anyway, can you click the tab on VS Code: Help -> Toggle Developer Tools, and then you press the failed command, it will show error details in the Console in the developer tools view.

from vscode-restclient.

normalser avatar normalser commented on May 22, 2024

@Huachao - macOS, here is the info:

Conflict detected, command `toggleSearchRegex` cannot be triggered by alt+cmd+r due to rest-client.request
workbench.main.js:62 Conflict detected, command `toggleFindRegex` cannot be triggered by alt+cmd+r due to rest-client.request
workbench.main.js:93 Cannot read property 'toCustomLabel' of undefined: TypeError: Cannot read property 'toCustomLabel' of undefined
    at t.getLabelFor (file:////Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:92:28490)
    at Object.w [as appendKeyBindingLabel] (file:////Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:114:31225)
    at t.renderSearchInput (file:////Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:115:17546)
    at t.render (file:////Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:115:16649)
    at new t (file:////Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:115:15296)
    at t.createSearchWidget (file:////Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:115:31681)
    at t.create (file:////Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:115:28453)
    at e.<anonymous> (file:////Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:116:26052)
    at e.doElement (file:////Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:35:14008)
    at e.div (file:////Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:35:13050)

from vscode-restclient.

Huachao avatar Huachao commented on May 22, 2024

@wallverb it seems the keyboard shortcut I defined for request conflicts with the command toggleSearchRegex. Does this command also use the alt+cmd+r shortcut?

from vscode-restclient.

normalser avatar normalser commented on May 22, 2024

I see this in Preferences -> keybindings.json of code-insinders

{ "key": "alt+cmd+r",             "command": "toggleSearchRegex",
                                     "when": "searchInputBoxFocus && searchViewletVisible" },

but the issue happen even without pressing any shortcut

Here is the start:
image

and I will click Search icon in the left bar:

image

from vscode-restclient.

Huachao avatar Huachao commented on May 22, 2024

@wallverb can you help to try to add below code in Preferences -> keybindings.json, and check it will work?

{ "key": "cmd+alt+r",            "command": "rest-client.request",
                                     "when": "editorTextFocus && editorLangId == 'http'" },
{ "key": "cmd+alt+r",            "command": "rest-client.request",
                                     "when": "editorTextFocus && editorLangId == 'plaintext'" }

from vscode-restclient.

normalser avatar normalser commented on May 22, 2024

FYI:

this helps: (to cancel first that global command)

{ "key": "alt+cmd+r",            "command": "-rest-client.request"},
  { "key": "cmd+alt+r",            "command": "rest-client.request",
                                     "when": "editorTextFocus" }

from vscode-restclient.

normalser avatar normalser commented on May 22, 2024

Awesome, no worries, thanks a lot

from vscode-restclient.

Huachao avatar Huachao commented on May 22, 2024

@wallverb you can try the latest version 0.8.4 now, thanks πŸ˜„

from vscode-restclient.

normalser avatar normalser commented on May 22, 2024

Sure, I just did - works great πŸ‘

from vscode-restclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.