9

I'm using VS Code with Angular 8 and TypeScript 3.9.6 and suddenly when I'm on a template, ctrl+click or F12 to go to definition doesn't work any more. I got the following pop up message:

screenshot of error message]

I tried to uninstall and reinstall but was not able to solve the issue. These are actually installed extensions:

Angular.ng-template
Anjali.clipboard-history
byi8220.indented-block-highlighting
CoenraadS.bracket-pair-colorizer-2 
cyrilletuzi.angular-schematics     
dbaeumer.vscode-eslint
eamodio.gitlens
EditorConfig.EditorConfig
eg2.vscode-npm-script
esbenp.prettier-vscode
FallenMax.mithril-emmet
infinity1207.angular2-switcher
johnpapa.angular-essentials
johnpapa.Angular2
johnpapa.vscode-peacock
johnpapa.winteriscoming
ms-azuretools.vscode-docker
msjsdiag.debugger-for-chrome
msjsdiag.debugger-for-edge
nick-rudenko.back-n-forth
nrwl.angular-console
PKief.material-icon-theme

1 Answer 1

20

I found in July 2020 that downgrading the vs-code 'angular language service' to version 0.1000.3 fixes the "Go to definition" functionality. Here is an image showing where to downgrade: How to downgrade

1
  • I'm using version 0.901.11 of angular language service ( june 10 2021 ). With angular 11.
    – Eli
    Jun 10, 2021 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.