mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Use tern jump-to-definition search for QuickEdit.
This commit is contained in:
1 parent
b6c5880b43
commit
6c365999bc
6 files changed
+134
-31
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