Open daixtrose opened 7 months ago
relativeLocation
is what used when loading the extensions and absolute location is not used and of no importance here. So the portable VS Code should show the installed extensions when you move it to different device. Agreed that not storing absolute location in portable mode is clean.
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
C:\Users\<username>\Downloads\VSCode-win32-x64-1.88.1
)data
in this directory, i.e.C:\Users\<username>\Downloads\VSCode-win32-x64-1.88.1\data
data\extensions\extensions.json
, i.e.C:\Users\<username>\Downloads\VSCode-win32-x64-1.88.1\data\extensions\extensions.json
Expected Behavior
A relocatable configuration file
Actual Behavior
The configuration file contains full paths to the installed extensions. This renders the
data
directory feature useless for pre-installing stuff, then distributing it to other users, and this is a true PITA.Requested Behavior
Remove directory path of
extensions.json
(i.e./C:/Users/<username>/Downloads/VSCode-win32-x64-1.88.1/data/extensions/)
from alllocation.path
entries and remove the entryrelativeLocation