Rabu, 08 Desember 2021

Persiapan Visual Studi Code

- Snippet untuk autotext / print_r otomatis suggesstion :

     > F1 -> Configure User Snippets -> New global Snippet (jika belum ada buat baru)

"Print to console": {
        "prefix": "print_r",
        "body": [

            "echo '<pre>';",
                "print_r($request->all()$1);",
            "echo '</pre>';",
            "exit();",

            // "console.log('$1');",
            // "$2"
        ],
        "description": "Log output to console"
    }


{
    "Print to console": {
        "prefix": "dd",
        "body": [
            "dd($1);",
        ],
        "description": "Print Data"
    }
}

- Konfigurasi tombol kombinasi / shortcut :

    > F1 -> move down, move up, duplicate selection, replace key, undo, redo

- Default tab 2 spasi

    > File -> Preferences -> Setting -> (cari Tab size ->commonly used -> Tab Size 2)






Tidak ada komentar:

Posting Komentar