Giter Club home page Giter Club logo

sublime_packages's Introduction

sublime_packages backups For Front-End Developer

Injected plug-in list

  • Package Control
  • SideBarEnhancements
  • Doc​Blockr
  • TrailingSpaces
  • SyncedSideBar
  • Sublime Terminal
  • Emmet
  • HTML-CSS-JS Prettify
  • Bracket Highlighter

For more nice advice, see How to gracefully use Sublime Text.

Preferences.sublime-settings

If you do some of the targeted settings, she(Sublime) will be better to provide you with services, such as this(PS: You can quickly open the settings, through the shortcut keys: Command + , windows: Ctrl + ,):

{
	"folder_exclude_patterns":
	[
		".svn",
		".git",
		".hg",
		"CVS",
		"node_modules"
	],
	"font_size": 18,
	"ignored_packages":
	[
		"Vintage"
	],
	"tab_size": 2,
	"translate_tabs_to_spaces": true,
	"trim_trailing_white_space_on_save": true,
	"draw_minimap_border": true,
	"bold_folder_labels": true,
	"auto_find_in_selection": true,
	"highlight_line": true
}

Preferences.Key Bindings

[
	{ "keys": ["command+\\"], "command": "toggle_side_bar" },
	{ "keys": ["command+shift+x"], "command": "toggle_comment", "args": { "block": true } },
	{ "keys": ["command+alt+p"], "command": "prompt_select_workspace" },
	{ "keys": ["command+shift+d"], "command": "delete_trailing_spaces"}
]

Command Description

  • toggle_side_bar: Quick Quick side bar.
  • toggle_comment: Quick Quick comment.
  • prompt_select_workspace: Restore Quick Switch Project shortcut.
  • delete_trailing_spaces: Delete trailing spaces.
  • paste_from_history: You can create key bindings composed of multiple keys.

Additional instructions

You can create key bindings composed of multiple keys. Like this:

{ "keys": ["ctrl+k", "ctrl+v"], "command": "paste_from_history" }

When you use this combination configuration, you have to press Ctrl + K first, then release K(or not), and finally press V.

Of course, if you are using Windows, you should replace the command with ctrl, For more nice advice, see How to gracefully use Sublime Text.

Develop React Using Sublime

Setting as the default syntax

  • Find Babel & install it through Package Control.
  • Select View from the menu,
  • Then Syntax -> Open all with current extension as... -> Babel -> JavaScript (Babel).

!‼️ You should not skip this option —— Open all with current extension as..., good luck.

Setting a Color Scheme

Babel comes bundled with Next and Monokai from Benvie/JavaScriptNext.tmLanguage. Select one from Preferences -> Color Scheme -> Babel

For more information, See babel-sublime](https://github.com/babel/babel-sublime) please.

Emmet compatible jsx

Open preferences -> Key bindings - Users,Copy the code below to [] inside:

{
  "keys": ["tab"], 
  "command": "expand_abbreviation_by_tab", 

  // put comma-separated syntax selectors for which 
  // you want to expandEmmet abbreviations into "operand" key 
  // instead of SCOPE_SELECTOR.
  // Examples: source.js, text.html - source
  "context": [
    {
      "operand": "source.js", 
      "operator": "equal", 
      "match_all": true, 
      "key": "selector"
    }, 

    // run only if there's no selected text
    {
      "match_all": true, 
      "key": "selection_empty"
    },

    // don't work if there are active tabstops
    {
      "operator": "equal", 
      "operand": false, 
      "match_all": true, 
      "key": "has_next_field"
    }, 

    // don't work if completion popup is visible and you
    // want to insert completion with Tab. If you want to
    // expand Emmet with Tab even if popup is visible -- 
    // remove this section
    {
      "operand": false, 
      "operator": "equal", 
      "match_all": true, 
      "key": "auto_complete_visible"
    }, 
    {
      "match_all": true, 
      "key": "is_abbreviation"
    }
  ]
}

sublime_packages's People

Contributors

nicejade avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sublime_packages's Issues

关于SideBarFolders插件不可用的问题

把你这个插件包加到本地去,每次打开ST都会提示这个插件不可用,加入到ignored_packages列表中,有意思的是打开编辑器,会在ignored_packages中先把这个插件移出去,提示不可用后,再加进来。希望看到后帮助解决一下。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.