Paul Berry
e2f77056a5
Eliminate dependencies on pkg/front_end.
...
The API for pkg/front_end is still in flux so we want to avoid having
any packages depend directly on it (other than analyzer and
back-ends).
This CL re-exports some of the critical pieces of front_end needed by
analyzer clients so that those clients can access them via analyzer,
without having to directly depend on front_end. It also updates
pkg/analyzer_plugin to make use of those re-exports.
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2993123002 .
2017-08-07 09:46:30 -07:00
Brian Wilkerson
adb482002b
Prevent exception with isolate failed to start
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2986123002 .
2017-07-28 08:26:31 -07:00
Brian Wilkerson
9a6b134d33
Improve name generation for indexed expressions
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2990793002 .
2017-07-27 07:58:34 -07:00
Brian Wilkerson
0c775ae412
Guard against an AST node with no end token (issue 30089)
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2974533002 .
2017-07-06 12:51:23 -07:00
Brian Wilkerson
6a7b9f441b
Convert DartChangeBuilder to use AnalysisSession
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2969833002 .
2017-07-03 08:41:40 -07:00
Brian Wilkerson
aadafd1bd5
Use DartEditBuilder to write types and remove dead code
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2972463003 .
2017-07-01 12:03:44 -07:00
Brian Wilkerson
6f4420562c
Clean up some code in plugins
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2967683002 .
2017-06-30 10:39:20 -07:00
Brian Wilkerson
d1bb233f52
Remove timeStamp from the ChangeBuilder API
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2962223002 .
2017-06-29 13:48:46 -07:00
Konstantin Shcheglov
a2f18fdb73
Fixes and tests for adding library imports.
...
R=brianwilkerson@google.com , pquitslund@google.com
BUG= https://github.com/flutter/flutter-intellij/issues/1119
Review-Url: https://codereview.chromium.org/2955913002 .
2017-06-26 13:16:19 -07:00
Brian Wilkerson
4a10003924
Update the plugin API
...
R=maxkim@google.com , mfairhurst@google.com
Review-Url: https://codereview.chromium.org/2953093002 .
2017-06-23 12:31:00 -07:00
Brian Wilkerson
5976c78a79
Handle unresolved constructor (issue 29925)
...
R=danrubel@google.com
Review-Url: https://codereview.chromium.org/2944083002 .
2017-06-20 06:16:23 -07:00
Brian Wilkerson
eafc070479
Remove ReplacementRange
...
R=danrubel@google.com , maxkim@google.com
Review-Url: https://codereview.chromium.org/2946573003 .
2017-06-19 10:15:36 -07:00
Max Kim
382ddb21c3
Refactor: Removed ReplacementRange from test and ReplacementRange from src/. Copied contents of test into lib/utilities and modified test path.
...
This is needed to expose ReplacementRange outside of test folder for external plugin users to utilize. Reason discussed further in ticket: https://codereview.chromium.org/2934133002/
BUG=
R=brianwilkerson@google.com , danrubel@google.com
Review-Url: https://codereview.chromium.org/2937093002 .
2017-06-16 11:19:27 -07:00
Max Kim
e57d9b608f
Change to accommade Angular plugin and finalize removal of dependency to analysis_server
...
BUG=
R=brianwilkerson@google.com , mfairhurst@google.com
Review-Url: https://codereview.chromium.org/2934133002 .
2017-06-13 16:31:39 -07:00
Brian Wilkerson
d824acbf71
Update AssistProcessor to use ChangeBuilder
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2928313002 .
2017-06-12 07:28:02 -07:00
Brian Wilkerson
38e2bf5897
Remove invalid imports of analysis_server
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2927923003 .
2017-06-08 10:41:25 -07:00
Brian Wilkerson
6d8b7c8806
Finish refactoring FixProcessor to use ChangeBuilder
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2930793002 .
2017-06-08 07:56:08 -07:00
Brian Wilkerson
91b8b495b3
Add support for fixes
...
R=maxkim@google.com , scheglov@google.com
Review-Url: https://codereview.chromium.org/2923283002 .
2017-06-08 07:53:06 -07:00
Brian Wilkerson
9b0a98fd42
Port a missed piece to remove invalid reference to analysis_server
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2930723002 .
2017-06-07 10:06:33 -07:00
Brian Wilkerson
456f790aa7
Add support for implementing getAssists in plugins
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2924063002 .
2017-06-07 09:19:47 -07:00
Brian Wilkerson
8a724f7093
Port two completion contributors for use by plugins
...
R=danrubel@google.com , scheglov@google.com
Review-Url: https://codereview.chromium.org/2927663002 .
2017-06-07 09:14:49 -07:00
Brian Wilkerson
a8919b8237
Support a short-hand way to create linked edit groups
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2928723003 .
2017-06-07 09:07:39 -07:00
Brian Wilkerson
db0a8a76ae
Move CompletionTarget and OpType for use by plugins
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2924703002 .
2017-06-06 07:07:19 -07:00
Brian Wilkerson
691cc1b57a
Make navigation support consistent with completion support
...
R=mfairhurst@google.com , scheglov@google.com
Review-Url: https://codereview.chromium.org/2919293002 .
2017-06-05 12:33:20 -07:00
Brian Wilkerson
e8a5e404c3
Move LocalDeclarationVisitor for use by contributors that will be moved to analyzer_plugin
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2918343002 .
2017-06-05 10:24:54 -07:00
Brian Wilkerson
12398ad917
Add completion support for plugins
...
R=maxkim@google.com , scheglov@google.com
Review-Url: https://codereview.chromium.org/2918613002 .
2017-06-03 09:44:56 -07:00
Brian Wilkerson
b5c630426c
Update a few more methods in FixProcessor, and fix some bugs in ChangeBuilder
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2916923002 .
2017-06-02 07:36:51 -07:00
Brian Wilkerson
f6c6c01211
Update some of the fixes to use ChangeBuilder
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2910683002 .
2017-05-30 08:01:52 -07:00
Brian Wilkerson
bbe8892c3b
Override ChangeBuilder methods in subclass to specify better type information
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2906373002 .
2017-05-29 17:23:58 -07:00
Brian Wilkerson
6bff3433b7
Add navigation support in plugins
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2902193002 .
2017-05-24 15:06:18 -07:00
Brian Wilkerson
a8dc041543
Capture the request time for performance data and support forced shutdown
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2893803004 .
2017-05-19 08:49:47 -07:00
Brian Wilkerson
7e11a13cf5
Add requestTime to responses
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2890163004 .
2017-05-18 10:32:47 -07:00
Brian Wilkerson
4c487c806b
Minor cleanup of error reporting in plugins
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2887453004 .
2017-05-15 16:48:23 -07:00
Brian Wilkerson
3085734ef6
Generate common types into a separate library
...
R=danrubel@google.com
Review-Url: https://codereview.chromium.org/2880443006 .
2017-05-13 08:12:14 -07:00
Brian Wilkerson
bef53e72e4
Remove unintentional dependency on analysis_server
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2875323002 .
2017-05-12 10:07:37 -07:00
Brian Wilkerson
3b2c3ae5b2
Add support for built-in plugins
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2874803003 .
2017-05-10 13:31:20 -07:00
Brian Wilkerson
1f893e86a9
Clean up some warnings
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2874443003 .
2017-05-09 13:07:06 -07:00
Brian Wilkerson
6c2023bd07
Move ChangeBuilder to analyzer_plugin
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2860383002 .
2017-05-05 07:52:27 -07:00
Brian Wilkerson
9eee213363
Fix bugs found while working on tests
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2849253002 .
2017-05-02 06:15:25 -07:00
Brian Wilkerson
27338f8d20
Missed clean-up from the last CL
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2748663003 .
2017-03-13 11:31:17 -07:00
Brian Wilkerson
c91736b8e5
Fix bugs and add instrumentation
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2748683003 .
2017-03-13 10:12:25 -07:00
Brian Wilkerson
6ca3a29f2f
Rename generated file
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2686933002 .
2017-02-08 13:26:02 -08:00
Brian Wilkerson
f70f023261
Add an interface for request parameters
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2679093004 .
2017-02-08 07:44:09 -08:00
Brian Wilkerson
82d0383566
Revert "Add an interface for request parameters"
...
Review-Url: https://codereview.chromium.org/2683583004 .
2017-02-07 13:34:58 -08:00
Brian Wilkerson
41685ccf9a
Add an interface for request parameters
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2680053002 .
2017-02-07 12:54:02 -08:00
Brian Wilkerson
b22f453a87
Add server-side communications channel
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2676633003 .
2017-02-02 10:47:12 -08:00
Brian Wilkerson
81397c00aa
Add top-level driver and abstract plugin superclass
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2667823003 .
2017-01-31 13:41:56 -08:00
Brian Wilkerson
d8129ae0c9
Add a channel to communication with server
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2666143002 .
2017-01-31 13:07:22 -08:00
Brian Wilkerson
95c777fe7e
Add the generator and the generated files
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2664213003 .
2017-01-31 12:36:17 -08:00