Sublime Text et l’auto-complétion, ça coince! Mais…

On va pas se le cacher, Sublime Text et l’auto-complétion c’est pas ce qui a de mieux!

Pas top

Après quelques recherches je n’ai pas trouvé de plugin ou autre qui améliore cette fonctionnalité (qui est indispensable et qu’on trouve dans tous les IDE aujourd’hui…). Malgré tout, j’ai trouvé quelques commandes qui peuvent faire l’affaire et qui vous assureront une auto-complétion à peu près correcte.

Configuration

Le fichier à modifier est le fichier de config JSON qui se trouve sous “Préférences > Settings – User(Preferences.sublime-settings)

> Par défaut, c’est activé mais on ne sait jamais…

[javascript]"auto_complete": true[/javascript]

> On limite la taille maxi du fichier à auto-compléter

[javascript]"auto_complete_size_limit": 4194304[/javascript]

> Le délai entre chaque frappe au clavier avant de déclencher la complétion (en ms)

[javascript]"auto_complete_delay": 50[/javascript]

> L’étendue du scope qui est balayé et proposé (à adapter selon vos besoin!)

[javascript]"auto_complete_selector": "source – comment"[/javascript]

Pour valider la complétion, on utilise la touche Enter. On peut modifier et utiliser la touche enter en passant la variable auto_complete_commit_on_tab à true

[javascript]"auto_complete_commit_on_tab": true[/javascript]

Si vous avez d’autres astuces ou des plugins intéressants que j’aurais loupé, je suis preneur!

48 Comments Sublime Text et l’auto-complétion, ça coince! Mais…

  1. Joker123 latest apk

    Saya telah telah menjelajah online lebih dari 2 jam
    hari ini, namun saya tidak pernah menemukan artikel
    menarik seperti milik Anda. It’s cukup berharga bagi saya.
    Menurut pendapat saya , jika semua webmaster dan blogger
    membuat konten yang baik seperti yang Anda lakukan, internet akan menjadi lebih berguna dari sebelumnya.

    Also visit my web site :: Joker123 latest apk

    Reply
  2. kunjungi website

    Greеtings from Caгolina! I’m bored to tears at worк so I decided to cһeck out your blog on my iphone during luncһ break.
    I really like the knowledgge you present here and can’t wait tо take a look
    when І get home. I’m shocked att hhow quick yоur blog loaded on my
    cell phone .. I’m not even usіng WIFI, just 3G .. Anyways,
    great site!

    Reply
  3. Joker123 Free

    I am extremely inspired with your writing abilities and also with the
    layout on your weblog. Is that this a paid subject or did you customize it your self?
    Either way keep up the excellent high quality writing, it is uncommon to peer a great blog like this one nowadays..

    Feel free to surf to my site: Joker123 Free

    Reply
  4. asg55.com

    Curгеntly itt sounds like Movable Τype iis the preferredd blogging platform avаilable right now.
    (from what I’ve rеad) Is that what you’reusing on your Ьlog?

    Reply
  5. Joker128 download app

    Saya akan segera pegang rss feed Anda karena saya tidak bisa
    Ini waktu terbaik untuk membuat beberapa rencana untuk masa depan dan sekarang waktu untuk berbahagia.

    Saya telah membaca posting ini dan jika saya bisa, saya
    ingin menyarankan Anda beberapa hal menarik atau saran .

    Mungkin Anda bisa menulis artikel berikutnya yang mengacu
    pada artikel ini. Saya ingin membaca lebih hal tentang
    itu!

    Also visit my web site – Joker128 download app

    Reply
  6. www ntc33apk

    I know this if off topic but I’m looking into starting my own blog
    and was wondering what all is required to get setup?
    I’m assuming having a blog like yours would cost a pretty
    penny? I’m not very internet smart so I’m not 100% sure.
    Any suggestions or advice would be greatly appreciated.
    Cheers

    My blog post www ntc33apk

    Reply
  7. Joker123 queen bola99

    Saya telah menjelajah online lebih dari 4 jam hari
    ini, namun saya tidak pernah menemukan artikel menarik seperti milik Anda.
    It’s cukup berharga bagi saya. Dalam pandangan saya, jika semua
    pemilik situs web dan blogger membuat konten yang baik seperti yang Anda lakukan, internet akan menjadi a
    jauh lebih berguna dari sebelumnya.

    Look into my page: Joker123 queen bola99

    Reply
  8. togel hongkong

    You reɑlly make it appeaг really easy aⅼong with your presentation hߋwever I in finding this
    topic to be really one thing that I believe I might never understand.
    It kind of feels too complicated andd exremely wide for me.
    I’m tɑking a look aheɑd in your next submit, I wijll attempt to get thhe cling оf it!

    Reply
  9. id test untuk playboy2

    After I originally left a comment I appear to have
    clicked the -Notify me when new comments are added- checkbox and from now on every time a comment
    is added I receive four emails with the exact same
    comment. Is there an easy method you can remove me from that service?
    Kudos!

    My homepage – id test untuk playboy2

    Reply
  10. mega888sg.com

    Hello I am so excited I found your blog, I really found you by mistake, while
    I was searching on Bing for something else, Anyways I am here now and would just like to say kudos
    for a tremendous post and a all round exciting blog (I also love the theme/design), I don’t
    have time to read it all at the moment but I have book-marked it and also included your RSS feeds,
    so when I have time I will be back to read a great deal more, Please do keep up the great job.

    Check out my web blog lpe88 slot (mega888sg.com)

    Reply
  11. Joker1888 net mobile

    Saya telah telah menjelajah online lebih dari
    tiga jam hari ini, namun saya tidak pernah menemukan artikel
    menarik seperti milik Anda. It is cukup berharga bagi
    saya. Secara pribadi , jika semua webmaster dan blogger
    membuat konten yang baik seperti yang Anda lakukan, web akan menjadi lebih
    berguna dari sebelumnya.

    Here is my page; Joker1888 net mobile

    Reply
  12. Izetta

    My spouse and I stumbled over here coming from a different website and thought I
    might as well check things out. I like what I see
    so i am just following you. Look forward to checking out your web page repeatedly.

    Reply
  13. Game sky777

    I am not sure where you are getting your information, but good topic.
    I needs to spend some time learning more or understanding more.
    Thanks for wonderful info I was looking for this info for
    my mission.

    Also visit my homepage; Game sky777

    Reply
  14. daftar poker idn

    Prеtty part of content. I simply stumbled upon your ԝeb site and in aϲcеѕsion capital
    to claim that I get in fact loved account your weƅlog posts.
    Any way I’ll be subscribing in your augment аnd even I achievеment you get admissіon to рersistently fast.

    Reply
  15. togel55

    Havе you ever thought about creаting an ebook or guest authoring on other blogѕ?
    I have a blog based on the same information you ԁiѕcuss annd would really
    like to haѵe you share some stories/information. I know my readers would enjoy your woгk.
    If you’re een remotely intereѕted, feeⅼ free to sewnd
    mme an emɑil.

    Reply
  16. slot online

    I Ьlog often and I truly appгeciate your information. The article has
    truly peaked my interest. I am going to boik mark your
    webѕite and keep checking for new information aƅout
    once a week. I subscribed to youг Feed too.

    Reply
  17. agen bola

    I ԁo not know if it’s just me or if everybody else experiencing prooblems with youг blog.
    It looks like some ⲟf the text oon your pⲟsts are running off the screen. Cаn somebody else please comment
    and let me know if this is happening to them as well? Thiis mаy bе a issue wіth my internet browser because I’ve hɑd thi happen before.
    Kudos

    Reply
  18. Shanon

    We’re a group of volunteers and opening a new scheme in our community.
    Your site provided us with valuable information to work on. You have done an impressive
    job and our whole community will be thankful to you.

    Reply

Leave a Reply

Your email address will not be published.