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

Unified Diff: pkg/analysis_server/lib/src/constants.dart

Issue 2894883002: Remove more libraries directives from server (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/lib/src/constants.dart
diff --git a/pkg/analysis_server/lib/src/constants.dart b/pkg/analysis_server/lib/src/constants.dart
index 094c59f3fdaf44457c13033a85f5e835c68c1aa9..9d1eee0104b687db14634a0f57b4a5600d9e9aef 100644
--- a/pkg/analysis_server/lib/src/constants.dart
+++ b/pkg/analysis_server/lib/src/constants.dart
@@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library server.constants;
-
//
// Server methods
//
@@ -78,30 +76,30 @@ const String CONTENT = 'content';
const String CORRECTION = 'correction';
const String DART_DOC = 'dartdoc';
const String DEFAULT = 'default';
+const String DIAGNOSTIC_GET_DIAGNOSTICS = 'diagnostic.getDiagnostics';
+const String DIAGNOSTIC_GET_SERVER_PORT = 'diagnostic.getServerPort';
const String DISPLAY_NAME = 'displayName';
const String EDIT_FORMAT = 'edit.format';
const String EDIT_GET_ASSISTS = 'edit.getAssists';
-const String EDIT_GET_AVAILABLE_REFACTORINGS = 'edit.getAvailableRefactorings';
-const String EDIT_GET_STATEMENT_COMPLETION = "edit.getStatementCompletion";
//
// Execution methods
//
+const String EDIT_GET_AVAILABLE_REFACTORINGS = 'edit.getAvailableRefactorings';
const String EDIT_GET_FIXES = 'edit.getFixes';
const String EDIT_GET_REFACTORING = 'edit.getRefactoring';
-const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives';
-const String EDIT_SORT_MEMBERS = 'edit.sortMembers';
+const String EDIT_GET_STATEMENT_COMPLETION = "edit.getStatementCompletion";
//
// Execution notifications
//
-const String EDITS = 'edits';
+const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives';
//
// Diagnostics methods
//
-const String DIAGNOSTIC_GET_DIAGNOSTICS = 'diagnostic.getDiagnostics';
-const String DIAGNOSTIC_GET_SERVER_PORT = 'diagnostic.getServerPort';
+const String EDIT_SORT_MEMBERS = 'edit.sortMembers';
+const String EDITS = 'edits';
//
// Analysis option names
« no previous file with comments | « pkg/analysis_server/lib/src/computer/computer_overrides.dart ('k') | pkg/analysis_server/lib/src/context_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698