Thomas Aylott
a2e8cae166
always show a tooltip when asked to
2009-04-21 23:59:43 -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
1e3869017a
many snippets for common idioms
2009-04-17 17:41:53 -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
81830b803b
rearrange includes to make keywords have a higher priority
2009-02-16 23:35:11 -05:00
Thomas Aylott
b0496503f8
Merge branch 'master' of git@github.com:subtleGradient/javascript.tmbundle
...
Conflicts:
Commands/Complete.tmCommand
Preferences/Indent.tmPreferences
Preferences/Symbol List Banned.tmPreferences
"Snippets/try \342\200\246 catch.tmSnippet"
Syntaxes/JavaScript Basic.tmLanguage
info.plist
2009-02-15 03:29:42 -05:00
Thomas Aylott
c8d89e45c6
updated sort
2009-02-15 08:14:37 +00:00
Thomas Aylott
93a02932d0
allow completions inside strings
2009-02-15 08:14:36 +00:00
Thomas Aylott
e740550e91
updated list of banned scopes from symbol list
2009-02-15 08:14:36 +00:00
Thomas Aylott
fac259562e
Added json support to indent prefs
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
2fedbea18a
new closure snippet
2009-02-15 08:14:36 +00:00
Thomas Aylott
f2501c8d2f
added wrapping support to a few snippets
2009-02-15 08:14:36 +00:00
Thomas Aylott
590fd26aae
Updated Javascript Basic syntax.
...
literal-function-call
literal-variable
keyword.operators
literal-regex
2009-02-15 08:14:36 +00:00
Thomas Aylott
ba5fa1d4d8
Updated folding to that of Embedded
2009-02-15 08:14:36 +00:00
Thomas Aylott
a8b1d18261
MUCH simpler and more bulletproof regex for indent and folding with tests
2009-02-15 08:14:35 +00:00
Thomas Aylott
4d6df87768
Fixed a strange issue with the folding & indent. It wasn't properly matching escaped strings inside strings
2009-02-15 08:14:35 +00:00
Thomas Aylott
e3c2594e12
Code Completion with tooltips from Quirksmode.org (with permission)
2009-02-15 08:14:35 +00:00
Thomas Aylott
67ed84b3e0
Beginning README
...
addEventListener snippet default to bubbling
Updated info.plist
2009-02-15 08:14:35 +00:00
Thomas Aylott
fd574d60c2
Renamed the "normal" for loop to "for (…) {…} (Classic)"
...
diff --git "a/Snippets/for (\342\200\246) {\342\200\246}.tmSnippet" "b/Snippets/for (\342\200\246) {\342\200\246}.tmSnippet"
index 9001c98..c6ddbf7 100644
--- "a/Snippets/for (\342\200\246) {\342\200\246}.tmSnippet"
+++ "b/Snippets/for (\342\200\246) {\342\200\246}.tmSnippet"
@@ -7,7 +7,7 @@
${0:$1[$20]}
}</string>
<key>name</key>
- <string>for (…) {…}</string>
+ <string>for (…) {…} (Classic)</string>
<key>scope</key>
<string>source.js</string>
<key>tabTrigger</key>
2009-02-15 08:14:35 +00:00
Thomas Aylott
ca274896fa
Updated Javascript syntax test
2009-02-15 08:14:35 +00:00
Thomas Aylott
588708f2f9
don't show function-calls in the symbol list
2009-02-15 08:14:35 +00:00
Thomas Aylott
869e993216
Removed the // smart string
2009-02-15 08:14:35 +00:00
Thomas Aylott
3f8ff5c7c4
New snippets for switch / case
2009-02-15 08:14:35 +00:00
Thomas Aylott
3dd8342167
Fix an issue where a @ in a block comment would cause IE conditional comment matching for the rest of the document
2009-02-15 08:14:34 +00:00
Thomas Aylott
7b887b2053
Updated info.plist
2009-02-15 08:14:34 +00:00
Thomas Aylott
02d5543550
smartTypingPairs, highlightPairs; Regular and in Strings
2009-02-15 08:14:34 +00:00
Thomas Aylott
8faa40bacf
Fixed indent rules for single-line case statements
2009-02-15 08:14:34 +00:00
Thomas Aylott
148d7ee9f3
NEW Advanced Folding and Indent patterns!
...
Added switch…case tests
2009-02-15 08:14:34 +00:00
Thomas Aylott
53cf154cf1
More advanced indent & folding tests
2009-02-15 08:14:34 +00:00
Thomas Aylott
ef4f576d6f
Special indent/folding tests
2009-02-15 08:14:34 +00:00
Thomas Aylott
5416ef92b3
updated info.plist for new stuff
2009-02-15 08:14:34 +00:00
Thomas Aylott
04e15e1473
onload listener snippet
2009-02-15 08:14:34 +00:00
Thomas Aylott
f77ae2743e
new window. snippet like the current document. snippet
2009-02-15 08:14:33 +00:00
Thomas Aylott
39d3a191cc
Updated proto snippet to match the new style of snippets for this bundle
2009-02-15 08:14:33 +00:00
Thomas Aylott
0d2472ba88
New Help command
...
Beginning Help document / GitHub readme
2009-02-15 08:14:33 +00:00
Thomas Aylott
5c0aa849b3
NEW: Advanced folding rules
...
Added more Tests for folding and indent
2009-02-15 08:14:33 +00:00
Thomas Aylott
90c28a16a1
Folding & Indent Test
2009-02-15 08:14:33 +00:00
Thomas Aylott
e129d1dc19
Tests for labels and new new
2009-02-15 08:14:32 +00:00
Thomas Aylott
c89827b256
Removed some poorly thought out snippets.
...
Unified the for snippets some more
New for snippet for fast DOM iteration
2009-02-15 08:14:32 +00:00
Thomas Aylott
d650e3bab9
Added operators to the syntax tests and more examples
2009-02-15 08:14:32 +00:00
Thomas Aylott
0dd03607c2
Unifying snippet formats
2009-02-15 08:14:32 +00:00
Thomas Aylott
4f1de2226d
Trying to come up with an exhaustive list of all literal syntax
2009-02-15 08:14:32 +00:00
Thomas Aylott
6ccd572492
Syntax Tests for Function Calls and Variables / Properties
2009-02-15 08:14:32 +00:00
Thomas Aylott
b239febbfd
Removed the conditional-compilation since I moved it into the other syntax
2009-02-15 08:14:32 +00:00
Thomas Aylott
34ca3c1df7
Changed the forin snippet to match what it actually does
2009-02-15 08:14:32 +00:00
Thomas Aylott
a2937c6427
Added special-comments-conditional-compilation for IE; Added leading-space scopes
2009-02-15 08:14:32 +00:00
Thomas Aylott
5125bf5db1
Snippet: try … catch
2009-02-15 08:14:31 +00:00