File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
com/google/idea/blaze/base/qsync/analysis Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 266
266
<editorNotificationProvider implementation =" com.google.idea.blaze.base.qsync.QuerySyncNotificationProvider" />
267
267
<!-- Disabled until a fix is introduced in the platform to make InspectionWidgetActionProvider work with remote dev -->
268
268
<!-- <iw.actionProvider implementation="com.google.idea.blaze.base.qsync.QuerySyncInspectionWidgetActionProvider"/>-->
269
+ <daemon .essentialHighlightingRestarterDisablement implementation =" com.google.idea.blaze.base.qsync.analysis.QuerySyncEssentialHighlightingRestarterDisablement" />
269
270
<daemon .highlightInfoFilter implementation =" com.google.idea.blaze.base.qsync.QuerySyncHighlightingFilter" />
270
271
<trafficLightRendererContributor implementation =" com.google.idea.blaze.base.qsync.QuerySyncTrafficLightRendererContributor" />
271
272
<editorNotificationProvider implementation =" com.google.idea.blaze.base.qsync.UnsyncedFileEditorNotificationProvider" />
Original file line number Diff line number Diff line change
1
+ package com .google .idea .blaze .base .qsync .analysis ;
2
+
3
+ import com .google .idea .blaze .base .settings .Blaze ;
4
+ import com .google .idea .blaze .base .settings .BlazeImportSettings ;
5
+ import com .intellij .codeInsight .daemon .EssentialHighlightingRestarterDisablement ;
6
+ import com .intellij .openapi .project .Project ;
7
+ import org .jetbrains .annotations .NotNull ;
8
+
9
+ public class QuerySyncEssentialHighlightingRestarterDisablement implements EssentialHighlightingRestarterDisablement {
10
+
11
+ @ Override
12
+ public boolean shouldBeDisabledForProject (@ NotNull Project project ) {
13
+ return Blaze .getProjectType (project ) == BlazeImportSettings .ProjectType .QUERY_SYNC ;
14
+ }
15
+ }
You can’t perform that action at this time.
0 commit comments