<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Osx on Janusworx</title><link>https://janusworx.com/tags/osx/</link><description>Recent content in Osx on Janusworx</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>feedback@janusworx.com (Mario Jason Braganza)</managingEditor><webMaster>feedback@janusworx.com (Mario Jason Braganza)</webMaster><copyright>© 2026, Mario Jason Braganza</copyright><lastBuildDate>Tue, 05 Jun 2018 08:44:42 +0530</lastBuildDate><atom:link href="https://janusworx.com/tags/osx/index.xml" rel="self" type="application/rss+xml"/><item><title>Programming, Day 3, Setting up VS Code to launch from the Command Line in OS X</title><link>https://janusworx.com/work/programming-day-3-vscode-command-line-osx/</link><pubDate>Tue, 05 Jun 2018 08:44:42 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/programming-day-3-vscode-command-line-osx/</guid><description>&lt;p&gt;Problem:&lt;br&gt;
I wanted to launch Microsoft’s Visual Studio Code from the command line at will.&lt;/p&gt;
&lt;!-- TEASER_END --&gt; 
&lt;p&gt;What I did:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Launch VS Code&lt;/li&gt;
&lt;li&gt;Hit cmd-shift-p (⌘-⇧-P)&lt;/li&gt;
&lt;li&gt;Begin to type Shell … and choose and execute “Shell Command: Install &amp;lsquo;code&amp;rsquo; command in PATH”&lt;/li&gt;
&lt;li&gt;Launch Terminal and check to see if VS Code launches by typing the &lt;code&gt;code&lt;/code&gt; command.&lt;/li&gt;
&lt;li&gt;Edit the &lt;code&gt;.bash_profile&lt;/code&gt; file in the home folder and change the &lt;code&gt;$EDITOR&lt;/code&gt; variable like so …&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;code&gt;# Setting Visual Studio Code as $EDITOR&lt;/code&gt;&lt;br&gt;
&lt;code&gt;export VISUAL=code&lt;/code&gt;&lt;br&gt;
&lt;code&gt;export EDITOR=&amp;quot;$VISUAL&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;And that should just about do it.&lt;/p&gt;
&lt;p&gt;Restart the terminal or source the bash_profile file for changes to take effect.&lt;/p&gt;</description></item></channel></rss>