Erik Tierney
fa2bebcfa0
Cleanup - mostly deleting unused code
2013-04-11 15:49:07 -04:00
Erik Tierney
d5453276e1
fixes #2 and #4 - function type hinting
...
Display the called properties name instead of "fn".
don't display "?" if the function type could not be determined.
2013-04-05 16:04:29 -04:00
dloverin
dac2002e04
Add guesses to code hints
2013-04-05 13:00:25 -04:00
dloverin
c887e8760f
new guessing
2013-04-05 12:51:39 -04:00
Peter Farland
d371c0f916
Fix JSHint warnings and exclude tern and acorn related files from grunt.
2013-04-04 22:48:21 -04:00
Erik Tierney
63c89f4d62
Add support for hinting function types.
...
When in a function call, display the function type instead of the normal hints. This only happens when nothing has been entered by the user - if the user starts typing, then we switch back to the normal hints based on what the user has typed.
This also requires a new version of CodeMirror that brackets has not updated to. The old hints continue to work without the new version, but the function types will only work once codemirror is updated.
2013-04-02 17:58:05 -04:00
Erik Tierney
08f356c649
Merge pull request #5 from dloverin/cleanup-esprima
...
Remove espirma and related scope info code
2013-03-29 13:28:17 -07:00
dloverin
0746864409
Remove espirma and related scope info code
2013-03-29 16:08:20 -04:00
dloverin
9bf0b9f7d2
fix bug where no hints would be provided after '('
2013-03-29 14:53:55 -04:00
dloverin
7ac5459e6a
fix bug where hints disappear on first character
2013-03-28 16:21:24 -04:00
dloverin
7bfaedfa0a
Use tern to sort ids by depth, remove scope info
2013-03-28 15:06:15 -04:00
dloverin
7361589145
Merge remote-tracking branch 'upstream/tern-experiments' into tern-experiments
...
Conflicts:
src/extensions/default/JavaScriptCodeHints/ScopeManager.js
2013-03-26 09:13:32 -04:00
dloverin
f4bcdfc13c
case insensitive matches, middle matching, and use tern rawCompletions request
2013-03-25 16:22:49 -04:00
Erik Tierney
d648572395
Fix problem where hints are displayed before tern has finished computing the completions.
...
This means there is now a delay on the first request for hints.
2013-03-21 16:18:32 -04:00
Erik Tierney
832aaa2e14
prototyping hooking up ternjs to power codehints.
...
Currently only works in 1 file
tern does not yet run in a web worker
Code Hinting plugin now uses tern hints for property completions, and falls back to its own heuristics if tern does not have any hints.
2013-03-18 15:14:53 -04:00
Joel Brandt
1f1d074180
more doc fixups
2013-02-26 09:53:54 -08:00
Joel Brandt
bc8d9d8e2a
more fixes to jsdocs
2013-02-26 06:16:30 -08:00
Ian Wehrman
c8b53c7153
type capitalization typos and additional JSDoc annotations
2013-02-25 17:53:00 -08:00
Ian Wehrman
27b7dce115
Address initial comments and suggestions from code review by @rlim.
2013-02-21 11:01:14 -08:00
Ian Wehrman
786cd23bce
Add the JS code hinter as a default extension.
2013-02-14 15:59:12 -08:00