I would like to introduce to use the Atom IDE on the IOT embedded code development.

Basically, lot of materiasl are came from the URL https://www.datacamp.com/community/tutorials/ide-atom

Atom is a free and open-source text and source code editor developed by GitHub (Atom – A Hackable Text and Source Code Editor for Linux). Its developers call it a “hackable text editor for the 21st Century” (Atom 1.0). Atom enables users to install third-party packages and themes to customize the features and looks of the editor, so you can set it up according to your preferences and with ease (Atom). It is as welcoming to a newbie as it is for an experienced developer.

Why IDEs and Code Editors

Why do you need an IDE or a code editor? You can always push commands on a terminal and execute your programs, whether R or Python. However, doing this for large programming projects can be pretty frustrating – especially if you aren’t used to the command line interpreter applications. Using an IDE or a good code editor can make coding easier and fun. They are coding tools that allow you to write, test, and also debug your code in an easier way. So if you want to be productive, IDEs and code editors are the way to go! They can handle code graciously – providing code auto-completion, syntax highlighting, resource management, debugging tools, etc.

What and why Atom?

Atom is a free and open-source text and source code editor developed by GitHub (Atom – A Hackable Text and Source Code Editor for Linux). Its developers call it a “hackable text editor for the 21st Century” (Atom 1.0). Atom enables users to install third-party packages and themes to customize the features and looks of the editor, so you can set it up according to your preferences and with ease (Atom). It is as welcoming to a newbie as it is for an experienced developer.

But what makes Atom so great for data science is that it allows you to work with R and Python in a consistent manner. And these two languages are not the only supported languages, Atom’s default packages can apply syntax highlighting for the following programming languages and file formats: C, C++, C#, COBOL, CSS, CoffeeScript, Go, HTML, Java, JavaScript, JSON, Perl, PHP, Ruby, Scala, SQL and many others as well (Atom).

Installing Atom

To get started with Atom and get in on your system, head over to their official website. At the top of the page you should see a download button as shown here:

But what makes Atom so great for data science is that it allows you to work with R and Python in a consistent manner. And these two languages are not the only supported languages, Atom’s default packages can apply syntax highlighting for the following programming languages and file formats: C, C++, C#, COBOL, CSS, CoffeeScript, Go, HTML, Java, JavaScript, JSON, Perl, PHP, Ruby, Scala, SQL and many others as well (Atom).

The download button should be specific to your platform, and the download package should be easily installable.

Launch it

Once you have Atom installed on your system, let’s get busy. When you launch Atom for the first time, you will get this screen:

Atom Packages

Atom in itself comes with fundamental functionalities, but you can use a number of useful packages that add new features. Packages are incredibly powerful and can change everything from looks to the feel of Atom’s interface and even the basic operation of even core functionality in Atom.

To install a new package, use the Install tab in the previously seen ‘Settings View’: open up the Settings View > click on the Install tab > type the package name you are searching for into the box under Install Packages.

My Preferences Packages

  • Sublime-Style-Column-Selection
  • Atom-beautify
  • git-plus
  • Split Diff
  • Goto-Definition
  • tabs-to-spaces
  • symbols-tree-view

Atom Beautify

Beautify HTML, CSS, JavaScript, PHP, Python, Ruby, Java, C, C++, C#, Objective-C, CoffeeScript, TypeScript, Coldfusion, SQL, and more in Atom

https://atom.io/packages/atom-beautify

I prefer to use uncrustify as the code formatting.

Uncrustify

https://github.com/uncrustify/uncrustify

A source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA

Pre compiled binaries for Windows can be downloaded here.

Add the path inside the environmental variables.