mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
rename ScopeManager.requestFunctionHint to ScopeManager.requestParameterHint.
add unittests for HintUtils.formatParameterHint
This commit is contained in:
1 parent
8ae1abe419
commit
d837cd19e2
5 files changed
+88
-18
No files matched your search
@@ -382,11 +382,7 @@ importScripts("thirdparty/requirejs/require.js");
|
||||
var result = "function(",
|
||||
params = processInferFnTypeParameters(inferType);
|
||||
|
||||
function appendValue(value) {
|
||||
result += value;
|
||||
}
|
||||
|
||||
HintUtils2.formatParameterHint(params, appendValue, appendValue, true);
|
||||
result += HintUtils2.formatParameterHint(params, null, null, true);
|
||||
if (inferType.retval) {
|
||||
result += "):";
|
||||
result += inferTypeToString(inferType.retval);
|
||||
|
||||
Reference in new issue
Block a user