OLD | NEW |
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // Search notifications | 69 // Search notifications |
70 // | 70 // |
71 const String CONTENT = 'content'; | 71 const String CONTENT = 'content'; |
72 | 72 |
73 // | 73 // |
74 // Edit methods | 74 // Edit methods |
75 // | 75 // |
76 const String CORRECTION = 'correction'; | 76 const String CORRECTION = 'correction'; |
77 const String DART_DOC = 'dartdoc'; | 77 const String DART_DOC = 'dartdoc'; |
78 const String DEFAULT = 'default'; | 78 const String DEFAULT = 'default'; |
79 const String DIAGNOSTIC_GET_DIAGNOSTICS = 'diagnostic.getDiagnostics'; | |
80 const String DIAGNOSTIC_GET_SERVER_PORT = 'diagnostic.getServerPort'; | |
81 const String DISPLAY_NAME = 'displayName'; | 79 const String DISPLAY_NAME = 'displayName'; |
82 const String EDIT_FORMAT = 'edit.format'; | 80 const String EDIT_FORMAT = 'edit.format'; |
83 const String EDIT_GET_ASSISTS = 'edit.getAssists'; | 81 const String EDIT_GET_ASSISTS = 'edit.getAssists'; |
| 82 const String EDIT_SORT_MEMBERS = 'edit.sortMembers'; |
| 83 const String EDITS = 'edits'; |
| 84 |
| 85 // |
| 86 // Diagnostic methods |
| 87 // |
| 88 const String DIAGNOSTIC_GET_DIAGNOSTICS = 'diagnostic.getDiagnostics'; |
| 89 const String DIAGNOSTIC_GET_SERVER_PORT = 'diagnostic.getServerPort'; |
| 90 |
| 91 // |
| 92 // Analytics methods |
| 93 // |
| 94 const String ANALYTICS_IS_ENABLED = 'analytics.isEnabled'; |
| 95 const String ANALYTICS_ENABLE = 'analytics.enable'; |
| 96 const String ANALYTICS_SEND_EVENT = 'analytics.sendEvent'; |
| 97 const String ANALYTICS_SEND_TIMING = 'analytics.sendTiming'; |
84 | 98 |
85 // | 99 // |
86 // Execution methods | 100 // Execution methods |
87 // | 101 // |
88 const String EDIT_GET_AVAILABLE_REFACTORINGS = 'edit.getAvailableRefactorings'; | 102 const String EDIT_GET_AVAILABLE_REFACTORINGS = 'edit.getAvailableRefactorings'; |
89 const String EDIT_GET_FIXES = 'edit.getFixes'; | 103 const String EDIT_GET_FIXES = 'edit.getFixes'; |
90 const String EDIT_GET_REFACTORING = 'edit.getRefactoring'; | 104 const String EDIT_GET_REFACTORING = 'edit.getRefactoring'; |
91 const String EDIT_GET_STATEMENT_COMPLETION = "edit.getStatementCompletion"; | 105 const String EDIT_GET_STATEMENT_COMPLETION = "edit.getStatementCompletion"; |
92 | 106 |
93 // | 107 // |
94 // Execution notifications | 108 // Execution notifications |
95 // | 109 // |
96 const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives'; | 110 const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives'; |
97 | 111 |
98 // | 112 // |
99 // Diagnostics methods | |
100 // | |
101 const String EDIT_SORT_MEMBERS = 'edit.sortMembers'; | |
102 const String EDITS = 'edits'; | |
103 | |
104 // | |
105 // Analysis option names | 113 // Analysis option names |
106 // | 114 // |
107 const String ELEMENT = 'element'; // boolean | 115 const String ELEMENT = 'element'; // boolean |
108 const String ELEMENT_DESCRIPTION = 'elementDescription'; // boolean | 116 const String ELEMENT_DESCRIPTION = 'elementDescription'; // boolean |
109 const String ELEMENT_KIND = 'elementKind'; // boolean | 117 const String ELEMENT_KIND = 'elementKind'; // boolean |
110 const String ENABLE_ASYNC = 'enableAsync'; // boolean | 118 const String ENABLE_ASYNC = 'enableAsync'; // boolean |
111 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean | 119 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean |
112 | 120 |
113 // | 121 // |
114 // Property names | 122 // Property names |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 const String STATIC_TYPE = 'staticType'; | 205 const String STATIC_TYPE = 'staticType'; |
198 const String SUBCLASSES = 'subclasses'; | 206 const String SUBCLASSES = 'subclasses'; |
199 const String SUBSCRIPTIONS = 'subscriptions'; | 207 const String SUBSCRIPTIONS = 'subscriptions'; |
200 const String SUGGESTIONS = 'suggestions'; | 208 const String SUGGESTIONS = 'suggestions'; |
201 const String SUPER_CLASS_MEMBER = 'superclassMember'; | 209 const String SUPER_CLASS_MEMBER = 'superclassMember'; |
202 const String SUPERCLASS = 'superclass'; | 210 const String SUPERCLASS = 'superclass'; |
203 const String TARGETS = 'targets'; | 211 const String TARGETS = 'targets'; |
204 const String TYPE = 'type'; | 212 const String TYPE = 'type'; |
205 const String VALUE = 'value'; | 213 const String VALUE = 'value'; |
206 const String VERSION = 'version'; | 214 const String VERSION = 'version'; |
OLD | NEW |