pylance will try to lookup files in ~/.vscode/extensions directory then it will fail, solution :
ln -s ~/.vscode-oss ~/.vscode
Git Clone URL: | https://aur.archlinux.org/code-features.git (read-only, click to copy) |
---|---|
Package Base: | code-features |
Description: | Unblock some features in Code OSS |
Upstream URL: | https://github.com/microsoft/vscode |
Keywords: | vscode |
Licenses: | unknown |
Conflicts: | code-features |
Provides: | code-features |
Submitter: | sainnhe |
Maintainer: | sainnhe |
Last Packager: | sainnhe |
Votes: | 53 |
Popularity: | 0.35 |
First Submitted: | 2021-04-06 00:46 (UTC) |
Last Updated: | 2024-04-10 11:28 (UTC) |
pylance will try to lookup files in ~/.vscode/extensions directory then it will fail, solution :
ln -s ~/.vscode-oss ~/.vscode
@prettyvanilla: This package needs to be updated, but I don't have time recently. Anyone wants to be a maintainer?
Looking into the Developer Tools Console I noticed that there are currently mismatches between what some extensions want and what API proposals are currently enabled/patched in. The following seem to be missing:
"ms-vscode.js-debug" (and I presume "ms-vscode.js-debug-nightly" consequently as well) misses the "tunnels" API, and "ms-vscode.remote-repositories" misses "contribShareMenu" and "editSessionIdentityProvider". Unless there are reasons not to enable these it would be great if you could add them.
@xuiqzy: Thanks! I've added that.
Should maybe optionally depend on icu69 for liveshare to work with the code package, since it is only usable with this package as a feature not available in the code build normally.
@sainnhe the real issue it's here https://github.com/MicrosoftDocs/live-share/issues/4669 and install the icu69 aur package it's the solution.
I have tried icu70 and work, it don't replace the icu package and you can have installed icu and icu70 together.
@sainnhe You're welcome!
@GFdevelop: I found the exact issue on github, looks like a packaging issue of community/code.
@jongeduard: Thanks! It should be fixed now.
ERR command 'liveshare.startFromWelcomeContent' not found: Error: command 'liveshare.startFromWelcomeContent' not found
Package or extension error?
Pinned Comments
sainnhe commented on 2023-08-13 13:31 (UTC)
Upgrading notes for v1.81.1
The code has been refactored in python, upgrading requires manual interventions:
Don't reinstall them, uninstall and install these packages instead.
Since the code has been refactored, you can easily modify the code to upgrade to a new version by yourself if I cannot update this package in time. Simply download the latest tarball from code.visualstudio.com and extract them, then run
update.py
to updatepatch.json
(The usage is documented inupdate.py
), and runmakepkg --skipchecksums -i
to rebuild and install this package.Microsoft has introduced new detection method for Pylance extension, now this AUR package cannot bypass the version check of it. Although you can downgrade Pylance to a lower version to continue to use it, but I'd recommend to switch to a FOSS alternative instead (e.g. Pyright) because you'll never know what Microsoft will do in the future. Microsoft sucks :)
The data folder has changed to
~/.vscode
because some extensions provided by Microsoft will explicitly use that folder, otherwise they won't work.