Skip to content

Instantly share code, notes, and snippets.

@lucymtc
Last active July 9, 2018 10:23
Show Gist options
  • Save lucymtc/8a4a2e1067522e38dda3868d2915563d to your computer and use it in GitHub Desktop.
Save lucymtc/8a4a2e1067522e38dda3868d2915563d to your computer and use it in GitHub Desktop.
My Sublime Text 3 Setup
##### Theme ####
Cobalt2
https://packagecontrol.io/packages/Theme%20-%20Cobalt2
##### Packages #####
Package Controll:
https://packagecontrol.io/installation
Sublime Code Sniffer - phpcs and phpmd
https://github.com/benmatselby/sublime-phpcs
How TO install and setup : https://jonathansblog.co.uk/phpcs-and-phpmd-in-sublime-text-3-on-osx
DocBlockr
https://packagecontrol.io/packages/DocBlockr
SCSS
https://sublime.wbond.net/packages/SCSS
TrailingSpaces
https://sublime.wbond.net/packages/TrailingSpaces
Who​Called Function Finder
https://packagecontrol.io/packages/WhoCalled%20Function%20Finder
ToDoReview
https://packagecontrol.io/packages/TodoReview
Markdown Preview
https://packagecontrol.io/packages/Markdown%20Preview
GitSavvy
GitGutter
https://github.com/jisaacks/GitGutter
AllAutocomplete
https://github.com/alienhard/SublimeAllAutocomplete
Terminal
https://github.com/wbond/sublime_terminal
Wordpress Developer Resources
https://github.com/tripflex/sublime-wp-developer-resources
Color Highlighter
https://packagecontrol.io/packages/Color%20Highlighter
Xdebug Client
How To: https://webdevstudios.com/2014/11/13/debugging-with-xdebug-vvv-and-sublime-text/
This is not to good. Recommended to use codedebugapp it's worth paying the license.
https://www.macupdate.com/app/mac/45824/codebug
Java​Script & Node​JS Snippets
https://packagecontrol.io/packages/JavaScript%20%26%20NodeJS%20Snippets?__s=mow3gykes4zd78qwdpdu
Highlight Dodgy Chars
https://packagecontrol.io/packages/Highlight%20Dodgy%20Chars?__s=mow3gykes4zd78qwdpdu
Git Blame
https://packagecontrol.io/packages/Git%20blame
##### Preferences #####
## Preferences -> Package settings -> Color Highlighter -> Settings User
{
"ha_style": "filled"
}
## Preferences -> Settings User
{
"bold_folder_labels": true,
"caret_extra_bottom": 2,
"caret_extra_top": 2,
"caret_extra_width": 3,
"caret_style": "phase",
"color_scheme": "Packages/Theme - Cobalt2/cobalt2.tmTheme",
"ensure_newline_at_eof_on_save": true,
"font_size": 15,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"indent_guide_options":
[
"draw_normal",
"draw_active"
],
"line_padding_bottom": 1,
"line_padding_top": 1,
"parameters":
[
"--open-in-tab"
],
"sidebar_large": true,
"tab_size": 2,
"theme": "Cobalt2.sublime-theme",
"trim_trailing_white_space_on_save": true,
"wide_caret": true,
"font_options" : ["gray_antialias"] // for retina
}
## Example Debug Project (NO need to do this using https://www.macupdate.com/app/mac/45824/codebug)
Project -> Edit project
{
"folders":
[
{
"path": "/Users/lucy/vagrant-local/www/myproject/src/themes/myproject-theme"
}
],
"settings": {
"xdebug": {
"url": "http://myproject.dev/",
"path_mapping": { "/srv/www/myproject" : "/Users/lucy/vagrant-local/www/myproject"},
"ide_key": "VVVDEBUG"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment