Use Sublime Text 2 to Replace Arduino IDE

Use Sublime Text 2 to Replace Arduino IDE

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.

Use Sublime Text 2 to Replace Arduino IDE-1

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;

Use Sublime Text 2 to Replace Arduino IDE-2

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())

Use Sublime Text 2 to Replace Arduino IDE-3

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

Use Sublime Text 2 to Replace Arduino IDE-4

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

Use Sublime Text 2 to Replace Arduino IDE-5

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

Use Sublime Text 2 to Replace Arduino IDE-6

1.10 Try it now!

2. Have a look

 

Use Sublime Text 2 to Replace Arduino IDE-7

Use Sublime Text 2 to Replace Arduino IDE-8

VN:F [1.9.13_1145]
Rating: 9.8/10 (4 votes cast)
VN:F [1.9.13_1145]
Rating: +1 (from 1 vote)
Use Sublime Text 2 to Replace Arduino IDE, 9.8 out of 10 based on 4 ratings

Related Posts

  • pfeerick

    I find it really strange that you say that the Arduino IDE does not show line/row numbers or that you can’t change the editor font. In the version you used in the screenshot, and all subsequent versions, the editor shows the current line number at the bottom left of the screen… just below where you have cropped the window. The editor font and font size can be changed in the IDE Preferences under File -> Preferences. This is no to say the IDE it fantastic – it needs improvement, but the features that this article claims are lacking are in fact present.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
    • http://elecfreakc.com Kathy Yang

      Thanks for feedback. We’ll have the engineer recheck.

      VN:F [1.9.13_1145]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.13_1145]
      Rating: 0 (from 0 votes)
  • simpleex

    This one seems tout work with st3 : https://github.com/Robot-Will/Stino

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  • John McKeever

    Doesn’t work on Sublime Text 3 :-(

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  • http://black-electronics.com/blog/ hemalchevli

    Really Cool!!

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
Go To Top