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; | 5 library server.constants; |
6 | 6 |
7 // | 7 // |
8 // Server methods | 8 // Server methods |
9 // | 9 // |
10 const String ADD = 'add'; | 10 const String ADD = 'add'; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
71 // Search notifications | 71 // Search notifications |
72 // | 72 // |
73 const String CONTENT = 'content'; | 73 const String CONTENT = 'content'; |
74 | 74 |
75 // | 75 // |
76 // Edit methods | 76 // Edit methods |
77 // | 77 // |
78 const String CORRECTION = 'correction'; | 78 const String CORRECTION = 'correction'; |
79 const String DART_DOC = 'dartdoc'; | 79 const String DART_DOC = 'dartdoc'; |
80 const String DEFAULT = 'default'; | 80 const String DEFAULT = 'default'; |
81 const String DIAGNOSTIC_GET_DIAGNOSTICS = 'diagnostic.getDiagnostics'; | |
Brian Wilkerson
2017/04/07 19:17:14
Is the sort function sorting constants? I thought
messick
2017/04/07 20:10:09
I was surprised to see this, too. I just sorted ev
| |
82 const String DIAGNOSTIC_GET_SERVER_PORT = 'diagnostic.getServerPort'; | |
81 const String DISPLAY_NAME = 'displayName'; | 83 const String DISPLAY_NAME = 'displayName'; |
82 const String EDIT_FORMAT = 'edit.format'; | 84 const String EDIT_FORMAT = 'edit.format'; |
83 const String EDIT_GET_ASSISTS = 'edit.getAssists'; | |
84 const String EDIT_GET_AVAILABLE_REFACTORINGS = 'edit.getAvailableRefactorings'; | |
85 | 85 |
86 // | 86 // |
87 // Execution methods | 87 // Execution methods |
88 // | 88 // |
89 const String EDIT_GET_ASSISTS = 'edit.getAssists'; | |
90 const String EDIT_GET_AVAILABLE_REFACTORINGS = 'edit.getAvailableRefactorings'; | |
89 const String EDIT_GET_FIXES = 'edit.getFixes'; | 91 const String EDIT_GET_FIXES = 'edit.getFixes'; |
90 const String EDIT_GET_REFACTORING = 'edit.getRefactoring'; | 92 const String EDIT_GET_REFACTORING = 'edit.getRefactoring'; |
91 const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives'; | 93 const String EDIT_GET_STATEMENT_COMPLETION = "edit.getStatementCompletion"; |
92 const String EDIT_SORT_MEMBERS = 'edit.sortMembers'; | |
93 | 94 |
94 // | 95 // |
95 // Execution notifications | 96 // Execution notifications |
96 // | 97 // |
97 const String EDITS = 'edits'; | 98 const String EDIT_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives'; |
98 | 99 |
99 // | 100 // |
100 // Diagnostics methods | 101 // Diagnostics methods |
101 // | 102 // |
102 const String DIAGNOSTIC_GET_DIAGNOSTICS = 'diagnostic.getDiagnostics'; | 103 const String EDIT_SORT_MEMBERS = 'edit.sortMembers'; |
103 const String DIAGNOSTIC_GET_SERVER_PORT = 'diagnostic.getServerPort'; | 104 const String EDITS = 'edits'; |
104 | 105 |
105 // | 106 // |
106 // Analysis option names | 107 // Analysis option names |
107 // | 108 // |
108 const String ELEMENT = 'element'; // boolean | 109 const String ELEMENT = 'element'; // boolean |
109 const String ELEMENT_DESCRIPTION = 'elementDescription'; // boolean | 110 const String ELEMENT_DESCRIPTION = 'elementDescription'; // boolean |
110 const String ELEMENT_KIND = 'elementKind'; // boolean | 111 const String ELEMENT_KIND = 'elementKind'; // boolean |
111 const String ENABLE_ASYNC = 'enableAsync'; // boolean | 112 const String ENABLE_ASYNC = 'enableAsync'; // boolean |
112 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean | 113 const String ENABLE_DEFERRED_LOADING = 'enableDeferredLoading'; // boolean |
113 | 114 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
198 const String STATIC_TYPE = 'staticType'; | 199 const String STATIC_TYPE = 'staticType'; |
199 const String SUBCLASSES = 'subclasses'; | 200 const String SUBCLASSES = 'subclasses'; |
200 const String SUBSCRIPTIONS = 'subscriptions'; | 201 const String SUBSCRIPTIONS = 'subscriptions'; |
201 const String SUGGESTIONS = 'suggestions'; | 202 const String SUGGESTIONS = 'suggestions'; |
202 const String SUPER_CLASS_MEMBER = 'superclassMember'; | 203 const String SUPER_CLASS_MEMBER = 'superclassMember'; |
203 const String SUPERCLASS = 'superclass'; | 204 const String SUPERCLASS = 'superclass'; |
204 const String TARGETS = 'targets'; | 205 const String TARGETS = 'targets'; |
205 const String TYPE = 'type'; | 206 const String TYPE = 'type'; |
206 const String VALUE = 'value'; | 207 const String VALUE = 'value'; |
207 const String VERSION = 'version'; | 208 const String VERSION = 'version'; |
OLD | NEW |