This script doesn't overwrite the existing JavaScript package. It creates a custom package called "JavaScript" and places empty snippet files in it. This has the effect of "turning off" the stock snippets.
Go to ST3's data directory and create a JavaScript
directory. Then create empty files with the following names:
Get-Elements.sublime-snippet
Object-Method.sublime-snippet
Object-Value-JS.sublime-snippet
Object-key-key-value.sublime-snippet
Prototype-(proto).sublime-snippet
for-()-{}-(faster).sublime-snippet
for-()-{}.sublime-snippet
function-(fun).sublime-snippet
function.sublime-snippet
if-___-else.sublime-snippet
if.sublime-snippet
setTimeout-function.sublime-snippet
- Windows:
%APPDATA%\Sublime Text 3\JavaScript
- OS X:
~/Library/Application Support/Sublime Text 3/JavaScript
- Linux:
~/.config/sublime-text-3/JavaScript