Configure AllowedExtensions Group policy is limited to 1024 characters, longer policy is ignored
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.97.2
- OS Version: Win11 23H2
Steps to Reproduce:
- set HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\VSCode\AllowedExtensions to a string longer then 1024 characters
- Visual studio code will ignore the policy
@isidorn 1024 is way to short for an allow list, we can't implement that policy :-(
This was the feature introduction: #84756
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.98.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
seems to be silently fixed in 1.98.0
@ckrueger1979 thanks for filling this. @sandy081 fixed this by making this group policy be a string array, and not a string. Thus extending the limit.
I will go ahead and close this one