Application: Visual Studio Code
Category: Development
Description:
The Visual Studio Code IDE.
Features: Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages and runtimes (such as C++, C#, Java, Python, PHP, Go, .NET).
v1.100.2 - Windows 10+ & x64 only
vsortable 1.100.2 Dev Test 1 [1.21MB / 406MB installed]
(MD5: a93b77e5b69034d5576ae7afedff8a8d)
(SHA256: cd6cb484b158ba5a69dad4c31929b6fcc3013a5c9640cee1116a3838f868b814)
(SHA512: a33a0ef99aba9a58c2bdca6e5a60c7ab2aa6c6600d617eda0ab620a2d3e348511cbb4c2783d26eb3cfdfb6592b542f852dbd9cc7ed310a8c39813da75a6c988b)
(BLAKE3: b90a8374670354ef952fcf80d7f1393d3ecbef4eed6cccc085b3fe0474483d4d)
Has the same issue as Arduino 2.1.1, where it creates a directory in %HOMEPATH% called .vscode, that i can only copy... it reverts to default settings upon opening the program again.
Any help is appreciated.
[Launch]
ProgramExecutable=x86\Code.exe
ProgramExecutable64=x64\Code.exe
DirectoryMoveOK=yes
sUNC=yes
[Activate]
Java=find
XML=true
Registry=true
[RegistryKeys]
-=HKCU\Software\Classes\vscode
[DirectoriesMove]
Code=%APPDATA%\Code
.vscode=%PROFILE%\.vscode
[DirectoriesCleanupForce]
;1=%APPDATA%\Code
You have already a DirectoriesMove on %APPDATA%\Code. If you force delete %APPDATA%\Code means that you want to delete the local one.
There are several ways to make it portable (check the forum), but after a simple search in internet for
visual studio code portable
we can find this https://code.visualstudio.com/docs/editor/portable#_enable-portable-mode, so let's use them.\VSCodePortable\App\AppInfo\Launcher\VSCodePortable.ini
[Launch]
ProgramExecutable=x86\Code.exe
ProgramExecutable64=x64\Code.exe
DirectoryMoveOK=yes
sUNC=yes
CleanTemp=false
[Activate]
Registry=true
Java=find
XML=true
[RegistryKeys]
-=HKCU\Software\Classes\vscode
[DirectoriesMove]
Code=%FullAppDir%\data
settings\.vscode=%PROFILE%\.vscode
And because there are x64 and x86 version, you may wish to transfer the
data
folder between them. For this you will need a custom code > https://portableapps.sitesunblocked.org/manuals/portableapps.sitesunblocked.orgLauncher/topics/64-bit....\VSCodePortable\App\AppInfo\Launcher\Custom.nsh
${SegmentFile}
${SegmentInit}
${If} $Bits = 64
${SetEnvironmentVariablesPath} FullAppDir "$EXEDIR\App\x64"
${Else}
${SetEnvironmentVariablesPath} FullAppDir "$EXEDIR\App\x86"
${EndIf}
!macroend
After that you must re-build the launcher again because of the
Custom.nsh
.Also, please note that Visual Studio Code is a trademark > https://portableapps.sitesunblocked.org/comment/235595#comment-235595
Note: use %PROFILE% instead of %HOMEPATH%
Note2: there is no need of
installer.ini
if you use both x64 and x86good call on the %profile% thing. and i am using the installer.ini to preserve directories between installs. and i chose to leave project transfers up to s. might change in the future.
as for the trademark... what would i have to change?
Change the name. For example cortable is CCleaner, rcvPortable is Recuva, zmPortable is Zoom. Also I'm not sure about bundling. Read the license, if it allow it, if not - then provide online installer.
if it comes down to it, we'll call it vsortable
Update base app to 1.81.1
Turns out there is actually a portable mode in vs code, and i released the first version without knowing this. This version is done properly, incorporating a couple of fixes suggested in the comments. Enjoy.
I tried the v1.87.2 - x64 only version, and I assume you have not applied the native portable mode to that one, it still copies all data to the subfolders in %profile% and %appdata%. So I just said f* it and went with the native portable version... saves a buttload in launch times and don't need to install a useless 32 bit version.
Frankly speaking, I wonder why you even bothered to have it copy the files to profile and appdata... a simple rename to use the data folder inside the app folder would have greatly reduced loading and closing times. And you wouldn't even need the registry key.
sorry about that.
Any possibility to also make a portable version for VSCodium?
VSCodium portable app made by Portapps, here
https://portableapps.sitesunblocked.org/node/68350
I might end up repackaging it in proper format... They don't seem to be following the standard of the site.
Yes, please repack it. I really want a proper .paf.exe instead of a 7zip, as I replied to the OP in that topic.
https://portableapps.sitesunblocked.org/node/70298
Updated base app. New versions are 64 bit only.
Updated base app.
Updated base app. Fixed minor errors in help.html file.
Updated base app. Fixed directory structure.
Updated base app.
How to the file that is provided above of visual studio code portable
There was a note above the link stating that I had been called to work, and that I would need a few hours to remedy the situation. I guess you must have missed that somehow, but the link is back and better than ever!
New package has new naming scheme and contains online installer, to remain in legal standing with Microsoft.
32-bit is no longer available until further notice.
Package also now includes some improvements borrowed from the old garethflowers repo that was abandoned ~2019. Enjoy!
Edit: aaaaaaand 1.99.0 is out already. lol wow. Package will install that now. Will update version number when i get a chance later this afternoon.
This looks great, but I'm having a problem with the installer.
I get an error that says "The ed copy of VSCode is not valid and can not be installed. Please try again."
This is with the current 1.99.3 .paf build.
Sorry about the mixup. It seems I need to keep up on this package a bit more than others. I'll set up some sync thing in the future once I'm smarter.
See explanation in comment below.
missing required tool like .net, etc?
false windows?
one or both...
i help were i can. maybe you can help me too. threads in /track.
if you don't want to help don't post crap!
This was completely my fault. Please don't spread distress in the community.
The new online version of the install requires that I update the package version, the SHA256 hash, the file size, and the package, all at once. There is no way to circumvent this without providing a that isn't from Microsoft.
Thanks for the info, but I'm still getting the same error with the current v1.100.2 build, "The ed copy of VSCode is not valid and can not be installed. Please try installing again."
As Peppernrino told before, it's the same issue as with any online installer here at PortableApps. It will happen again, when the base app is updated or otherwise changed by the original provider (microsoft in this case). This installer will the official package from the ms-server, check for the correct hash - for the 1.100.2 version in this actual case - and stop with the error message because the has is incorrece, because the package (1.100.3) differs from the expected one. I did not check the installer, but it may even refuse to , in case the filename has changed.
That's the way online installers have been designed for ages now to prevent security issues.
All you can do is posting a heads up here.
Without using an online installer, there would be no way to provide this package as repackaging is prohibited by the license. afaik.