Closed bobderrico80 closed 3 years ago
@bobderrico80 Thanks for bringing this to our attention. We are actually planning to remove the ngdk
option, because there is no guarantee that the latest extension will work well with an older version of @angular/language-service
. In fact, there is check in place to make sure we don't load a version that's too old.
Instead, we recommend users to install an older version of the extension from the marketplace should they need to revert for any reasons.
The original intention of introducing ngdk
is to allow the extension to load @angular/language-service
from user's workspace / project, but we found that approach non-ideal because it hampers our ability to fix bugs (users have to upgrade both @angular/language-service
in their project and the extension in their IDE to get the latest fixes).
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.
🐞 bug report
Is this a regression?
No
Description
Overriding the
angular.ngdk
setting does not seem to work (i.e, the bundled version of@angular/language-service
is used instead of the one I am attempting to override.Bug Type
What does this bug affect
Reproduction
Steps to reproduce the behavior:
@angular/language-service
globally (npm install -g @angular/language-service@v8-lts
)settings.json
(Cmd+,
clickOpen Settings (JSON)
)settings.json
file.P
, type and selectAngular: Restart Angular Language server
)Output
pane, and selectAngular Language Service
from the dropdownExpected behavior
The output line pasted above would be as follows:
Logs
Log file gives us deep insight into the behavior and performance of the extension. If the issue is a performance problem or an error occured, please provide the output of the log file below.
Set Angular Log level to verbose.
ngls-verbose.log
Screenshots
If applicable, add screenshots to help explain your problem.
🌍 Your Environment
Angular Version:
Extension Version:
VSCode Version:
Operating System:
Anything else relevant?