Professor Simpkins keeps his dotfiles on GitHub
These go in your ~/.bash_profile
.
# My prompt string, which you see when I demonstrate in the terminal
export PS1="\[\033[32;1m\][\u@\h \w]\n$ \[\033[0m\]"
# Aliases to save some typing
alias ll='ls -la'
# A personal bin directory
export PATH=~/bin:$PATH
Download checkstyle-6.2.2.jar to your ~/bin
directory. Create a file named checkstyle
in your ~/bin
directory with the following contents:
#!/usr/bin/env bash
java -jar ~/bin/checkstyle-6.2.2.jar "$@"
Then make it executable:
$ cd bin
$ chmod +x checkstyle
Now you can run checkstyle on any Java file like this:
$ checkstyle Foo.java
Audit done. Errors (potential points off):
0
First, be sure to familiarize yourself with basic Atom usage. The Getting Started guide is enough to make you quite proficient. In Atom Preferences, make sure the following are checked:
To make Sublime Text always use spaces instead of tabs, add the following lines to your user settings under preferences:
{
"tab_size": 4,
"translate_tabs_to_spaces": true,
"rulers": [80],
"trim_trailing_white_space_on_save": true
}