Outils pour utilisateurs

Outils du site


logiciels:sublimetext:toc

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
logiciels:sublimetext:toc [2015/09/08 16:20] sgariepylogiciels:sublimetext:toc [2023/10/03 22:45] (Version actuelle) – [Windows] sgariepy
Ligne 14: Ligne 14:
   - Installer les [[logiciels:sublimetext:plugins|plugins généraux]]   - Installer les [[logiciels:sublimetext:plugins|plugins généraux]]
     - Installer les [[logiciels:sublimetext:developpement_php#plugins|plugins pour le développement PHP]]     - Installer les [[logiciels:sublimetext:developpement_php#plugins|plugins pour le développement PHP]]
-    - Installer les [[plugins pour le développement JavaScript]] +    - Installer les [[logiciels:sublimetext:developpement_javascript|plugins pour le développement JavaScript]]
  
 ====== Configuration de projet ====== ====== Configuration de projet ======
Ligne 65: Ligne 64:
 | ''caret_extra_width''  |  |  | | ''caret_extra_width''  |  |  |
 | ''caret_style''  |  | ''smooth'', ''phase'', ''blink'', ''wide'' and ''solid''  | | ''caret_style''  |  | ''smooth'', ''phase'', ''blink'', ''wide'' and ''solid''  |
 +| ''word_wrap''  |  | ''auto'', ''true'', ''false''  |
 +| ''update_check''  |  | ''true'', ''false''  |
 +
  
  
Ligne 135: Ligne 137:
 { "keys": ["shift+control+keypad_divide"],"command": "toggle_comment", "args": {"block": true}} { "keys": ["shift+control+keypad_divide"],"command": "toggle_comment", "args": {"block": true}}
 </code> </code>
 +
 +
 +
 +====== Windows ======
 +
 +
 +
 +===== Préférences pour la version Windows =====
 +
 +<code>
 +{
 + "caret_extra_bottom": 1,
 + "caret_extra_top": 1,
 + "caret_extra_width": 1,
 + "caret_style": "smooth",
 + "color_scheme": "Packages/Theme - Brogrammer/brogrammer.tmTheme",
 + "detect_indentation": false,
 +
 + "font_face": "Droid Sans Mono",
 + "font_size": 10,
 +        "font_options": ["gray_antialias"],
 +
 + "highlight_line": true,
 + "ignored_packages":
 + [
 + "Vintage",
 + "SublimeLinter-jscs",
 + "Markdown"
 + ],
 + "margin": 0,
 + "rulers":
 + [
 + 80
 + ],
 + "scroll_past_end": true,
 +        "always_show_minimap_viewport": true,
 + "tab_size": 4,
 + "theme": "Brogrammer.sublime-theme",
 + "translate_tabs_to_spaces": true,
 + "word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?",
 + "word_wrap": false
 +}
 +</code>
 +
 +
 +
 +
 +===== Menu contextuel version portable =====
 +
 +
 +
 +Sublime Text est disponible en version //portable// Pour ajouter un item dans le menu contextuel de Windows Explorer, on pour utiliser le fichier suivant qui ajoutera des clés dans la base de registre de Windows.
 +
 +Attention de changer les chemins au ''.EXE'' de Sublime Text.
 +
 +<file>
 +Windows Registry Editor Version 5.00
 + 
 +; This will make it appear when you right click ON a folder
 +; The "Icon" line can be removed if you don't want the icon to appear
 + 
 +[HKEY_CLASSES_ROOT\Directory\shell\sublime]
 +@="Open Folder as Sublime Project"
 +"Icon"="\"C:\\Users\\user\\Desktop\\Tools\\Sublime Text 3\\sublime_text.exe\",0"
 +
 + 
 +[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]
 +@="\"C:\\Users\\user\\Desktop\\Tools\\Sublime Text 3\\sublime_text.exe\" \"%1\""
 + 
 +; This will make it appear when you right click INSIDE a folder
 +; The "Icon" line can be removed if you don't want the icon to appear
 + 
 +[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime]
 +@="Open Folder as Sublime Project"
 +"Icon"="\"C:\\Users\\user\\Desktop\\Tools\\Sublime Text 3\\sublime_text.exe\",0"
 + 
 +[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime\command]
 +@="\"C:\\Users\\user\\Desktop\\Tools\\Sublime Text 3\\sublime_text.exe\" \"%V\""
 + 
 +; Notepadd++ like open with sublimeText2
 + 
 +[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3]
 +@="Open with Sublime Text 2"
 +"Icon"="\"C:\\Users\\user\\Desktop\\Tools\\Sublime Text 3\\sublime_text.exe\",0"
 + 
 +[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command]
 +@="\"C:\\Users\\user\\Desktop\\Tools\\Sublime Text 3\\sublime_text.exe\" \"%1\""
 +</file>
 +
 +[[http://blog.theiaian.com/2013/03/add-sublime-text-2-context-menu-to-file-browser-windows-7/|Source]]
 +
 +====== Préférences de key Binding ======
 +
 +<code javascript>
 +[
 +    {
 +        "keys": ["ctrl+shift+r"], "command": "browser_refresh", "args": {
 +            "auto_save": true,
 +            "delay": 0.5,
 +            "activate_browser": true,
 +            "browser_name" : "all"
 +        }
 +    },
 +
 + { "keys": ["control+keypad_divide"], "command": "toggle_comment", "args": {"block": false}},
 + { "keys": ["shift+control+keypad_divide"],"command": "toggle_comment", "args": {"block": true}},
 +
 +    { "keys": ["ctrl+shift+up"], "command": "select_lines", "args": {"forward": false} },
 +    { "keys": ["ctrl+shift+down"], "command": "select_lines", "args": {"forward": true} },
 +
 +    { "keys": ["ctrl+alt+up"], "command": "swap_line_up" },
 +    { "keys": ["ctrl+alt+down"], "command": "swap_line_down" },
 +
 +]
 +
 +</code>
 +
 +
 +
 +
 +
 +
 +
logiciels/sublimetext/toc.1441722058.txt.gz · Dernière modification : 2022/02/02 00:42 (modification externe)