Dart Computer Programming for Beginners: 11 Atom Editor with Dart Plugin on Ubuntu

Опубликовано: 02 Октябрь 2016
на канале: Dash to Dartlang
1,828
13

Update: although the Atom editor works, I will be using the Visual Studio Code editor in the future. You can go here to view the installation:    • Installing Visual Studio Code for Dar...  . Although Visual Studio Code is different, it should be similar enough that you can easily follow along. If I am incorrect about that, please let me know in the comments, and I will do my best to address any missing information. Once you install VSC and become familiar with it, please go to my other series: Learn to program in Dart, and start at lesson 11, learning about Sets.
   • 01 Learn to Program in Dart:  the Dar...  
__________


In this video, we install the Atom editor for Dart. The Dartpad has been great for learning so far, but we need an editor on IDE (integrated development environment) to really help us out more in the future. The set up steps are as below:

sudo apt-get update
sudo apt-get upgrade

Install atom:
sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update
sudo apt-get install atom

https://www.dartlang.org/install/archive
download Dartium

Install dart plugin:

Install Dart SDK:
sudo apt-get install apt-transport-https
sudo sh -c 'curl https://dl-ssl.google.com/linux/linux... | apt-key add -'

sudo sh -c (please see video. Comments do not allow me to copy text here. sorry!)

sudo apt-get update
sudo apt-get install dart

Set environmental variable:
open .bashrc
export PATH=${PATH}:/usr/lib/dart/bin

pub global activate stagehand