loading

We could often feel frustrated when programming using the Arduino IDE. Why? Not because of how many errors we encounter in the program, but it is so difficult to find out the errors in source code, which is really something freaking out. For example Arduino IDE does not seem to display the number of rows, the prompt window can show us in which line the error occurs, but we just have no ideas where the line it is. If you can double click to find exact position of that line, then we will not care about which line it is: line 1 or line 10. But that just hasn’t happened. What’s worse, it cannot change the display font, which reads clumsy or neither too small or unclear enough, as a consequence, seriously affecting the efficiency of our programming. So I wanted to transfer to another editor and the new editor had better be able to take the place of the Arduino IDE completely. Then I found the Sublime Text 2. Here take a look at the overall interface of it.

Note: The language of the Arduino depends on your operating system language. But you can certainly set your own language.

Source: ElecFreaks blog

Step 1: Install


1.1 Dwonload the tools.

Sublime Text 2

ST2-Arduino

1.2 Install Sublime Text 2 editor;

1.3 Unzip “ST2-Arduino-master.zip” to the installation directory “~\Sublime Text 2\Pristine Packages” ;

1.4 Run Sublime Text 2;

1.5 Press ctrl +` to bring up the bottom command window;

1.6 Paste the following code and press Enter:

import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())

1.7 Restart Sublime Text 2. If it has “package control” in Perferences->package settings, the installation is successfully.

1.8 Press Ctrl+Shift+P, input install and select Install Package and press Enter.

1.9 Arduino->Preferences->Select Arduino Application Folder.

1.10 Try it now!

Step 2: Have a Look

For more DIY blogs, visit http://www.elecfreaks.com/

<p>Since the provided code didnt work, Here is what i did to make it work:<br>- Install Sublime<br>- View --&gt; Show Console<br>- Browse with any browser to <a href="https://sublime.wbond.net/installation" rel="nofollow"> https://sublime.wbond.net/installation </a> and choose your Sublime-version (i have V2).<br>- Copy the code there to your Sublime-Console and press enter.<br>Please note that you should never republish the code provided there since it will change with every release...<br>- CTRL + Shift + P --&gt; Type &quot;Install&quot; and choose &quot;Install package&quot;<br>- Enter &quot;Arduino&quot; and choose &quot;Arduino-like IDE&quot;<br>- Arduino --&gt; Preferences --&gt; Select Arduino Application Folder.</p>
<p>I concur. I you have to select &quot;arduino-like IDE&quot; to get the Arduino menu item... there was another package in there just called &quot;Arduino&quot;... god knows what i just installed!</p>
<p>Hey :D I have installed Stino for ST 2, on Win 8.1. Installation without errors, Sublime detects Arduino language, there is an Arduino menu, but... options in &quot;Arduino&quot; menu are displayed grey, and they are inactive. I can't compile file, create new sketch, or even get to preferences to enter Arduino IDE path :/ Some ideas?</p>
<p>From https://packagecontrol.io/installation: &quot;<strong>WARNING:</strong> Please do not redistribute the install code via another website. It will change with every release. Instead, please link to this page.&quot;</p>
<p>Were people able to get this working? On Mac, it won't let me choose the application directory. On Windows 8.1 I get a missing cygwin1.dll error. The &quot;plain&quot; Arduino environment works on both setups before trying this.</p>
<p>I found the same thing on windows 10. The Stino plugin does not work on the platform. Seems like the Stino project is not very active at the moment. I gave up on it, and carried on using Atmel Studio.</p>
<p>1.6: Invalid syntax<br></p>
it's funcional in windows? because the github page of the plugin says it is optimised for mac os x.
<p>This looks really useful but you have a problem link with &quot;Sublime Text 2&quot; above which is manageable... just take out the first part with elecfreaks in it.</p><p>However you have a syntax error in the paste code at 1.6 which I can't work out what's wrong... possibly your use of the '` type of characters??</p>
<p>wait, can you compile and upload sketches with it too? Looks very nice!</p>

About This Instructable

20,538views

49favorites

More by ElecFreaks:How to make an Auto-Mecanum Vehicle How to make an Auto-Omni vehicle Arduino Compatible Multi-Function Car 
Add instructable to: