D
D
Drovosek012018-03-24 13:53:31
JavaScript
Drovosek01, 2018-03-24 13:53:31

sublimetext. How to enable automatic completion of js code in html file?

Sublimetex 3 and Java​Script Completions plugin installed . If I write javascript code in a .js file, hints appear automatically.
DTrYM.png
But if I write javascript code in html file between tags then code hints don't appear automatically, only when I press Ctrl+Space. (Even if I change the .html extension to .js) Actually the question is: How to make js code hints appear automatically not only in .js files, but also in the html file when you write js code between tags ? <script></script>

<script></script>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question