|
128 | 128 | <projectViewNestingRulesProvider implementation="com.intellij.lang.jsgraphql.ide.project.GraphQLIntrospectionProjectViewNestingRulesProvider" /> |
129 | 129 | <editorTabTitleProvider implementation="com.intellij.lang.jsgraphql.ide.editor.GraphQLIntrospectionEditorTabTitleProvider" /> |
130 | 130 |
|
131 | | - |
132 | | - <!-- v2 above this point --> |
133 | | - |
134 | | - |
135 | 131 | <!-- Project Language services --> |
136 | | - <!-- |
137 | | - <projectService serviceInterface="JSGraphQLLanguageUIProjectService" serviceImplementation="JSGraphQLLanguageUIProjectService" /> |
138 | | - <projectService serviceInterface="JSGraphQLSchemaLanguageProjectService" serviceImplementation="JSGraphQLSchemaLanguageProjectService" /> |
139 | | - --> |
140 | 132 | <projectService serviceInterface="com.intellij.lang.jsgraphql.v1.ide.configuration.JSGraphQLConfigurationProvider" serviceImplementation="com.intellij.lang.jsgraphql.v1.ide.configuration.JSGraphQLConfigurationProvider" /> |
141 | 133 | <projectService serviceInterface="com.intellij.lang.jsgraphql.endpoint.ide.project.JSGraphQLEndpointNamedTypeRegistry" serviceImplementation="com.intellij.lang.jsgraphql.endpoint.ide.project.JSGraphQLEndpointNamedTypeRegistry" /> |
142 | | - <!-- |
143 | | - <projectService serviceInterface="JSGraphQLPsiSearchHelper" serviceImplementation="JSGraphQLPsiSearchHelper" /> |
144 | | - --> |
145 | 134 |
|
146 | 135 |
|
147 | 136 | <!-- Spellchecking and to-do view--> |
148 | 137 | <spellchecker.support language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.JSGraphQLEndpointSpellcheckingStrategy" /> |
149 | 138 | <todoIndexer filetype="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.JSGraphQLEndpointTodoIndexer"/> |
150 | 139 |
|
151 | 140 |
|
152 | | - <!-- Project tree --> |
153 | | - <!-- |
154 | | - <treeStructureProvider implementation="JSGraphQLSchemaTreeStructureProvider" /> |
155 | | - --> |
156 | | - |
157 | | - |
158 | 141 | <!-- File types --> |
159 | 142 | <fileTypeFactory implementation="com.intellij.lang.jsgraphql.endpoint.JSGraphQLEndpointFileTypeFactory"/> |
160 | 143 | <fileTypeFactory implementation="com.intellij.lang.jsgraphql.endpoint.doc.JSGraphQLEndpointDocFileTypeFactory"/> |
|
165 | 148 |
|
166 | 149 | <lang.parserDefinition language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.JSGraphQLEndpointParserDefinition"/> |
167 | 150 | <lang.parserDefinition language="GraphQL Endpoint Doc" implementationClass="com.intellij.lang.jsgraphql.endpoint.doc.JSGraphQLEndpointDocParserDefinition"/> |
168 | | - <!-- |
169 | | - <lang.syntaxHighlighterFactory language="GraphQL" implementationClass="JSGraphQLSyntaxHighlighterFactory"/> |
170 | | - <lang.syntaxHighlighterFactory language="GraphQL Schema" implementationClass="JSGraphQLSyntaxHighlighterFactory"/> |
171 | | - --> |
| 151 | + |
172 | 152 | <lang.syntaxHighlighterFactory language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.ide.highlighting.JSGraphQLEndpointSyntaxHighlighterFactory"/> |
173 | 153 | <lang.syntaxHighlighterFactory language="GraphQL Endpoint Doc" implementationClass="com.intellij.lang.jsgraphql.endpoint.doc.ide.highlighting.JSGraphQLEndpointDocSyntaxHighlighterFactory"/> |
174 | | - <!-- |
175 | | - <lang.commenter language="GraphQL" implementationClass="JSGraphQLCommenter"/> |
176 | | - <lang.commenter language="GraphQL Schema" implementationClass="JSGraphQLCommenter"/> |
177 | | - --> |
| 154 | + |
178 | 155 | <lang.commenter language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.v1.ide.editor.JSGraphQLCommenter"/> |
179 | | - <!-- |
180 | | - <lang.braceMatcher language="GraphQL" implementationClass="JSGraphQLBraceMatcher" /> |
181 | | - <lang.braceMatcher language="GraphQL Schema" implementationClass="JSGraphQLBraceMatcher" /> |
182 | | - --> |
| 156 | + |
183 | 157 | <lang.braceMatcher language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.ide.editor.JSGraphQLEndpointBraceMatcher" /> |
184 | 158 | <lang.psiStructureViewFactory language="GraphQL" implementationClass="com.intellij.lang.jsgraphql.ide.structureView.GraphQLPsiStructureViewFactory"/> |
185 | | - <!-- |
186 | | - <lang.fileViewProviderFactory language="GraphQL Schema" implementationClass="JSGraphQLSchemaFileViewProviderFactory" /> |
187 | | - <lang.psiStructureViewFactory language="GraphQL Schema" implementationClass="JSGraphQLPsiStructureViewFactory"/> |
188 | | - --> |
| 159 | + |
189 | 160 | <lang.psiStructureViewFactory language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.ide.structureView.JSGraphQLEndpointPsiStructureViewFactory"/> |
190 | 161 | <iconProvider implementation="com.intellij.lang.jsgraphql.endpoint.psi.JSGraphQLEndpointIconProvider" /> |
191 | 162 | <enterHandlerDelegate implementation="com.intellij.lang.jsgraphql.endpoint.ide.editor.JSGraphQLEndpointEnterHandlerDelegate" /> |
192 | 163 |
|
193 | 164 | <!-- Completion --> |
194 | | - <!-- |
195 | | - <completion.contributor language="GraphQL" implementationClass="JSGraphQLCompletionContributor"/> |
196 | | - --> |
197 | 165 | <completion.contributor language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.ide.completion.JSGraphQLEndpointCompletionContributor"/> |
198 | 166 | <completion.contributor language="GraphQL Endpoint Doc" implementationClass="com.intellij.lang.jsgraphql.endpoint.doc.ide.completion.JSGraphQLEndpointDocCompletionContributor"/> |
199 | 167 |
|
200 | 168 |
|
201 | 169 | <!-- Error highlighting and annotations --> |
202 | | - <!-- |
203 | | - <externalAnnotator language="GraphQL" implementationClass="JSGraphQLAnnotator" /> |
204 | | - <externalAnnotator language="GraphQL Schema" implementationClass="JSGraphQLAnnotator" /> |
205 | | - <externalAnnotator language="JavaScript" implementationClass="JSGraphQLAnnotator" /> |
206 | | - <externalAnnotator language="TypeScript" implementationClass="JSGraphQLAnnotator" /><!## Own reg required ##> |
207 | | - <annotator language="JavaScript" implementationClass="JSGraphQLRelayTemplateAnnotator" /><!## Using the JSX dialect overwrites the default annotator ##> |
208 | | - <annotator language="TypeScript" implementationClass="JSGraphQLRelayTemplateAnnotator" /><!## Using the JSX dialect overwrites the default annotator ##> |
209 | | - --> |
210 | 170 | <annotator language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.ide.annotator.JSGraphQLEndpointHighlightAnnotator" /> |
211 | 171 | <annotator language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.ide.annotator.JSGraphQLEndpointErrorAnnotator" /> |
212 | 172 | <annotator language="GraphQL Endpoint Doc" implementationClass="com.intellij.lang.jsgraphql.endpoint.doc.ide.annotator.JSGraphQLEndpointDocHighlightAnnotator" /> |
|
217 | 177 |
|
218 | 178 |
|
219 | 179 | <!-- Formatting --> |
220 | | - <!-- |
221 | | - <lang.formatter language="GraphQL" implementationClass="JSGraphQLFormattingModelBuilder"/> |
222 | | - <lang.formatter language="GraphQL Schema" implementationClass="JSGraphQLFormattingModelBuilder"/> |
223 | | - --> |
224 | 180 | <lang.formatter language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.ide.formatter.JSGraphQLEndpointFormattingModelBuilder"/> |
225 | | - <!-- |
226 | | - <lang.foldingBuilder language="GraphQL" implementationClass="JSGraphQLFoldingBuilder"/> |
227 | | - <lang.foldingBuilder language="GraphQL Schema" implementationClass="JSGraphQLFoldingBuilder"/> |
228 | | - --> |
| 181 | + |
229 | 182 | <lang.foldingBuilder language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.ide.editor.JSGraphQLEndpointFoldingBuilder"/> |
230 | | - <!-- |
231 | | - <lang.quoteHandler language="GraphQL" implementationClass="JSGraphQLQuoteHandler" /> |
232 | | - <lang.quoteHandler language="GraphQL Schema" implementationClass="JSGraphQLQuoteHandler" /> |
233 | | - --> |
234 | | - <lang.quoteHandler language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.ide.editor.JSGraphQLEndpointQuoteHandler" /> |
235 | | - <!-- |
236 | | - <enterHandlerDelegate implementation="JSGraphQLEnterHandlerDelegate" /> |
237 | | - <enterHandlerDelegate implementation="JSGraphQLEnterInEmptyListHandler"/> |
238 | | - --> |
239 | | - <!-- |
240 | | - <langCodeStyleSettingsProvider implementation="JSGraphQLLanguageCodeStyleSettingsProvider"/> |
241 | | - <codeStyleSettingsProvider implementation="JSGraphQLCodeStyleSettingsProvider" /> |
242 | | - --> |
243 | 183 |
|
| 184 | + <lang.quoteHandler language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.ide.editor.JSGraphQLEndpointQuoteHandler" /> |
244 | 185 |
|
245 | 186 | <!-- Find usages --> |
246 | | - <!-- |
247 | | - <lang.findUsagesProvider language="GraphQL" implementationClass="JSGraphQLFindUsagesProvider" /> |
248 | | - --> |
249 | 187 | <lang.findUsagesProvider language="GraphQL Endpoint" implementationClass="com.intellij.lang.jsgraphql.endpoint.ide.findUsages.JSGraphQLEndpointFindUsagesProvider" /> |
250 | | - <usageTypeProvider implementation="com.intellij.lang.jsgraphql.v1.ide.findUsages.JSGraphQLUsageTypeProvider" /> |
251 | | - <!-- |
252 | | - <findUsagesHandlerFactory id="GraphQL" implementation="JSGraphQLFindUsagesHandlerFactory"/> |
253 | | - --> |
254 | 188 | <findUsagesHandlerFactory id="GraphQL Endpoint" implementation="com.intellij.lang.jsgraphql.endpoint.ide.findUsages.JSGraphQLEndpointFindUsagesHandlerFactory"/> |
255 | 189 |
|
256 | | - |
257 | | - <!-- Renaming --> |
258 | | - <!-- |
259 | | - <vetoRenameCondition implementation="JSGraphQLRenameVetoCondition" /> |
260 | | - --> |
261 | | - |
262 | | - |
263 | 190 | <!-- Schema documentation --> |
264 | 191 | <lang.documentationProvider language="GraphQL" implementationClass="com.intellij.lang.jsgraphql.ide.documentation.GraphQLDocumentationProvider" /> |
265 | | - --> |
| 192 | + |
266 | 193 | <!-- Note: JSX/TSX documentation providers are registered in their base language (JS), so we do the same to not take over the entire doc impl --> |
267 | 194 | <lang.documentationProvider language="JavaScript" implementationClass="com.intellij.lang.jsgraphql.ide.documentation.GraphQLDocumentationProvider" /> |
268 | 195 |
|
269 | | - |
270 | | - <!-- Editor notification bars and markers --> |
271 | | - <!-- |
272 | | - <editorNotificationProvider implementation="JSGraphQLApolloLokkaEditorNotificationProvider"/> |
273 | | - --> |
274 | | - <!-- |
275 | | - <codeInsight.lineMarkerProvider language="JavaScript" implementationClass="JSGraphQLLineMarkerProvider" /> |
276 | | - --> |
277 | | - |
278 | | - <!-- |
279 | | - <editorTabColorProvider implementation="JSGraphQLSchemaEditorTabColorProvider" /> |
280 | | - --> |
281 | | - |
282 | 196 | <!-- Language injection --> |
283 | | - <!-- |
284 | | - <multiHostInjector implementation="JSGraphQLTemplateFragmentLanguageInjector" order="first" /> |
285 | | - --> |
286 | 197 | <languageInjector implementation="com.intellij.lang.jsgraphql.endpoint.doc.ide.injection.JSGraphQLEndpointDocInjector" /> |
287 | 198 |
|
288 | | - |
289 | | - <!-- Settings --> |
290 | | - <!-- |
291 | | - <colorSettingsPage implementation="JSGraphQLColorSettingsPage" /> |
292 | | - --> |
293 | | - |
294 | 199 | <!-- Query execution (see com.intellij.openapi.actionSystem.IdeActions.ACTION_EDITOR_SPLIT which is ctrl+enter by default) --> |
295 | 200 | <editorActionHandler action="EditorSplitLine" implementationClass="com.intellij.lang.jsgraphql.v1.ide.actions.JSGraphQLExecuteEditorActionHandler" order="first" /> |
296 | 201 | <highlightErrorFilter implementation="com.intellij.lang.jsgraphql.v1.ide.editor.JSGraphQLVariablesHighlightErrorFilter" /> |
297 | 202 |
|
298 | 203 |
|
299 | 204 | <!-- Search (find implementations etc.) --> |
300 | | - <!-- |
301 | | - <definitionsSearch implementation="JSGraphQLDefinitionsSearchExecutor"/> |
302 | | - --> |
303 | 205 | <definitionsSearch implementation="com.intellij.lang.jsgraphql.endpoint.ide.search.JSGraphQLEndpointDefinitionsSearchExecutor"/> |
304 | 206 |
|
305 | 207 |
|
|
0 commit comments