domenica 3 maggio 2015

Visual Studio Code on Debian 32Bit.

Due to Microsoft License, https://code.visualstudio.com/License
It is not possible follow this procedure to work around the 64bit technical limitations.
So this post will be removed soon.
Install Microsoft Visual Studio Code on Debian 8 x86.
(This should work on ubuntu x86 too)
Install node, see here.


sudo npm install electron-prebuilt -g
unzip -d /tmp/vscode VSCode-linux-x64.zip
sudo cp -R /tmp/vscode/resources/app/ /opt/vscode

create a desktop entry in /usr/share/applications/vscode.desktop like:
[Desktop Entry]
Encoding=UTF-8
Name=Visual Studio Code
GenericName=Editor
Comment=Multi-platform Web editor by Microsoft.
Exec=/usr/local/bin/electron /opt/vscode %F
Icon=/opt/vscode/vso48.png
Terminal=false
Type=Application
MimeType=text/plain;
Categories=Application;Development;Editor;Utility;TextEditor;

(or grab here)
grab icon here:
http://postimg.org/image/eo49cf5oj/
and put in /opt/vscode
Done :-)



I have tested:
  • Javascript with Phaser.js
  • Node
  • Python with Flask
What need investigaion:
C# / ASP.NET refactoring (and others features) due to Roslyn and OmniSharp.
Need mono? Not sure but I do not need .net in any form.

Bonus: Thunard Sendto

If you are using debian with xfce or xubuntu, you can add a bit of integration:
Make an entry in /usr/share/Thunar/sendto, ex: vscode_sendto.desktop

[Desktop Entry]
Type=Application
Version=1.0
Name=Visual Studio Code
Icon=/opt/vscode/vso16.png
Exec=/usr/local/bin/electron /opt/vscode  %F
And.. voilà:

Nessun commento: