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

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

Issue 304273007: Use 'analysis.setSubscriptions' HIGHLIGHTS in Editor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use addAnalysisSubscription/removeAnalysisSubscription Created 6 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 | Annotate | Revision Log
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 library constants; 5 library constants;
6 6
7 7
8 // 8 //
9 // Server methods 9 // Server methods
10 // 10 //
11 const String METHOD_GET_VERSION = 'server.getVersion'; 11 const String METHOD_GET_VERSION = 'server.getVersion';
12 const String METHOD_SHUTDOWN = 'server.shutdown'; 12 const String METHOD_SHUTDOWN = 'server.shutdown';
13 const String METHOD_SET_SERVER_SUBSCRIPTIONS = 'server.setSubscriptions';
13 14
14 // 15 //
15 // Analysis methods 16 // Analysis methods
16 // 17 //
17 const String METHOD_GET_FIXES = 'analysis.getFixes'; 18 const String METHOD_GET_FIXES = 'analysis.getFixes';
18 const String METHOD_GET_MINOR_REFACTORINGS = 'analysis.getMinorRefactorings'; 19 const String METHOD_GET_MINOR_REFACTORINGS = 'analysis.getMinorRefactorings' ;
19 const String METHOD_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots'; 20 const String METHOD_SET_ANALYSIS_ROOTS = 'analysis.setAnalysisRoots';
20 const String METHOD_SET_PRIORITY_FILES = 'analysis.setPriorityFiles'; 21 const String METHOD_SET_PRIORITY_FILES = 'analysis.setPriorityFiles';
21 const String METHOD_SET_SUBSCRIPTIONS = 'analysis.setSubscriptions'; 22 const String METHOD_SET_ANALYSIS_SUBSCRIPTIONS = 'analysis.setSubscriptions';
22 const String METHOD_UPDATE_CONTENT = 'analysis.updateContent'; 23 const String METHOD_UPDATE_CONTENT = 'analysis.updateContent';
23 const String METHOD_UPDATE_OPTIONS = 'analysis.updateOptions'; 24 const String METHOD_UPDATE_OPTIONS = 'analysis.updateOptions';
24 const String METHOD_UPDATE_SDKS = 'analysis.updateSdks'; 25 const String METHOD_UPDATE_SDKS = 'analysis.updateSdks';
25 26
26 // 27 //
27 // Server notifications 28 // Server notifications
28 // 29 //
29 const String NOTIFICATION_CONNECTED = 'server.connected'; 30 const String NOTIFICATION_CONNECTED = 'server.connected';
30 const String NOTIFICATION_STATUS = 'server.status'; 31 const String NOTIFICATION_STATUS = 'server.status';
31 32
32 // 33 //
33 // Analysis notifications 34 // Analysis notifications
34 // 35 //
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const String CHANGES_PARAM = 'changes'; 69 const String CHANGES_PARAM = 'changes';
69 const String CONTEXT_ID_PARAM = 'contextId'; 70 const String CONTEXT_ID_PARAM = 'contextId';
70 const String MODIFIED_PARAM = "modified"; 71 const String MODIFIED_PARAM = "modified";
71 const String SOURCES_PARAM = 'sources'; 72 const String SOURCES_PARAM = 'sources';
72 const String CACHE_SIZE_OPTION = 'cacheSize'; 73 const String CACHE_SIZE_OPTION = 'cacheSize';
73 const String GENERATE_HINTS_OPTION = 'generateHints'; 74 const String GENERATE_HINTS_OPTION = 'generateHints';
74 const String GENERATE_DART2JS_OPTION = 'generateDart2jsHints'; 75 const String GENERATE_DART2JS_OPTION = 'generateDart2jsHints';
75 const String PROVIDE_ERRORS_OPTION = 'provideErrors'; 76 const String PROVIDE_ERRORS_OPTION = 'provideErrors';
76 const String PROVIDE_NAVIGATION_OPTION = 'provideNavigation'; 77 const String PROVIDE_NAVIGATION_OPTION = 'provideNavigation';
77 const String PROVIDE_OUTLINE_OPTION = 'provideOutline'; 78 const String PROVIDE_OUTLINE_OPTION = 'provideOutline';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698