You are here

Visual Studio Code Portable 1.96.2 Dev Test 1

20 posts / 0 new
Last post
Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
Visual Studio Code Portable 1.96.2 Dev Test 1

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 support 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.96.2 - Windows 10+ & x64 only

Download Visual Studio Code 1.96.2 Portable Dev Test 1 [100MB download / 393MB installed]
(MD5: f1750d114edaaa7c821ead6a69f7c063)
(SHA256: 1cff97d37f888592833531dced845f812d7061c1a96a5d5d409d1e1e3fa21394)
(SHA512: c7eda44aa9def1fc2038ffc23b7f84d59d3a60025410a191220fff54b1b2ac903af498c7f1fdd79e2c89b43e9cf56e13b24783c2f458234547b070afc27d3f2f)
(BLAKE3: 74fe3be9692390888ae1666c80838330586a33f533aa1e147d8dd6202717c639)

v1.81.1 - x86 & x64

Download Visual Studio Code 1.81.1 Portable Dev Test 1 [150MB download / 659MB installed]
(MD5: 01cdf709e748a0cbf0b0395521e6c2f4)
(SHA256: c9adab997b631381795ce216c691579b1e22b25da21290da894e0c15043c37b9)
(SHA512: 1742536306ecc1664ffd6a43a9517924e2351b547632a2e354fd9286970c31209b2ae48236cbe9546866f2b23ac3b77142abf1d217eb2c55393e84fcd84e274f)
(BLAKE3: 224248d267d1c318c9b94bb5d0f0653ba0956b6833ea84db8c790e5aa75d02bb)

Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
not quite perfect...

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. Smile

JLim
Offline
Last seen: 7 months 2 weeks ago
Joined: 2013-07-17 01:30
My modified launcher ini

[Launch]
ProgramExecutable=x86\Code.exe
ProgramExecutable64=x64\Code.exe
DirectoryMoveOK=yes
SupportsUNC=yes

[Activate]
Java=find
XML=true
Registry=true

[RegistryKeys]
-=HKCU\Software\Classes\vscode

[DirectoriesMove]
Code=%APPDATA%\Code
.vscode=%USERPROFILE%\.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.

rdd
rdd's picture
Offline
Last seen: 1 week 6 days ago
Translator
Joined: 2013-03-22 06:59
Try this

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
SupportsUNC=yes
CleanTemp=false

[Activate]
Registry=true
Java=find
XML=true

[RegistryKeys]
-=HKCU\Software\Classes\vscode

[DirectoriesMove]
Code=%FullAppDir%\data
settings\.vscode=%USERPROFILE%\.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.com/manuals/PortableApps.comLauncher/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.com/comment/235595#comment-235595

Note: use %USERPROFILE% instead of %HOMEPATH%
Note2: there is no need of installer.ini if you use both x64 and x86

Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
ok

good call on the %userprofile% thing. and i am using the installer.ini to preserve directories between installs. and i chose to leave project transfers up to users. might change in the future.

as for the trademark... what would i have to change?

rdd
rdd's picture
Offline
Last seen: 1 week 6 days ago
Translator
Joined: 2013-03-22 06:59
The name

Change the name. For example ccPortable 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.

Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
ok

if it comes down to it, we'll call it vscPortable Smile

Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
Big Update

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. Smile

JarC
Offline
Last seen: 1 week 2 days ago
Joined: 2007-08-27 12:37
I tried the v1.87.2 - x64

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 %userprofile% 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 userprofile 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.

Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
Fixed!

sorry about that. Smile

testplayer
Offline
Last seen: 1 week 6 days ago
Joined: 2015-01-12 05:47
Any possibility to also make

Any possibility to also make a portable version for VSCodium?

asalan
Offline
Last seen: 11 months 1 week ago
Joined: 2023-11-21 06:35
VSCodium by Portapps

VSCodium portable app made by Portapps, download here

Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
Someone is attempting it here:

https://portableapps.com/node/68350

I might end up repackaging it in proper format... They don't seem to be following the standard of the site.

testplayer
Offline
Last seen: 1 week 6 days ago
Joined: 2015-01-12 05:47
Yes, please repack it. I

Yes, please repack it. I really want a proper .paf.exe instead of a 7zip, as I replied to the OP in that topic.

Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
Here you go :)
Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
Update to 1.85.1 DT 1

Updated base app. New versions are 64 bit only.

Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
Update to 1.86.0 DT 1

Updated base app.

Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
Update to 1.87.1 DT 1

Updated base app. Fixed minor errors in help.html file.

Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
Update to 1.92.2 DT 1

Updated base app. Fixed directory structure.

Peppernrino
Peppernrino's picture
Offline
Last seen: 3 days 20 hours ago
Joined: 2016-09-05 13:42
Update to 1.93.0 DT 1

Updated base app.

Log in or register to post comments