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 270270 <editorNotificationProvider implementation =" com.google.idea.blaze.base.qsync.QuerySyncNotificationProvider" />
271271 <!-- Disabled until a fix is introduced in the platform to make InspectionWidgetActionProvider work with remote dev -->
272272<!-- <iw.actionProvider implementation="com.google.idea.blaze.base.qsync.QuerySyncInspectionWidgetActionProvider"/>-->
273+ <daemon .essentialHighlightingRestarterDisablement implementation =" com.google.idea.blaze.base.qsync.analysis.QuerySyncEssentialHighlightingRestarterDisablement" />
273274 <daemon .highlightInfoFilter implementation =" com.google.idea.blaze.base.qsync.QuerySyncHighlightingFilter" />
274275 <trafficLightRendererContributor implementation =" com.google.idea.blaze.base.qsync.QuerySyncTrafficLightRendererContributor" />
275276 <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