I've updated my Vscode to 1.43 (from a few versions below) and now when I Cmd+Click any class/type etc in TypeScript, instead of navigating to its definition, I get this arguably worst designed popup "inline window" ever:
This ugly window comes up whenever I click Response
. Before updating Vscode, it would just navigate to definition of Response
normaly by opening the file that contains the symbol as a new tab.
How can I get back to the normal behavior and get rid of this weird behavior completely?
Following rioV8
s advice in comments, I've searched for peek and found out that it can (fortunately) be disabled in settings.json
. Adding .vscode/settings.json
(or modifying it) file and putting the following solved the problem:
{
"editor.gotoLocation.multipleDefinitions": "goto",
"editor.gotoLocation.multipleDeclarations": "goto",
"editor.gotoLocation.multipleImplementations": "goto",
"editor.gotoLocation.multipleReferences": "goto",
"editor.gotoLocation.multipleTypeDefinitions": "goto",
}
Using the top menu, click Code -> Preferences -> Settings
Then search for peak, and under Text Editor , set the following 5 settings to goto
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.