Skip to content

Instantly share code, notes, and snippets.

@rahman541
Last active July 31, 2018 18:08
Show Gist options
  • Save rahman541/0984a5ecf040e8ef290067791db3034a to your computer and use it in GitHub Desktop.
Save rahman541/0984a5ecf040e8ef290067791db3034a to your computer and use it in GitHub Desktop.
Sublime Setting

Setting up sublime for most development environment

Setting/Prefrence

  1. Preferences > Settings on User side
  2. Insert the line below:
{
	"always_show_minimap_viewport": true,
	"binary_file_patterns": ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.ttf", "*.tga", "*.dds", "*.ico", "*.eot", "*.pdf", "*.swf", "*.jar", "*.zip","node_modules/**", "bower_components/**", ".git/**"],
	"bold_folder_labels": true,
	"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
	"draw_minimap_border": true,
	"file_exclude_patterns":
	[
		"*.pyc",
		"*.pyo",
		"*.exe",
		"*.dll",
		"*.obj",
		"*.o",
		"*.a",
		"*.lib",
		"*.so",
		"*.dylib",
		"*.ncb",
		"*.sdf",
		"*.suo",
		"*.pdb",
		"*.idb",
		".DS_Store",
		"*.class",
		"*.psd",
		"*.db",
		"*.sublime-workspace",
		"*.woff",
		"*.lock",
		"*.map",
		"LICENSE",
		"CHANGES.md",
		"*.sql",
		"*.woff2",
		"*.cache"
	],
	"index_exclude_patterns": [
		"storage/framework",
		"storage/logs",
	],
	"folder_exclude_patterns":
	[
		".idea",
		"bootstrap/cache",
		"build/css",
		"build/js",
		"storage/debugbar",
		"_generated",
		"vendor/pragmarx",
		"vendor/psr",
		"vendor/zendframework",
		"vendor/nikic",
		"vendor/intervention",
		"vendor/fzaninotto",
		"vendor/facebook",
		"vendor/hamcrest",
		"vendor/guzzlehttp",
		"vendor/hashids",
		"vendor/yajra",
		"vendor/mockery",
		"vendor/swiftmailer",
		"vendor/rap2hpoutre",
		"vendor/league",
		"vendor/mews",
		"vendor/monolog",
		"vendor/vinkla",
		"vendor/codeception",
		"vendor/ezyang",
		"vendor/arcanedev",
		"vendor/arcanedev/support",
		"tests/_output",
		"http-foundation/Tests",
		"symfony/routing/Tests",
		"silex/tests",
		"symfony/http-kernel/Tests",
		"storage/server_logs",
		"console/tests"
	],
	"font_size": 11,
	"ignored_packages":
	[
		"Emmet",
		"JSX",
		"LiveReload",
		"Origami",
		"TortoiseGIT",
		"Vintage"
	],
	"synch_scroll": "true",
	"theme": "Default.sublime-theme",
	"translate_tabs_to_spaces": false,
	"word_wrap": "true"
}

Shortcut key

  1. Bookmark toggle ctrl + F2 To navigate forward through bookmark simple press F2 & backward Shit + F2

  2. Open project file ctrl + p This will open box to input filename of the project in sidebar. To open specific line, highlight cursor to file by up & down key and enter <file>:12. Example inde:12 this will open index.php file with line 12. index.php@getText will open file index.php & cursor at function delaration index.php#someText open index.php with cursor at specific text.

  3. Wrap selection with tag ctrl + g this only work if installed Emmet plugin


Plugin

  1. Package Control Installation process

  2. LiveReload This plugin need to install on browser also to work. It can speed up development esp. website without having to reload to see the changes.

  3. Markdown Extended Plugin by jonschlinkert

  4. BracketHighlighter Plugin by facelessuser

  5. Emmet The must have plugin for sublime user mostly. Notable for snippet engine. Can speed up HTML & CSS coding.

  6. Less Tabs Plugin by web artisan

  7. Kulture Extension for ASP.NET syntax highlighting

  8. VBScript Extension for VB syntax highlighting

  9. Markdown Preview Plugin by revolunet

  10. Code Hightlighter

  11. FTPSync

  12. Sublime Bookmarks by bollu

  13. ColorPicker by weslly

  14. SublimeLinter for hinting code

  15. SublimeLinter-jshint for SublimeLinter extension of javascript hint. Need to nstall jshint in node.js first to be working. Open cmd with administrator npm install -g jshint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment