text Sublie文本快捷方式
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Sublie文本快捷方式相关的知识,希望对你有一定的参考价值。
ctrl+shift+p : open up any command from command pallete
ctrl+shift+p [type : install] : install packages
ctrl+p : open any file in the project
ctrl+p+enter : switch between last files
ctril+k, ctril+b : show/hide sidebar
F11 : fullscreen mode
ctrl+d : select the word, press again to select next instance of the word
alt+f3 : select all the instance of the selected word
ctrl+l : select line
ctrl + page down/page up : switch between tabs or split tabs
ctrl+/ : comment or uncomment hovered over line or selected lines
ctrl+r : jump to function
ctrl+shift+d : copy current line and jump the cursor with it
ctrl+shift+up/ctrl+shift+down : move the line up or down
ALT-CTRL-↑ or ALT-CTRL-↓ : increment or decrement numeric value by 0.1
ALT-↑ or ALT-↓ :Increment or decrement numeric value by 1
ALT-SHIFT-↑ or ALT-SHIFT-↓ : Increment or decrement numeric values by 10
____________________
theme installed :
material theme
color installed :
colorsublim package->install->facebook
_____________________________
packages installed :
advance new file (ANF)
-----------------------
shortcuts :
ctrl+alt+n : create new file in the current directory
ctrl+shift+p->anf->rename-> : - rename and save the file in current directory
origami :
---------
shortcuts :
ctrl+k, ctrl+right : open and focus a new tab vertically
ctrl+k, ctrl+down : open and focus an new tab horizontally
ctrl+k, ctrl+. : destroy current tab
--------------------
terminal :
--------------
settings :
{
// The command to execute for the terminal, leave blank for the OS default
// On OS X the terminal can be set to iTerm.sh to execute iTerm
"terminal": "C:\\Program Files\\Git\\git-bash.exe",
// A list of default parameters to pass to the terminal, this can be
// overridden by passing the "parameters" key with a list value to the args
// dict when calling the "open_terminal" or "open_terminal_project_folder"
// commands
"parameters": ["-c", "cd \"%CWD%\" && \"C:\\Program Files\\Git\\bin\\sh.exe\" -i -l"]
}
shorcuts :
Open Terminal at File Press ctrl+shift+t on Windows and Linux, or cmd+shift+t on OS X
Open Terminal at Project Folder Press ctrl+alt+shift+t on Windows and Linux, or cmd+alt+shift+t on OS X
--------------------------
ProjectManager :
----------------
ctrl+shift+p->add project->enter : add project to quick list
ctrl+shift+p->edit project->enter : edit project folder path
ctrl+alt+p : switch between projects
---------------------
Laravel Collective Code Snippets :
-----------------------------------
Usage
To use these snippets, type the trigger text followed by the Tab key.
Trigger Text Output
formopen {!! Form::open() !!}
formclose {!! Form::close() !!}
formtoken {!! Form::token() !!}
formmodel {!! Form::model($user, []) !!}
formlabel {!! Form::label($for, $text, []) !!}
formtext {!! Form::text($name, $value, []) !!}
formtextarea {!! Form::textarea($name, $value, []) !!}
formpassword {!! Form::password($name, []) !!}
formhidden {!! Form::hidden($name, $value, []) !!}
formemail {!! Form::email($name, $value, []) !!}
formfile {!! Form::file($name, []) !!}
formcheckbox {!! Form::checkbox($name, $value, $checked, []) !!}
formradio {!! Form::radio($name, $value, $checked, []) !!}
formnumber {!! Form::number($name, $value, []) !!}
formdate {!! Form::date($name, \Carbon\Carbon::now(), []) !!}
formselect {!! Form::select($name, $optionsArray, $defaultKey, []) !!}
formselectrange {!! Form::selectRange($name, $min, $max), [] !!}
formselectmonth {!! Form::selectMonth($name, []) !!}
formsubmit {!! Form::submit($text, []) !!}
----------------------------------------------------
Laravel Collective from + Bootstrap snippets (good for error message display) :
-------------
Available snippets :
General :
Input Shortcut
Form bootform
Form model bootformmodel
Inputs :
Input Shortcut
Button bootbutton
Checkbox bootcheckbox
Date bootdate
Email bootemail
File bootfile
Hidden boothidden
Number bootnumber
Password bootpassword
Radio bootradio
Select bootselect
SelectMonth bootselectmonth
SelectYear bootselectyear
SelectRange bootselectrange
Text boottext
Textarea boottextarea
Horizontal inputs
Input Shortcut
Checkbox bootcheckboxh
Date bootdateh
Email bootemailh
File bootfileh
Number bootnumberh
Password bootpasswordh
Radio bootradioh
Select bootselecth
SelectMonth bootselectmonthh
SelectYear bootselectyearh
SelectRange bootselectrangeh
Text boottexth
Textarea boottextareah
--------------------------------
Laravel 5 Snippets for Sublime Text :
-----------------------------------
Usage
The included snippets are organized in categories following Laravel's Facades and their documentation; such as Auth::, Config:: and Session::. This way, you can quickly search for what you'd like to accomplish thanks to Sublime Text fuzzy search.
All the snippets in this package follow the following naming convention : {category}::{function name}. For example : Auth::check will produce this snippet in your code : Auth::check().
Included snippets
Here are the available snippet categories and prefixes :
Prefix Notes
Auth
Blade The Laravel Blade Highlighter package is required to enable Snippets autocomplete in Blade files.
Cache
Config
Console
Cookie
Crypt
DB To create raw database queries and transactions.
Event
Hash
Helper Contains sub-categories : Helper::array, Helper::misc, Helper::path, Helper::strings, and Helper::url; just like in Laravel's documentation.
Input
Log
Mail
Redirect
Relation To create model relationships.
Response
Route
Schema Contains two sub-categories : Schema:: for snippets related to the database table itself; and Column:: for snippets related to the columns.
Session
Storage
View
-------------------------------
php mysqli connection snippet :
pmc->tab
-----------------------------------------
laravel 5 artisan
material theme
color sublime
package resource viewer : to extract and modify package( theme backgroud color to match )
sublie linter
sublime linter php
laravel blade highlighter
laravel blade autocomplete
_________________________________________
以上是关于text Sublie文本快捷方式的主要内容,如果未能解决你的问题,请参考以下文章