« Sublime text » : différence entre les versions
Aucun résumé des modifications |
|||
| (12 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
== | == intégration sass == | ||
<pre> | <pre> | ||
Tools - build system -> new build system | Tools - build system -> new build system | ||
| Ligne 30 : | Ligne 30 : | ||
Save in<br> | Save in<br> | ||
/Users/XXX/Library/Application Support/Sublime Text | /Users/XXX/Library/Application Support/Sublime Text 3/Packages/User | ||
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 92 : | Ligne 96 : | ||
</pre> | </pre> | ||
== | == User Settings == | ||
<pre> | <pre> | ||
{ | { | ||
" | "color_scheme": "Packages/Color Scheme - Baara Dark/Baara Dark.tmTheme", | ||
" | "ensure_newline_at_eof_on_save": true, | ||
" | "font_size": 12, | ||
" | "highlight_line": true, | ||
"ignored_packages":["Vintage"] | "highlight_modified_tabs": true, | ||
"ignored_packages": | |||
[ | |||
"Vintage" | |||
], | |||
"show_panel_on_build": true, | |||
"tab_size": 4, | |||
"theme": "Adaptive.sublime-theme", | |||
"trim_trailing_white_space_on_save": true | |||
} | } | ||
</pre> | </pre> | ||
[[category:softz]] | == Packages User == | ||
<pre> | |||
Personnaliser une couleur : | |||
par exemple "line_highlight" => sur-brillance de la ligne en cours | |||
- créer un fichier "Nom du Theme.sublime-color-scheme" | |||
- et ajouter | |||
{ | |||
"globals": | |||
{ | |||
"line_highlight": "#333333", | |||
} | |||
} | |||
- Dans ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/Nom du Theme.sublime-color-scheme | |||
* chercher un scope => view.style_for_scope("line_highlight") ou view.style_for_scope("highlight_line") | |||
</pre> | |||
== 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]] | |||