fix localip alias
improve sublime type snippet
add method snippet