Manual d’informàtica IES Sant Clemente

Si volem provar les nostres pàgines en un navegador per defecte i en una URL determinada Haurem d’instal·lar primer el plugin: SideBarEnhancements.

En em meu cas

——————————SyntaxHighlighter-pre lang=”html”>——-
{
"S:/0-php/": {
"url_production":"http:/213.4.33.41/0-php/"
}
}
----------------------------------------------------------------
{ "S:/polidic/": {
"url_production":"http:/polidic.cat/"
}
}
==========================Syn_sec=====================================
{ "Q:/beseit/": {
"url_production":"http:/192.168.1.49/beseit/"
}
}
==========================local=====================================
{
"c:/appserv/www/polidic/": {
"url_production":"http:/localhost/polidic/"
}
}
-------------------------
{
"c:/appserv/www/enllaços/": {
"url_production":"http://localhost/enllaços/"
}
}
{
"default_browser":"" ,
"portable_browser": "C:/Program Files/Mozilla Firefox/firefox.exe"
}
Configurar llançament de script: preferences/key binding/uswer
[
{"keys": [ "ctrl+."], "command": "toggle_side_bar" },
{"keys": [ "ctrl+,"], "command": "reindent" },
{ "keys": ["shift+f6"],
"command": "side_bar_open_in_browser" ,
"args":{"paths":[], "type":"production", "browser":""}
}
]
Amb shit F6 s’obra el navegador amb l’escript.

Si volem mostrar l’escript en el servidor localhost Appserv
Configuració de Navegador per defecte a Sublim Text 3

{
"default_browser":"" ,
"portable_browser": "C:/Program Files/Mozilla Firefox/firefox.exe"
}
Per eliminar el recordatori de nova versió: Settings-User and add there: “update_check”: false,

{
“update_check”: false,
“auto_complete_triggers”:
[
{
“characters”: “b4”,
“selector”: “text.html”
}
],
“color _scheme”: “Packages/Monokai Oark/Monokai Dark/Monokai Dark”,
“font_size”: 17,
“highlight_raodified_tabs”: true,
“ignored_packages”:
[
“Vintage”
],
“ignorr.d_packages”:
[
],
“open_files_in_new_window”: false,
“save_on_focus_lost”: true,
“tab_size”: 4,
“theme”: “Adaptive.sublime-theme”,
}


Aquesta configuració ha funcionat

{
// The tab key will cycle through the settings when first created
// Visit https://codexns.io/products/sftp_for_subime/settings for help
// sftp, ftp or ftps
"type": "ftp",
"save_before_upload": true,
"upload_on_save": true,
"sync_down_on_open": false,
"sync_skip_deletes": false,
"sync_same_age": true,
"confirm_downloads": false,
"confirm_sync": true,
"confirm_overwrite_newer": false,
"host": "beseit.net",
"user": "urqtejmi",
"password": "Beseit1968!",
// "port": "21",
"remote_path": "/SFTP/",
"ignore_regexes": [
"\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json",
"sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/",
"\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini"
],
//"file_permissions": "664",
//"dir_permissions": "775",
//"extra_list_connections": 0,
"connect_timeout": 30,
//"keepalive": 120,
//"ftp_passive_mode": true,
//"ftp_obey_passive_host": false,
//"ssh_key_file": "~/.ssh/id_rsa",
//"sftp_flags": ["-F", "/path/to/ssh_config"],
//"preserve_modification_times": false,
//"remote_time_offset_in_hours": 0,
"remote_encoding": "utf-8",
//"remote_locale": "C",
"allow_config_upload": true,
}
{
"update check": false,
"auto_complete_triggers":
[
{
"characters": "b4",
"selector": "text.html"
}
],
"color _scheme" : "Packages/Monokai Oark/Monokai Dark/Monokai Dark",
"font_size": 17,
"highlight_raodified_tabs": true,
"ignorr.d_packages":
[
],
"open_files_in_new_window": false,
"save_on_focus_lost": true,
"tab_size" : 4 ,
"theme": "Adaptive.sublime-theme"
}
===================================================================================
A MÉS DE "update check": false, A HOSTS:
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
127.0.0.1 activate.adobe.com
Per afegir, esborrar, modificar la pagina Diaris del blog, s’ha de modificar la plantilla sidebar-DIARIS.php del blog.

