Setting up Sublime Text for Angular Development

Written by  Thursday, 28 May 2015 20:29

The first you need root on your Mac → Terminal sudo su and confirm password. Then you need setup iTerm2 and Homebrew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" and any plugins for angular.

-- commands sh#
brew install git
gitk
npm install -g jshint
npm install -g gulp

-- setup snippets and plugins

https://github.com/johnpapa/angular-styleguide#file-templates-and-snippets 
https://github.com/angular-ui/AngularJS-sublime-package
https://github.com/NicoSantangelo/sublime-gulp

 

733 Read Last modified on Thursday, 28 May 2015

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.

Related items

  • Launch Sublime Text 3 from the command line & simlink to Subl
    in Mac

    These instructions assume you’re using the Terminal app out of the box, without ZSH or any fancy prompts like that. I trust you will be able to adapt these instructions yourself if you do.

    Step 1 : Create a symlink called sublime

    sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime

    Step 2 : Check that your system profile can find the symlink you just created.

    open ~/.bash_profile

    Step 3 : Add both these lines & then save the file :

    alias subl="open -a /Applications/Sublime\ Text.app"
    
    export PATH=/usr/local/bin:$PATH

    Step 4 : Reload your bash_profile :

    source ~/.bash_profile

    Done ! You can now navigate to any of your code/script folders in Terminal and open them in Sublime with the following commands :

    subl .
    subl .zshrc
  • [sublime] The best Packages to speed up you workflow and make life awesome!

    Serious, You gotta get these!

    Emmet

    Sublime ->  Command + Shift + P -> Install Paskages -> Emmet
  • [solved] How to configurate aliases in Sublime Text

    Use Terminal and run commands

    subl ~/.zshrc

    then we can add commands:

    # In line 88 change aliases text:
    # Example aliases 
    # alias zshconfig="mate ~/.zshrc"
    # alias ohmyzsh="mate ~/.oh-my-zsh"
    alias db="cd ~/Dropbox/"
    alias doc="cd ~/Documents/"
    alias zs="subl ~/.zshrc"
    alias gum="git pull upstream master"

     Profit!

  • [solved] How To Open Sublime Text from Terminal in macOS

    Solution : At first , run following script on Terminal app to create specific symlink.

    ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl

    Then,

    subl .

     Hit return, it should instantly pop-up Sublime app.