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
#!/usr/bin/env bash | |
# Check for JSHint errors | |
function linth { | |
if [[ "$1" == *js ]] | |
then | |
if [ -n "$(type -t jshint)" ]; then | |
printf "\nJSHint results for $1:\n\n" | |
jshint $1 | |
else |
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
#!/usr/bin/env bash | |
function ch { | |
printf "Running git status...\n" | |
printf "Files changed:\n" | |
filesChanged=`git status -s | cut -c4-` | |
echo $filesChanged | |
for word in $filesChanged | |
do | |
sublime $word |
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
1) Project, Module, Project Settings, Module Settings, Global library, Project stucture | |
Add dependency (by path, directory, module). | |
2) Import a module (Eclipse, SBT, Maven..) | |
3) Open (files, classes,symbols, line numbers, unpinned, native-neighbourhood [Intellij & Sublime] , reveal) | |
4) Code Navigation | |
Tab limit, Scrolls, Alt selection, Navigation bar, Navigation bar ( Create/Delete/Search) | |
View mode | |
Structure | |
Quick jump | |
Vim Mode |
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
Source: Presentation of Hadi Hariri (https://www.parleys.com/tutorial/intellij-idea-tips-tricks) | |
Set Keymap in Preferences to: Mac OS 10.5+ | |
Recently opened Files --> ⌘E | |
Recently Edited Files --> ⇧⌘E | |
Hide views (e.g. Project) --> ⇧⎋ (⇧ escape-key) | |
In all Navigations, you can use Camel Case (e.g. FIS for FileInputStream) |