Getting full JS autocompletion under Sublime Text

后端 未结 7 576
灰色年华
灰色年华 2020-11-30 16:56

I just installed the Sublime Text under Windows Vista, and even following the advice given in this post, namely to explicitly set View > Syntax > JavaScript >

相关标签:
7条回答
  • 2020-11-30 17:34

    Suggestions are (basically) based on the text in the current open file and any snippets or completions you have defined (ref). If you want more text suggestions, I'd recommend:

    • Adding your own snippets for commonly used operations.
    • Adding your own completions for common words.
    • Adding other people's snippets through Package Control.
    • You can find even more snippets on github.
    • Use Zen coding (available through Package Control) or Emmet.
    • There are also various packages that adjust the way code completion works. I love SublimeCodeIntel, but check out other answers to this question for more options.

    As a side note, I'd really recommend installing Package control to take full advantage of the Sublime community. Some of the options above use Package control. I'd also highly recommend the tutsplus Sublime tutorial videos, which include all sorts of information about improving your efficiency when using Sublime.

    0 讨论(0)
提交回复
热议问题