Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Issue 392693002: Initial implementation for 'search.findElementReferences'. (Closed)

Created:
6 years, 5 months ago by scheglov
Modified:
6 years, 5 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Initial implementation for 'search.findElementReferences'. R=brianwilkerson@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=38201

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1285 lines, -257 lines) Patch
M pkg/analysis_server/lib/src/analysis_server.dart View 4 chunks +52 lines, -0 lines 0 comments Download
M pkg/analysis_server/lib/src/computer/element.dart View 3 chunks +53 lines, -11 lines 0 comments Download
M pkg/analysis_server/lib/src/constants.dart View 2 chunks +5 lines, -0 lines 0 comments Download
D pkg/analysis_server/lib/src/domain_search.dart View 1 chunk +0 lines, -82 lines 0 comments Download
A pkg/analysis_server/lib/src/search/element_references.dart View 1 1 chunk +104 lines, -0 lines 0 comments Download
A + pkg/analysis_server/lib/src/search/search_domain.dart View 3 chunks +71 lines, -31 lines 0 comments Download
A pkg/analysis_server/lib/src/search/search_result.dart View 1 1 chunk +156 lines, -0 lines 0 comments Download
M pkg/analysis_server/lib/src/socket_server.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/pubspec.yaml View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/analysis_abstract.dart View 1 chunk +1 line, -1 line 0 comments Download
D pkg/analysis_server/test/domain_search_test.dart View 1 chunk +0 lines, -121 lines 0 comments Download
A pkg/analysis_server/test/search/element_references_test.dart View 1 chunk +652 lines, -0 lines 0 comments Download
A pkg/analysis_server/test/search/search_domain_test.dart View 1 chunk +63 lines, -0 lines 0 comments Download
A pkg/analysis_server/test/search/search_result_test.dart View 1 chunk +116 lines, -0 lines 0 comments Download
A + pkg/analysis_server/test/search/test_all.dart View 1 chunk +8 lines, -7 lines 0 comments Download
M pkg/analysis_server/test/test_all.dart View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
scheglov
6 years, 5 months ago (2014-07-14 16:22:27 UTC) #1
Brian Wilkerson
LGTM, but it could use more documentation. https://codereview.chromium.org/392693002/diff/1/pkg/analysis_server/lib/src/socket_server.dart File pkg/analysis_server/lib/src/socket_server.dart (right): https://codereview.chromium.org/392693002/diff/1/pkg/analysis_server/lib/src/socket_server.dart#newcode14 pkg/analysis_server/lib/src/socket_server.dart:14: import 'package:analysis_server/src/search/search_domain.dart'; ...
6 years, 5 months ago (2014-07-14 17:18:00 UTC) #2
scheglov
I've added some comments. https://codereview.chromium.org/392693002/diff/1/pkg/analysis_server/lib/src/socket_server.dart File pkg/analysis_server/lib/src/socket_server.dart (right): https://codereview.chromium.org/392693002/diff/1/pkg/analysis_server/lib/src/socket_server.dart#newcode14 pkg/analysis_server/lib/src/socket_server.dart:14: import 'package:analysis_server/src/search/search_domain.dart'; On 2014/07/14 17:17:58, ...
6 years, 5 months ago (2014-07-14 17:43:47 UTC) #3
scheglov
Committed patchset #2 manually as r38201 (presubmit successful).
6 years, 5 months ago (2014-07-14 17:45:38 UTC) #4
Brian Wilkerson
6 years, 5 months ago (2014-07-14 17:49:56 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/392693002/diff/1/pkg/analysis_server/lib/src/...
File pkg/analysis_server/lib/src/socket_server.dart (right):

https://codereview.chromium.org/392693002/diff/1/pkg/analysis_server/lib/src/...
pkg/analysis_server/lib/src/socket_server.dart:14: import
'package:analysis_server/src/search/search_domain.dart';
> My idea is that given that "search" is an "optional" domain, it should live
> separately.

Technically, *all* domains are optional. Until we actually move them into
separate packages I don't see any reason to change the structure. Just my
opinion.

Powered by Google App Engine
This is Rietveld 408576698