Comments (10)
@wallverb I will publish a release right now and after that you can remove the hack, and sorry for the inconvenience.
from vscode-restclient.
@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.
@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.
@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.
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
and I will click Search
icon in the left bar:
from vscode-restclient.
@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.
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.
Awesome, no worries, thanks a lot
from vscode-restclient.
@wallverb you can try the latest version 0.8.4 now, thanks π
from vscode-restclient.
Sure, I just did - works great π
from vscode-restclient.
Related Issues (20)
- Cannot click SEND REQUEST if swapping window HOT 7
- Concatenate variables HOT 1
- Request body in JSON file not working with relative or absolute path HOT 1
- Response extremely slow compared to Postman HOT 1
- Is it possible to not encode a Basic Authorization header?
- Output or Print response or value of variable ( HOT 3
- ζδ»Άε€±ζδΊε¦ HOT 1
- No Send Request link HOT 1
- [VS Code IDE] socket hang up only for http request after upgrade vscode to v1.81 and above
- Warning: The content type of response is application/json, while response body is not a valid json string HOT 1
- add support for default url defined by `@host` for httpyac compatibitlity
- why not support 'DELETE' option. HOT 2
- The gzip-compressed JSON data transmitted by the backend is not available to the variables.
- TLS problem(mybe) with domain in /etc/hosts with traefik
- Please release latest version HOT 1
- πΎ not working for me - details in description HOT 1
- can you support the Jetbrains IDEA environment json file for vscode ?
- Duration in response output window
- Integrate automation test scripts
- Telemetry should not be on by default HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-restclient.