GithubHelp home page GithubHelp logo

language-arduino's Introduction

Arduino language support in Atom

Adds syntax highlighting and snippets to Arduino files in Atom.

Inherits C++ syntax from language-c package.

Contributions are greatly appreciated. Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc.

language-arduino's People

Contributors

fega avatar jonatasleon avatar maxbrunsfeld avatar sanfam avatar staticrocket avatar szechyjs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

language-arduino's Issues

Arduino Syntax doesn't stay focus

Hello,
The plugin works perfectly (or almost) the concern is that I am obliged to select the Arduino syntax at each launch of Atom without which it selects me the C++ syntax all the time, do you have a solution for this?

Atom v1.23.1

Issue with long text string

Hey There,
I've come across an issue when I'm trying to make a long text string. I'm not 100% sure what is going on.

I have the following Code:
sDataString = "{ \"SystemID\" : \"" + SYSTEMID + "\", \"Probe1\" : \"" + Probe1 + "\", \"Probe2\" : \"" + Probe2 + "\", \"Probe3\" : \"" + Probe3 + "\", \"Probe4\" : \"" + Probe4 + "\", \"Ambient1\" : \"" + Ambient1 + "\", \"Ambient2\" : \"" + Ambient2 + "\", \"Ambient3\" : \"" + Ambient3 + "\", \"Ambient4\" : \"" + Ambient4 + "\", \"MQTT_Timestamp\" : \"" + getTS("time") + "\" }";

However, the last few parts of it appear if it's still a string.
screen shot 2015-11-28 at 9 54 54 am

Do you have any ideas?

Alternative comment style

Thanks so much for the work on this package. I was wondering if it would be possible to add functionality for using two forward slashes // for commenting instead of /* */

Snippets needed

The plugin needs some more snippets. please add them:
void stup(){}
void loop(){}
INPUT OUTPUT
LOW HIGH
A0, A1, A2, etc.
thanks a lot

Missing switch function

I think this will do:

'Switch':
  'prefix': 'switch'
  'body': """
    switch (${1:var}) {
      case ${2:label}:
        ${3://statements}
        break;
      case ${4:label}:
        ${5://statements}
        break;      
    }
  """

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.