14 Commits

Author SHA1 Message Date
Kenneth Reitz f8856dbb94 command r was driving me crazy 2010-04-26 14:52:04 -04:00
Thomas Aylott 164adcf71f NEW Swap this to self command
Select some code and use this command to swap out the use of "this" with "self". The command also inserts a "var self = this;" line to the top and removes it when toggling off!
2009-10-05 12:37:00 -04:00
Thomas Aylott f7d792a102 Moved complete inside the bundle for those without the latest review support 2009-04-17 17:42:50 -04:00
Thomas Aylott 0b17098fc2 [NEW] Run Javascript command can now parse your script for "@require 'something'"; Require relative paths, urls and keywords. Require CSS or JS. 2009-04-17 17:37:43 -04:00
Thomas Aylott 4481ff2b91 added show code button on run javascript 2009-02-25 11:18:39 -05:00
Thomas Aylott 93a02932d0 allow completions inside strings 2009-02-15 08:14:36 +00:00
Thomas Aylott d2bc10e4b3 new command: run javascript.
runs your current selection or document in an html output window. You can do console messages and check the html output window's console.
includes support for window.alert and window.confirm from Hans-Jörg Bibiko
properly corrects for line numbers in error messages
2009-02-15 08:14:36 +00:00
Thomas Aylott 1ede89fb65 new documentation commands 2009-02-15 08:14:36 +00:00
Thomas Aylott e3c2594e12 Code Completion with tooltips from Quirksmode.org (with permission) 2009-02-15 08:14:35 +00:00
Thomas Aylott 0d2472ba88 New Help command
Beginning Help document / GitHub readme
2009-02-15 08:14:33 +00:00
subtlegradient de7b84b470 Attempting to unify the style of the various snippets. The idea is that if it's fewer characters to add something than to remove it, then it gets removed from the snippet.
git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@10173 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2008-07-05 23:42:37 +00:00
subtlegradient 97c40c67f1 Merged changes from stable
git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@8601 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2007-12-05 19:41:09 +00:00
haraldmartin 7c8a8d1c75 • ⇧↩ (shift + enter) will turn the current word as a function (like the ruby one does). ⇧⌃↩ (shift + control + enter) will make it into a method instead (blah: function() { ... })
• Cleaned up some snippets like setTimeout and the if/if else/function and others

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@5308 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2006-09-26 15:20:02 +00:00
duff 75994f3bf7 • a quick lookup command for JavaScript using the index from http://devguru.com/
git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@3006 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2006-04-12 01:22:15 +00:00