How to config autocomplete-plus
to suggest javascript without semicolon?
For example, I input log
in atom, autocomplete-plus
suggest console.log();
.
I don't need the ;
, how to config autocomplete-plus
to remove ;
when suggest.
If you want more options, in the Settings panel for the autocomplete-plus package you can toggle a setting to make autocomplete-plus look for text in all your open buffers rather than just the current file. The Autocomplete functionality is implemented in the autocomplete-plus package.
Usage. Finally, press: alt + tab or, right click and do Run HTML Tag AutoComplete . You will also find it available under Packages in menubar.
Here's how: Go to the Atom Settings: Atom > Preferences… Then uncheck the “Show Suggestions On Keystroke” checkbox: That's it!
You can add custom snippet to replace the default one. In order to do that open command palette Ctrl+Shift+P
, search for Application: Open your Snippets
and write a snippet for .source.js
scope:
'.source.js':
'Log without ;':
'prefix': 'log'
'body': 'console.log()'
To override the default snippet you have to set prefix to log
. If you want to learn more about snippets you can visit Flight Manual.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With