Go Down

Topic: Sublime Text and Stino: Best IDE you can have. (Read 22341 times) previous topic - next topic

tomasi

Dec 18, 2012, 07:48 am Last Edit: Dec 18, 2012, 08:11 am by tomasi Reason: 1
Stino is a Sublime Text plugin for upload/compile arduino sketches. Im using it on ElementaryOS (Ubuntu based) and can't imagine a better IDE. Sublime Text  has plugins for code completion, snippets,and lots of stuff... everything is there.
If you are curious, take a look at
http://www.sublimetext.com/

This is a plugin installer for Sublime Text plugins :
http://wbond.net/sublime_packages/package_control

After  install, do a search for arduino snippets.


this is a snippet collection  not listed in package installer ( very good snippets there):
https://github.com/geetarista/ST2-Arduino

The coolest plugin i've found for Sublime Text and Arduino upload/compile.Kudos to the developer:
http://kaixin.netii.net/stino-a-sublime-text-2-plugin-for-arduino.html#comment-16


Forget about Eclipse, Netbeans and other editors...

Cheers.

Stino - A sublime text plugin for Arduino
https://github.com/Robot-Will/Stino


pito

Nice!
With 1.5.2 (XP):
1. it does not show sketches with deeper directory structure (ie. c:/mysketchfolder/XX/YY/my.ino)
2. it has problem to compile sketches with multiple files (cannot find the main with setup and loop)..

This plugin is still under development, so there are still problems remaining.
Stino - A sublime text plugin for Arduino
https://github.com/Robot-Will/Stino

I can't believe I haven't found this before! I love Sublime, this is great! Thank you for making this plugin.

I'm interested in using avr assembly to program my Arduino (need that extra oompf for video out). I'm using OS X so AVR Studio is not an option. Any chances that Stino would one day support assembly programming?  :)

I don't think it's difficult to add support of assembly. But I need some information:
1. the extension name of assembly files? is ".S"?
2. compilation command?

In Arduino platform.txt, there is one line:
compiler.S.flags=-c -g -assembler-with-cpp
but there is no compilation command.
Stino - A sublime text plugin for Arduino
https://github.com/Robot-Will/Stino

mrbbp

Ay!!!

Really, really cool plugins.
Thanks.

Hurra to @Robot-Will... (i kiss your feet) ;)

Thanks for the tip! I love keeping everything within Sublime.

Robin2

As it costs $70 I will stick with Gedit and maybe spend the money on Arduino hardware.

...R

pYro_65

Your last item is flagged as an unsafe page (http://kaixin.netii.net/stino-a-sublime-text-2-plugin-for-arduino.html#comment-16) .
Both VirusTotal and Comodo flagged it.

#11
Jan 04, 2014, 03:48 pm Last Edit: Jan 04, 2014, 04:51 pm by blink1073 Reason: 1
Note for Due users:  
If you install SublimeLinter, you can get Linting on Arduino files by editing the following in SublimeLinter > Settings - User:

"linters": {
           "clang": {
               "@disable": false,
               "args": [],
               "excludes": [],
               "extra_flags": "",
               "include_dirs": [
                    "/path/to/arduino-1.5.5/hardware/arduino/sam/cores/arduino",
                    "/path/to/arduino-1.5.5/hardware/arduino/sam/system/libsam/",
                   "/path/to/arduino-1.5.5/hardware/arduino/sam/variants/arduino_due_x",
                   "/path/to/arduino-1.5.5/hardware/arduino/sam/system/CMSIS/Device/ATMEL/",
                   "/path/to/arduino-1.5.5/hardware/tools/g++_arm_none_eabi/arm-none-eabi/include/",
                   "/path/to/arduino-1.5.5/hardware/tools/g++_arm_none_eabi/lib/gcc/arm-none-eabi/4.4.1/include",
           }
       },

Where "/path/to/arduino-1.5.5" is the path to your arduino IDE install.  
However, this only affects CPP/H files unless you open an INO file and click on the bottom right (where it says Arduino) and select "Open all with current extension as..." > C++.  
Thanks Robot Will, your plugin is excellent!

f.schiano

I have some problems with Sublime text. For example some code that is compiling in the Arduino IDE it is not working in the Sublime Text.

For example I have the following errors:
Code: [Select]

C:\Users\***********\Controller_v3_2.ino.cpp:509: error: 'SPI_CONTINUE' was not declared in this scope
C:\Users\***********\Controller_v3_2\Controller_v3_2.ino.cpp:510: error: 'SPI_LAST' was not declared in this scope


I have no idea how to solve this problem. Could you help me?
L'impossibile...richiede solo piu' tempo!

pYro_65

SPI_CONTINUE and SPI_LAST do not appear to be in the Arduino package ( 1.0.5 ). You might have left out/improperly included a library and/or sublime might not define something that is used to conditionally include the SPI_x symbols.

destr0

Hi,

I just added support for assembly files used in your sketch or external libraries.

If Robot-Will accepts the modification, it will be on his github repo, but if you're hurry, use mine instead: https://github.com/HectorBravo/Stino

Go Up