AdguardTeam / VscodeAdblockSyntax

Comprehensive extension to manage Adblock Syntax in VSCode: syntax highlighter, linter and much more. Available on the VSCode Marketplace.
https://marketplace.visualstudio.com/items?itemName=adguard.adblock
MIT License
70 stars 8 forks source link

Automatically detect package manager #117

Open scripthunter7 opened 8 months ago

scripthunter7 commented 8 months ago

VSCode has a command to detect the package manager: npm.packageManager.

This setting could be combined with our package manager logic to make the process automatic (in the current solution, user can only set the preferred package manager manually).

References:

If I understand correctly, this cannot be used directly in the language server, so there are two options: