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 library server.constants; | |
6 | |
7 // | 5 // |
8 // Server methods | 6 // Server methods |
9 // | 7 // |
10 const String ADD = 'add'; | 8 const String ADD = 'add'; |
11 const String ADDED = 'added'; | 9 const String ADDED = 'added'; |
12 const String ANALYSIS_ANALYZED_FILES = 'analysis.analyzedFiles'; | 10 const String ANALYSIS_ANALYZED_FILES = 'analysis.analyzedFiles'; |
13 | 11 |
14 // | 12 // |
15 // Server notifications | 13 // Server notifications |
16 // | 14 // |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 // Search notifications | 69 // Search notifications |
72 // | 70 // |
73 const String CONTENT = 'content'; | 71 const String CONTENT = 'content'; |
74 | 72 |
75 // | 73 // |
76 // Edit methods | 74 // Edit methods |
77 // | 75 // |
78 const String CORRECTION = 'correction'; | 76 const String CORRECTION = 'correction'; |
79 const String DART_DOC = 'dartdoc'; | 77 const String DART_DOC = 'dartdoc'; |
80 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'; | 81 const String DISPLAY_NAME = 'displayName'; |
82 const String EDIT_FORMAT = 'edit.format'; | 82 const String EDIT_FORMAT = 'edit.format'; |
83 const String EDIT_GET_ASSISTS = 'edit.getAssists'; | 83 const String EDIT_GET_ASSISTS = 'edit.getAssists'; |
84 const String EDIT_GET_AVAILABLE_REFACTORINGS = 'edit.getAvailableRefactorings'; | |
85 const String EDIT_GET_STATEMENT_COMPLETION = "edit.getStatementCompletion"; | |
86 | 84 |
87 // | 85 // |
88 // Execution methods | 86 // Execution methods |
89 // | 87 // |
| 88 const String EDIT_GET_AVAILABLE_REFACTORINGS = 'edit.getAvailableRefactorings'; |
90 const String EDIT_GET_FIXES = 'edit.getFixes'; | 89 const String EDIT_GET_FIXES = 'edit.getFixes'; |
91 const String EDIT_GET_REFACTORING = 'edit.getRefactoring'; | 90 const String EDIT_GET_REFACTORING = 'edit.getRefactoring'; |
92 const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives'; | 91 const String EDIT_GET_STATEMENT_COMPLETION = "edit.getStatementCompletion"; |
93 const String EDIT_SORT_MEMBERS = 'edit.sortMembers'; | |
94 | 92 |
95 // | 93 // |
96 // Execution notifications | 94 // Execution notifications |
97 // | 95 // |
98 const String EDITS = 'edits'; | 96 const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives'; |
99 | 97 |
100 // | 98 // |
101 // Diagnostics methods | 99 // Diagnostics methods |
102 // | 100 // |
103 const String DIAGNOSTIC_GET_DIAGNOSTICS = 'diagnostic.getDiagnostics'; | 101 const String EDIT_SORT_MEMBERS = 'edit.sortMembers'; |
104 const String DIAGNOSTIC_GET_SERVER_PORT = 'diagnostic.getServerPort'; | 102 const String EDITS = 'edits'; |
105 | 103 |
106 // | 104 // |
107 // Analysis option names | 105 // Analysis option names |
108 // | 106 // |
109 const String ELEMENT = 'element'; // boolean | 107 const String ELEMENT = 'element'; // boolean |
110 const String ELEMENT_DESCRIPTION = 'elementDescription'; // boolean | 108 const String ELEMENT_DESCRIPTION = 'elementDescription'; // boolean |
111 const String ELEMENT_KIND = 'elementKind'; // boolean | 109 const String ELEMENT_KIND = 'elementKind'; // boolean |
112 const String ENABLE_ASYNC = 'enableAsync'; // boolean | 110 const String ENABLE_ASYNC = 'enableAsync'; // boolean |
113 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean | 111 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean |
114 | 112 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 const String STATIC_TYPE = 'staticType'; | 197 const String STATIC_TYPE = 'staticType'; |
200 const String SUBCLASSES = 'subclasses'; | 198 const String SUBCLASSES = 'subclasses'; |
201 const String SUBSCRIPTIONS = 'subscriptions'; | 199 const String SUBSCRIPTIONS = 'subscriptions'; |
202 const String SUGGESTIONS = 'suggestions'; | 200 const String SUGGESTIONS = 'suggestions'; |
203 const String SUPER_CLASS_MEMBER = 'superclassMember'; | 201 const String SUPER_CLASS_MEMBER = 'superclassMember'; |
204 const String SUPERCLASS = 'superclass'; | 202 const String SUPERCLASS = 'superclass'; |
205 const String TARGETS = 'targets'; | 203 const String TARGETS = 'targets'; |
206 const String TYPE = 'type'; | 204 const String TYPE = 'type'; |
207 const String VALUE = 'value'; | 205 const String VALUE = 'value'; |
208 const String VERSION = 'version'; | 206 const String VERSION = 'version'; |
OLD | NEW |