About this package
This package installs a hook that will patch product.json every time the code package is updated. The patch basically does the following:
- Syncs proposed APIs with the latest vscode release. Some extensions don't work in code oss because some specific APIs are not enabled in product.json.
- Enable built-in settings sync feature.
- Disable telemetry.
- Use
~/.vscode
and~/.Code
instead of~/.vscode-oss
and~/.Code OSS
.
You might be confused why this package changes the data directory. There are two reasons:
- Some extensions (e.g. Pylance) require to use the data directory to work.
- Isolate settings sync data from the OSS version. People may want to install this package because they want to unlock some proprietary extensions, and may have some specific settings that only works with these extensions. Besides, this package will enable built-in sync feature, so isolating the settings may avoid some potential problems such as messing up your synced settings.
If you don't like this behavior, simply create a symlink.
About the maintainance
I'm a vim user, and I rarely use vscode. I created this package simply for fun. And for some reasons, I'm not using Arch Linux as my daily driver anymore.
I'll continue to maintain this package for a while until my old Arch Linux machine retires. If you want to become a maintainer of this package, feel free to contact me (i@sainnhe.dev).
Updating the package is very simple, you just need to run update.py
in the root of this repository. The script will automatically update patch.json
which contains the patch data.
Pinned Comments
sainnhe commented on 2024-05-17 03:39 (UTC) (edited on 2024-05-17 03:39 (UTC) by sainnhe)
About this package
This package installs a hook that will patch product.json every time the code package is updated. The patch basically does the following:
~/.vscode
and~/.Code
instead of~/.vscode-oss
and~/.Code OSS
.You might be confused why this package changes the data directory. There are two reasons:
If you don't like this behavior, simply create a symlink.
About the maintainance
I'm a vim user, and I rarely use vscode. I created this package simply for fun. And for some reasons, I'm not using Arch Linux as my daily driver anymore.
I'll continue to maintain this package for a while until my old Arch Linux machine retires. If you want to become a maintainer of this package, feel free to contact me (i@sainnhe.dev).
Updating the package is very simple, you just need to run
update.py
in the root of this repository. The script will automatically updatepatch.json
which contains the patch data.