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

Side by Side Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServer.java

Issue 607813003: Use a separate request for 'Sort members' feature, not a refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014, the Dart project authors. 2 * Copyright (c) 2014, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 * validated and no change be generated. 241 * validated and no change be generated.
242 * @param options Data used to provide values provided by the user. The struct ure of the data is 242 * @param options Data used to provide values provided by the user. The struct ure of the data is
243 * dependent on the kind of refactoring being performed. The data that is expected is 243 * dependent on the kind of refactoring being performed. The data that is expected is
244 * documented in the section titled Refactorings, labeled as “Options” . This field can be 244 * documented in the section titled Refactorings, labeled as “Options” . This field can be
245 * omitted if the refactoring does not require any options or if the v alues of those 245 * omitted if the refactoring does not require any options or if the v alues of those
246 * options are not known. 246 * options are not known.
247 */ 247 */
248 public void edit_getRefactoring(String kind, String file, int offset, int leng th, boolean validateOnly, RefactoringOptions options, GetRefactoringConsumer con sumer); 248 public void edit_getRefactoring(String kind, String file, int offset, int leng th, boolean validateOnly, RefactoringOptions options, GetRefactoringConsumer con sumer);
249 249
250 /** 250 /**
251 * {@code edit.sortMembers}
252 *
253 * Sort all of the directives, unit and class members of the given Dart file.
254 *
255 * @param file The Dart file to sort.
256 */
257 public void edit_sortMembers(String file, SortMembersConsumer consumer);
258
259 /**
251 * {@code execution.createContext} 260 * {@code execution.createContext}
252 * 261 *
253 * Create an execution context for the executable file with the given path. Th e context that is 262 * Create an execution context for the executable file with the given path. Th e context that is
254 * created will persist until execution.deleteContext is used to delete it. Cl ients, therefore, are 263 * created will persist until execution.deleteContext is used to delete it. Cl ients, therefore, are
255 * responsible for managing the lifetime of execution contexts. 264 * responsible for managing the lifetime of execution contexts.
256 * 265 *
257 * @param contextRoot The path of the Dart or HTML file that will be launched. 266 * @param contextRoot The path of the Dart or HTML file that will be launched.
258 */ 267 */
259 public void execution_createContext(String contextRoot, CreateContextConsumer consumer); 268 public void execution_createContext(String contextRoot, CreateContextConsumer consumer);
260 269
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 * the response to this request has been sent. 405 * the response to this request has been sent.
397 */ 406 */
398 public void server_shutdown(); 407 public void server_shutdown();
399 408
400 /** 409 /**
401 * Start the analysis server. 410 * Start the analysis server.
402 */ 411 */
403 public void start() throws Exception; 412 public void start() throws Exception;
404 413
405 } 414 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/doc/api.html » ('j') | pkg/analysis_server/tool/spec/spec_input.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698