Monday, September 25, 2017

CARA MEMBUAT SUBLIME AUTO COMPLETE

Assalamualaikum.....

Disini saya akan berbagi tutorial bagaimana cara mengatasi sublime tidak bisa auto text(auto complete).

Yang Sebelumnya sih, saya pernah mengalami seperti itu.

langsung aja deh... :D , Biar gak lama-lama.

1. harus terinstall dulu guys sublime text..:D
2. buka Sublime text menggunakan terminal atau menggunakan tombol home,
    kemudian ketik "subl"(terminal), Ctrl + Alt + t

3. kemudian masuk ke menu preferences >> setting >> Kemudian masukkan script berikut.

// Enable auto complete to be triggered automatically when typing.
"auto_complete": true,

// The maximum file size where auto complete will be automatically triggered.
"auto_complete_size_limit": 4194304,

// The delay, in ms, before the auto complete window is shown after typing
"auto_complete_delay": 50,

// Controls what scopes auto complete will be triggered in
"auto_complete_selector": "source - comment",

// Additional situations to trigger auto complete
"auto_complete_triggers": [ {"selector": "text.html", "characters": "<"} ],

// By default, auto complete will commit the current completion on enter.
// This setting can be used to make it complete on tab instead.
// Completing on tab is generally a superior option, as it removes
// ambiguity between committing the completion and inserting a newline.
"auto_complete_commit_on_tab": true,

// Controls if auto complete is shown when snippet fields are active.
// Only relevant if auto_complete_commit_on_tab is true.
"auto_complete_with_fields": false,


4. kemudian Save dengan menekan Ctrl + S.
5. lalu tutup dan buka kembali sublime text.


oke deh,  selamat mencoba, semoga berhasil..,:D

1 comment: