question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VS Code language service is broken in 1.1.0 due to unessecary package

See original GitHub issue

Bug Report or Feature Request (mark with an x)

- [x] bug report 

Versions.

cli 1.1.0 VS Code Angular Language Service 0.1.3

Repro steps.

  1. Use VS Code with official Angular Language Service plugin installed.
  2. Create a project with CLI.
  3. Completion and error checking in HTML external templates doesn’t work.
  4. npm uninstall @angular/language-service
  5. Restart VS Code.
  6. Now it works.

Desired functionality.

VS Code Angular Language Service plugin seems to use :

  • it’s own install of @angular/language-service if it’s not present in node_modules
  • if present, it uses the project dependency, and unfortunately, the plugin is not always up to date with the last release of @angular/language-service.

I see no use to pre-install @angular/language-service as the developer won’t use it directly, and plugins should manage their own dependencies to be sure to use the good version.

So I think commit bb99fac should be reverted.

I’ve open the same issue in VS Code Angular Language Service project too : angular/vscode-ng-language-service#102

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
filipesilvacommented, Jun 6, 2017

@sumitarora can you take a look?

0reactions
angular-automatic-lock-bot[bot]commented, Sep 7, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular language service not working in vscode
Solution : we need to disable that or uncheck the box by going into extension settings. enter image description here. Share.
Read more >
November 2022 (version 1.74) - Visual Studio Code
Learn what is new in the Visual Studio Code November 2022 Release (1.74)
Read more >
vscode-java/CHANGELOG.md at master - GitHub
Java Language Support for Visual Studio Code. Contribute to redhat-developer/vscode-java development by creating an account on GitHub.
Read more >
How to set up Visual Studio Code for Unity - YouTube
Visual Studio Code is a source- code editor made by Microsoft for Windows, Linux and macOS. Features include support for debugging, ...
Read more >
Visual Studio 2022 version 17.2 Release Notes | Microsoft Learn
Fixed an issue where Account picker under "Azure Service Authentication" is broken and causes a restart of VS, and people using languages other...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found