"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
// Set the default
"editor.formatOnSave": false,
// Enable per-language
"[javascript]": {
"editor.formatOnSave": true
},
"[php]": {
"editor.formatOnSave": true
}
copy code di atas, lalu pastekan di Settting.json VSCODE"editor.fontLigatures": true,
// Set the default
"editor.formatOnSave": false,
// Enable per-language
"[javascript]": {
"editor.formatOnSave": true
},
"[php]": {
"editor.formatOnSave": true
}
simpan dan reload kembali VSCOdenya.
klik di sini untuk font Fira Code
Taq untuk php
| { | |
| "PHP Tag": { | |
| "prefix": "php", | |
| "body": "<?php $1 ?>" | |
| }, | |
| "Inline Echo": { | |
| "prefix": "phpp", | |
| "body": "<?= $$1; ?>" | |
| }, | |
| "Input Label": { | |
| "prefix": "formel", | |
| "body": [ | |
| "<label>", | |
| "\t${3:Username}", | |
| "\t<input type=\"${1:text}\" name=\"${2:username}\">", | |
| "</label>" | |
| ] | |
| }, | |
| "My Form": { | |
| "prefix": "myform", | |
| "body": "<form method=\"${1|get,post|}\" action=\"$2\">$3</form>" | |
| } | |
| } |
Tidak ada komentar:
Posting Komentar