[Github-comments] [geany/geany] Add Arduino custom filetype (#1339)

Giorgioggì notifications at xxxxx
Fri Dec 16 10:37:27 UTC 2016


SukkoPera commented on this pull request.



> +
+[indentation]
+#width=2
+# 0 is spaces, 1 is tabs, 2 is tab & spaces
+#type=0
+
+
+# Use this reference for making up Arduino command lines:
+# https://github.com/arduino/Arduino/blob/master/build/shared/manpage.adoc
+[build-menu]
+FT_00_LB=_Build
+FT_00_CM=arduino --verify "%d/%f" --board arduino:avr:uno
+FT_00_WD=
+
+FT_01_LB=Build (_Verbose)
+FT_01_CM=arduino --verify --verbose-build "%d/%f" --board arduino:avr:uno

The Uno is the "standard" Arduino nowadays, definitely the most common one. Of course I would love to have a board selection menu, but I guess we need a plugin rather than a filetype, for that. In fact, I am actually considering the possibility of writing an Arduino plugin.

That option can only be left out if you want to compile for the latest board that you selected in the Arduino IDE, but I think it is more practical to override it by customizing the command line in the project settings, rather than having to open the Arduino IDE and change the board there. If I have to do that, at that point I can just hit the Compile button in the IDE to do the build.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1339
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161216/ada2a6bd/attachment.html>


More information about the Github-comments mailing list