mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Merge pull request #3847 from jeffkenton/master
Use Tern jump-to-definition search for quickeditt
This commit is contained in:
commit
2245e01960
6 files changed
+95
-34
No files matched your search
@@ -143,6 +143,7 @@ importScripts("thirdparty/requirejs/require.js");
|
||||
|
||||
var request = buildRequest(dir, file, "definition", offset, text);
|
||||
request.query.lineCharPositions = true;
|
||||
// request.query.typeOnly = true; // FIXME: tern doesn't work exactly right yet.
|
||||
ternServer.request(request, function (error, data) {
|
||||
if (error) {
|
||||
_log("Error returned from Tern 'definition' request: " + error);
|
||||
|
||||
Reference in new issue
Block a user