Last active
May 5, 2020 22:01
-
-
Save tommydunn/6f885cc3efbd505e327a to your computer and use it in GitHub Desktop.
Setting up Atom for Rails development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install caskroom/cask/brew-cask | |
brew cask install atom | |
apm install linter # Base linter | |
apm install linter-ruby | |
apm install linter-scss-lint | |
apm install linter-coffeelint | |
apm install linter-rubocop | |
apm install linter-haml | |
# nicer code | |
apm install atom-beautify | |
apm install atom-css-comb | |
# testing | |
apm install ruby-test | |
apm install cucumber | |
apm install cucumber-step # open the step definition | |
# language highlighting | |
apm install language-rspec | |
apm install language-haml | |
apm install language-docker | |
# just better | |
apm install project-manager | |
# other | |
apm install minimap # Shows you a tiny preview of the file on the right | |
apm install Sublime-Style-Column-Selection # Allows you to select columns | |
apm install toggle-quotes | |
apm install trailing-spaces | |
# for extra credit | |
apm install color-picker | |
apm install git-blame | |
gem install scss-lint | |
gem install rubocop | |
gem install coffee-script | |
npm install -g coffeelint | |
rbenv rehash # if you use rbenv | |
"ruby-test": | |
specFramework: "rspec" | |
rspecAllCommand: "bundle exec rspec --tty spec" | |
rspecFileCommand: "bundle exec rspec --tty {relative_path}" | |
rspecSingleCommand: "bundle exec rspec --tty {relative_path}:{line_number}" | |
cucumberAllCommand: "bundle exec cucumber --color features" | |
cucumberFileCommand: "bundle exec cucumber --color {relative_path}" | |
cucumberSingleCommand: "bundle exec cucumber --color {relative_path}:{line_number}" | |
"linter-rubocop": | |
command: "/Users/[yourname]/.rbenv/shims/rubocop" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment