File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed
com/google/idea/blaze/base/qsync Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,10 @@ intellij_plugin_library(
68
68
"intellij-ue-2023.3" : [],
69
69
"intellij-2024.1" : [],
70
70
"intellij-ue-2024.1" : [],
71
+ "intellij-2024.2" : [],
72
+ "intellij-ue-2024.2" : [],
73
+ "intellij-2024.3" : ["src/META-INF/blaze-base-243.xml" ],
74
+ "intellij-ue-2024.3" : ["src/META-INF/blaze-base-243.xml" ],
71
75
"clion-2022.3" : [],
72
76
"clion-2023.1" : [],
73
77
"clion-2023.2" : [],
Original file line number Diff line number Diff line change
1
+ <!--
2
+ ~ Copyright 2024 The Bazel Authors. All rights reserved.
3
+ ~
4
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
5
+ ~ you may not use this file except in compliance with the License.
6
+ ~ You may obtain a copy of the License at
7
+ ~
8
+ ~ http://www.apache.org/licenses/LICENSE-2.0
9
+ ~
10
+ ~ Unless required by applicable law or agreed to in writing, software
11
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
12
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ ~ See the License for the specific language governing permissions and
14
+ ~ limitations under the License.
15
+ -->
16
+ <idea-plugin >
17
+ <extensions defaultExtensionNs =" com.intellij" >
18
+ <daemon .essentialHighlightingRestarterDisablement implementation =" com.google.idea.blaze.base.qsync.QuerySyncEssentialHighlightingRestarterDisablement" />
19
+ </extensions >
20
+ </idea-plugin >
Original file line number Diff line number Diff line change
1
+ package com .google .idea .blaze .base .qsync ;
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