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

Side by Side Diff: pkg/analysis_server/lib/src/constants.dart

Issue 2933753002: Run the sorter to reduce code churn (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // 5 //
6 // Server methods 6 // Server methods
7 // 7 //
8 const String ADD = 'add'; 8 const String ADD = 'add';
9 const String ADDED = 'added'; 9 const String ADDED = 'added';
10 const String ANALYSIS_ANALYZED_FILES = 'analysis.analyzedFiles'; 10 const String ANALYSIS_ANALYZED_FILES = 'analysis.analyzedFiles';
(...skipping 23 matching lines...) Expand all
34 const String ANALYSIS_SET_GENERAL_SUBSCRIPTIONS = 34 const String ANALYSIS_SET_GENERAL_SUBSCRIPTIONS =
35 'analysis.setGeneralSubscriptions'; 35 'analysis.setGeneralSubscriptions';
36 36
37 // 37 //
38 // Analysis notifications 38 // Analysis notifications
39 // 39 //
40 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; 40 const String ANALYSIS_SET_PRIORITY_FILES = 'analysis.setPriorityFiles';
41 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; 41 const String ANALYSIS_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions';
42 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent'; 42 const String ANALYSIS_UPDATE_CONTENT = 'analysis.updateContent';
43 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions'; 43 const String ANALYSIS_UPDATE_OPTIONS = 'analysis.updateOptions';
44 const String ASSISTS = 'assists'; 44 const String ANALYTICS_ENABLE = 'analytics.enable';
45 const String CHANGE = 'change'; 45 const String ANALYTICS_IS_ENABLED = 'analytics.isEnabled';
46 const String CHILDREN = 'children'; 46 const String ANALYTICS_SEND_EVENT = 'analytics.sendEvent';
47 const String CLASS_ELEMENT = 'classElement'; 47 const String ANALYTICS_SEND_TIMING = 'analytics.sendTiming';
48 48
49 // 49 //
50 // Code Completion methods 50 // Code Completion methods
51 // 51 //
52 const String CLASS_NAME = 'className'; 52 const String ASSISTS = 'assists';
53 53
54 // 54 //
55 // Code Completion notifications 55 // Code Completion notifications
56 // 56 //
57 const String CODE = 'code'; 57 const String CHANGE = 'change';
58 58
59 // 59 //
60 // Search methods 60 // Search methods
61 // 61 //
62 const String CHILDREN = 'children';
63 const String CLASS_ELEMENT = 'classElement';
64 const String CLASS_NAME = 'className';
65 const String CODE = 'code';
62 const String COMPLETION = 'completion'; 66 const String COMPLETION = 'completion';
63 const String COMPLETION_GET_SUGGESTIONS = 'completion.getSuggestions';
64 const String COMPLETION_RESULTS = 'completion.results';
65 const String CONTAINING_LIBRARY_NAME = 'containingLibraryName';
66 const String CONTAINING_LIBRARY_PATH = 'containingLibraryPath';
67 67
68 // 68 //
69 // Search notifications 69 // Search notifications
70 // 70 //
71 const String CONTENT = 'content'; 71 const String COMPLETION_GET_SUGGESTIONS = 'completion.getSuggestions';
72 72
73 // 73 //
74 // Edit methods 74 // Edit methods
75 // 75 //
76 const String COMPLETION_RESULTS = 'completion.results';
77 const String CONTAINING_LIBRARY_NAME = 'containingLibraryName';
78 const String CONTAINING_LIBRARY_PATH = 'containingLibraryPath';
79 const String CONTENT = 'content';
76 const String CORRECTION = 'correction'; 80 const String CORRECTION = 'correction';
77 const String DART_DOC = 'dartdoc'; 81 const String DART_DOC = 'dartdoc';
78 const String DEFAULT = 'default'; 82 const String DEFAULT = 'default';
79 const String DISPLAY_NAME = 'displayName'; 83 const String DIAGNOSTIC_GET_DIAGNOSTICS = 'diagnostic.getDiagnostics';
80 const String EDIT_FORMAT = 'edit.format';
81 const String EDIT_GET_ASSISTS = 'edit.getAssists';
82 const String EDIT_SORT_MEMBERS = 'edit.sortMembers';
83 const String EDITS = 'edits';
84 84
85 // 85 //
86 // Diagnostic methods 86 // Diagnostic methods
87 // 87 //
88 const String DIAGNOSTIC_GET_DIAGNOSTICS = 'diagnostic.getDiagnostics';
89 const String DIAGNOSTIC_GET_SERVER_PORT = 'diagnostic.getServerPort'; 88 const String DIAGNOSTIC_GET_SERVER_PORT = 'diagnostic.getServerPort';
89 const String DISPLAY_NAME = 'displayName';
90 90
91 // 91 //
92 // Analytics methods 92 // Analytics methods
93 // 93 //
94 const String ANALYTICS_IS_ENABLED = 'analytics.isEnabled'; 94 const String EDIT_FORMAT = 'edit.format';
95 const String ANALYTICS_ENABLE = 'analytics.enable'; 95 const String EDIT_GET_ASSISTS = 'edit.getAssists';
96 const String ANALYTICS_SEND_EVENT = 'analytics.sendEvent'; 96 const String EDIT_GET_AVAILABLE_REFACTORINGS = 'edit.getAvailableRefactorings';
97 const String ANALYTICS_SEND_TIMING = 'analytics.sendTiming'; 97 const String EDIT_GET_FIXES = 'edit.getFixes';
98 98
99 // 99 //
100 // Execution methods 100 // Execution methods
101 // 101 //
102 const String EDIT_GET_AVAILABLE_REFACTORINGS = 'edit.getAvailableRefactorings';
103 const String EDIT_GET_FIXES = 'edit.getFixes';
104 const String EDIT_GET_REFACTORING = 'edit.getRefactoring'; 102 const String EDIT_GET_REFACTORING = 'edit.getRefactoring';
105 const String EDIT_GET_STATEMENT_COMPLETION = "edit.getStatementCompletion"; 103 const String EDIT_GET_STATEMENT_COMPLETION = "edit.getStatementCompletion";
104 const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives';
105 const String EDIT_SORT_MEMBERS = 'edit.sortMembers';
106 106
107 // 107 //
108 // Execution notifications 108 // Execution notifications
109 // 109 //
110 const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives'; 110 const String EDITS = 'edits';
111 111
112 // 112 //
113 // Analysis option names 113 // Analysis option names
114 // 114 //
115 const String ELEMENT = 'element'; // boolean 115 const String ELEMENT = 'element'; // boolean
116 const String ELEMENT_DESCRIPTION = 'elementDescription'; // boolean 116 const String ELEMENT_DESCRIPTION = 'elementDescription'; // boolean
117 const String ELEMENT_KIND = 'elementKind'; // boolean 117 const String ELEMENT_KIND = 'elementKind'; // boolean
118 const String ENABLE_ASYNC = 'enableAsync'; // boolean 118 const String ENABLE_ASYNC = 'enableAsync'; // boolean
119 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean 119 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean
120 120
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 const String STATIC_TYPE = 'staticType'; 205 const String STATIC_TYPE = 'staticType';
206 const String SUBCLASSES = 'subclasses'; 206 const String SUBCLASSES = 'subclasses';
207 const String SUBSCRIPTIONS = 'subscriptions'; 207 const String SUBSCRIPTIONS = 'subscriptions';
208 const String SUGGESTIONS = 'suggestions'; 208 const String SUGGESTIONS = 'suggestions';
209 const String SUPER_CLASS_MEMBER = 'superclassMember'; 209 const String SUPER_CLASS_MEMBER = 'superclassMember';
210 const String SUPERCLASS = 'superclass'; 210 const String SUPERCLASS = 'superclass';
211 const String TARGETS = 'targets'; 211 const String TARGETS = 'targets';
212 const String TYPE = 'type'; 212 const String TYPE = 'type';
213 const String VALUE = 'value'; 213 const String VALUE = 'value';
214 const String VERSION = 'version'; 214 const String VERSION = 'version';
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/collections.dart ('k') | pkg/analysis_server/lib/src/status/diagnostics.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698