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
75 stars 8 forks source link

Automatically detect package manager #117

Open scripthunter7 opened 1 year ago

scripthunter7 commented 1 year 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: