« Sublime text » : différence entre les versions

 
(6 versions intermédiaires par le même utilisateur non affichées)
Ligne 34 : Ligne 34 :
Dans le fichiers .scss executer le build avec<br>
Dans le fichiers .scss executer le build avec<br>
tools -> build system -> le fichier nouvellement créé
tools -> build system -> le fichier nouvellement créé
[[category:Dev]]
[[category:Softz]]


== Commandes ==
== Commandes ==
Ligne 128 : Ligne 131 :
- Dans ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/Nom du Theme.sublime-color-scheme  
- Dans ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/Nom du Theme.sublime-color-scheme  


* chercher un scope => view.style_for_scope("line_highlight")
* chercher un scope => view.style_for_scope("line_highlight") ou view.style_for_scope("highlight_line")
</pre>
</pre>


[[category:softz]]
== Custom Perso ==
build 4200
=== Settings ===
Package Control.sublime-settings
<syntaxhighlight lang="json" line>
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"Alignment",
"ApacheConf",
"ColorPicker",
"GitHub Theme",
"Json Colors And Navigation",
"JSON Reindent",
"Package Control",
"Pretty JSON",
"Sass",
"SqlBeautifier",
"SublimeLinter-php",
"Terminal",
"Twig",
],
}
 
</syntaxhighlight>
 
Preferences.sublime-settings
<syntaxhighlight lang="json" line>
{
"ignored_packages":
[
"Vintage",
],
"theme": "GitHub Dark.sublime-theme",
"color_scheme": "Monokai.sublime-color-scheme",
"index_files": true,
"font_size": 14,
}
 
</syntaxhighlight>
 
=== Key Bindings ===
<syntaxhighlight lang="json" line>
[
{ "keys": ["ctrl+shift+j"], "command": "pretty_json" },
{ "keys": ["ctrl+m"], "command": "sql_beautifier" },
{ "keys": ["super+t"], "command": "transpose" },
{ "keys": ["super+shift+t"], "command": "reopen_last_file", "args": {"source": "window"} },
{ "keys": ["ctrl+t"], "command": "open_terminal"},
{ "keys": ["ctrl+shift+t"], "command": "open_terminal_project_folder" },
{ "keys": ["ctrl+0"], "command": "reset_font_size" }
]
</syntaxhighlight>
 
[[category:softz]] [[category:Dev]]