dloverin
|
72d7b2bcec
|
allow 'empty' updates for parameter hints
|
2013-08-16 06:17:20 -04:00 |
|
dloverin
|
0c892a988f
|
Work around issue https://github.com/marijnh/tern/issues/207 by calling Tern.findQueryExpr() and Infer.expressionType() as suggested by marijn. The problem with this fix is it requires a "full" text update with the parameter hint request. Suggested a possible solution in the issue.
The quality of the hints has been much improved and record type annotations can be hinted correctly.
|
2013-08-15 22:52:31 -04:00 |
|
Glenn Ruehle
|
65f69aad42
|
Merge with master
|
2013-08-14 11:04:47 -07:00 |
|
Jason San Jose
|
ce59ee1bba
|
revert acorn workaround
|
2013-08-13 16:14:30 -07:00 |
|
dloverin
|
d95544d504
|
remove half-done feature to pop up parameter hints on '(' key
|
2013-08-12 11:38:25 -04:00 |
|
dloverin
|
dd6b19d984
|
Add feature to hint on '(' key and fix typos
|
2013-08-12 10:55:24 -04:00 |
|
dloverin
|
388ddcfa41
|
change function-hint-container left and right padding from 1 to 3
|
2013-08-05 15:54:49 -04:00 |
|
dloverin
|
82dd6574ed
|
jsdoc fixes
|
2013-08-05 15:29:16 -04:00 |
|
dloverin
|
c994eafc36
|
Fix issue where "<no parameters>" would be hinted when Tern could not parse the jsdoc.
Fix issue where Session.getFunctionInfo could return 'inFunctionCall' as true but
'functionCallPos' would be undefined.
Fix many jsdoc problems.
|
2013-08-05 10:22:53 -04:00 |
|
dloverin
|
4969b7785f
|
undo accidental change of tern
|
2013-08-02 15:01:46 -04:00 |
|
dloverin
|
d9acb9703f
|
fix bad merge
|
2013-08-02 12:57:58 -04:00 |
|
dloverin
|
a57289b9c7
|
Merge branch 'fn-param-hints' of http://github.com/dloverin/brackets into fn-param-hints
Conflicts:
src/extensions/default/JavaScriptCodeHints/ParameterHintManager.js
|
2013-08-02 12:51:08 -04:00 |
|
dloverin
|
7cc31912df
|
fix bug in failed path of ParameterHintManager.popUpHint
|
2013-08-02 12:44:20 -04:00 |
|
dloverin
|
794c5d1ad8
|
improve error handling
|
2013-08-01 21:05:09 -04:00 |
|
dloverin
|
b41ad227c1
|
HintUtils2.formatParameterHint always returns the format string
|
2013-08-01 21:05:09 -04:00 |
|
dloverin
|
3492796714
|
Fix exception after picking hint from code hints combo.
Clean up unittests.js and change string from "<no arguments>"
to "<no parameters>"
|
2013-08-01 21:05:08 -04:00 |
|
dloverin
|
d837cd19e2
|
rename ScopeManager.requestFunctionHint to ScopeManager.requestParameterHint.
add unittests for HintUtils.formatParameterHint
|
2013-08-01 21:05:08 -04:00 |
|
dloverin
|
8ae1abe419
|
Add HintUtil2.formatParameterHint and fix bugs
|
2013-08-01 21:05:08 -04:00 |
|
dloverin
|
adb56c0b58
|
fix unit tests and move function hint type parsing into the tern worker.
|
2013-08-01 21:05:07 -04:00 |
|
dloverin
|
5205cba81c
|
refactor
|
2013-08-01 21:05:07 -04:00 |
|
dloverin
|
a9c916726f
|
parameter hint fixes
|
2013-08-01 21:05:07 -04:00 |
|
dloverin
|
9e15de2eb7
|
Function Hints
|
2013-08-01 21:05:06 -04:00 |
|
dloverin
|
eceea1035d
|
improve error handling
|
2013-08-01 21:02:08 -04:00 |
|
dloverin
|
97527908ec
|
HintUtils2.formatParameterHint always returns the format string
|
2013-07-31 09:42:43 -04:00 |
|
dloverin
|
a147ef5ded
|
Fix exception after picking hint from code hints combo.
Clean up unittests.js and change string from "<no arguments>"
to "<no parameters>"
|
2013-07-30 12:03:07 -04:00 |
|
dloverin
|
e4d8d66742
|
rename ScopeManager.requestFunctionHint to ScopeManager.requestParameterHint.
add unittests for HintUtils.formatParameterHint
|
2013-07-30 11:40:58 -04:00 |
|
dloverin
|
088c6c9c42
|
Add HintUtil2.formatParameterHint and fix bugs
|
2013-07-29 13:49:49 -04:00 |
|
Kevin Dangoor
|
f8f9c7a04b
|
turn off optimization in acorn (but not acorn_loose right now)
|
2013-07-26 13:41:09 -04:00 |
|
dloverin
|
6ffa193689
|
fix unit tests and move function hint type parsing into the tern worker.
|
2013-07-26 13:08:59 -04:00 |
|
dloverin
|
cc6d344694
|
refactor
|
2013-07-25 14:12:37 -04:00 |
|
Kevin Dangoor
|
8bc563528d
|
Revert "Revert "Workaround for the Tern crash.""
This reverts commit 0ae195f6ef.
|
2013-07-25 13:33:39 -04:00 |
|
dloverin
|
a176d7ee1e
|
parameter hint fixes
|
2013-07-25 13:32:37 -04:00 |
|
Glenn Ruehle
|
0ae195f6ef
|
Revert "Workaround for the Tern crash."
This reverts commit 22fed2a8e2.
|
2013-07-24 16:07:41 -07:00 |
|
Glenn Ruehle
|
819a20882d
|
Use fullPath and name getters instead of getPath() and getName().
|
2013-07-23 11:38:53 -07:00 |
|
dloverin
|
d86ae75c30
|
Function Hints
|
2013-07-22 14:44:42 -04:00 |
|
Kevin Dangoor
|
22fed2a8e2
|
Workaround for the Tern crash.
Change the Acorn submodule to point to a branch in my repository that
works around the crash by forcing a specific function to not be
optimized by v8.
|
2013-07-22 10:41:09 -04:00 |
|
Glenn Ruehle
|
848e0b67f4
|
Make FileSystem a class, and support multiple instances.
|
2013-07-21 12:25:39 -07:00 |
|
Ian Wehrman
|
4485ae8e22
|
Remove default extension from untitled documents and new files
|
2013-07-16 14:19:40 -07:00 |
|
Peter Flynn
|
220fae62dc
|
Merge pull request #4443 from adobe/untitled-documents
Untitled document support
|
2013-07-12 13:41:39 -07:00 |
|
Ian Wehrman
|
0caa95c6a6
|
Untitled document support using InaccessibleFileEntry objects.
|
2013-07-12 13:32:00 -07:00 |
|
Erik Tierney
|
9afd44282b
|
Update expected results, as Tern now gives us better results than what the test was expecting.
|
2013-07-12 10:46:39 -04:00 |
|
Kevin Dangoor
|
6997546af2
|
update tern and acorn to latest master
|
2013-07-12 09:12:19 -04:00 |
|
Glenn Ruehle
|
045f34654b
|
Initial integration into core.
|
2013-07-08 10:10:41 -07:00 |
|
Erik Tierney
|
35821e69db
|
Fix problem with finding next token on next line.
Don't set the selection until we have done the final jump-to-def
should address comments in issue #3863
|
2013-06-20 10:36:40 -04:00 |
|
Erik Tierney
|
10d8170bd6
|
Merge pull request #4256 from dloverin/json-error-msg
write SyntaxError.message to console log
|
2013-06-17 16:58:32 -07:00 |
|
dloverin
|
fc4c9eeef3
|
write SyntaxError.message to console to provide some help for preference file errors.
|
2013-06-17 17:06:40 -04:00 |
|
Jason San Jose
|
b9d69228bc
|
Merge pull request #4205 from dloverin/jody-test3
Jody added some new code hint tests
|
2013-06-17 13:46:03 -07:00 |
|
dloverin
|
893b3bd29d
|
Merge pull request #4254 from eztierney/iss-3863
Fix Issue #3863 - jump-to-def goes to exports line.
|
2013-06-17 13:26:40 -07:00 |
|
Erik Tierney
|
6490214cb5
|
code review cleanup
|
2013-06-17 16:25:13 -04:00 |
|
Erik Tierney
|
b975e6a50d
|
Only go to the original def when dealing with a Function.
|
2013-06-17 15:18:13 -04:00 |
|