1. Bitbucket Website
  2. Public Issue Tracker
  3. master

Issues

Issue #3479 resolved

Add syntax highligting for Arduino language ( C/C++ ) (BB-3458)

Ville Säävuori
created an issue

Arduino is an open-source electronics prototyping platform which is programmed with Arduino programming language, which is basically C but with some syntactic sugar added on top.

Arduino IDE filetypes are text files ending with .ino (new) or .pde (old). At the moment neither of these files are syntax highlighted at all. It would be nice if they were highlighted with C/C++ lexer.

Comments (3)

  1. Vadim Ippolitov

    [edited] Seems like BitBucket incorrectly detects the filetype when the file starts with a # symbol. For example, with an #include directive. To resolve the problem, just add a comment on the first line of your file.

  2. Log in to comment