Skip to content

Commit 40f56ce

Browse files
committed
Autocompletion of typeName in SchemaMapping etc.
[skip ci]
1 parent 90fc1e0 commit 40f56ce

37 files changed

+127
-496
lines changed

.run/Run IDE for UI Tests.run.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
<!--
2-
~ Copyright (C) 2021 Jordie
3-
~
4-
~ This program is free software: you can redistribute it and/or modify
5-
~ it under the terms of the GNU General Public License as published by
6-
~ the Free Software Foundation, either version 3 of the License, or
7-
~ (at your option) any later version.
8-
~
9-
~ This program is distributed in the hope that it will be useful,
10-
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
~ GNU General Public License for more details.
13-
~
14-
~ You should have received a copy of the GNU General Public License
15-
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
-->
17-
181
<component name="ProjectRunConfigurationManager">
192
<configuration default="false" name="Run IDE for UI Tests" type="GradleRunConfiguration" factoryName="Gradle">
203
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />

.run/Run IDE with Plugin.run.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
<!--
2-
~ Copyright (C) 2021 Jordie
3-
~
4-
~ This program is free software: you can redistribute it and/or modify
5-
~ it under the terms of the GNU General Public License as published by
6-
~ the Free Software Foundation, either version 3 of the License, or
7-
~ (at your option) any later version.
8-
~
9-
~ This program is distributed in the hope that it will be useful,
10-
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
~ GNU General Public License for more details.
13-
~
14-
~ You should have received a copy of the GNU General Public License
15-
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
-->
17-
181
<component name="ProjectRunConfigurationManager">
192
<configuration default="false" name="Run Plugin" type="GradleRunConfiguration" factoryName="Gradle">
203
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />

.run/Run Plugin Tests.run.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
<!--
2-
~ Copyright (C) 2021 Jordie
3-
~
4-
~ This program is free software: you can redistribute it and/or modify
5-
~ it under the terms of the GNU General Public License as published by
6-
~ the Free Software Foundation, either version 3 of the License, or
7-
~ (at your option) any later version.
8-
~
9-
~ This program is distributed in the hope that it will be useful,
10-
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
~ GNU General Public License for more details.
13-
~
14-
~ You should have received a copy of the GNU General Public License
15-
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
-->
17-
181
<component name="ProjectRunConfigurationManager">
192
<configuration default="false" name="Run Tests" type="GradleRunConfiguration" factoryName="Gradle">
203
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />

.run/Run Plugin Verification.run.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
<!--
2-
~ Copyright (C) 2021 Jordie
3-
~
4-
~ This program is free software: you can redistribute it and/or modify
5-
~ it under the terms of the GNU General Public License as published by
6-
~ the Free Software Foundation, either version 3 of the License, or
7-
~ (at your option) any later version.
8-
~
9-
~ This program is distributed in the hope that it will be useful,
10-
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
~ GNU General Public License for more details.
13-
~
14-
~ You should have received a copy of the GNU General Public License
15-
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
-->
17-
181
<component name="ProjectRunConfigurationManager">
192
<configuration default="false" name="Run Verifications" type="GradleRunConfiguration" factoryName="Gradle">
203
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />

.run/Run Qodana.run.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
<!--
2-
~ Copyright (C) 2021 Jordie
3-
~
4-
~ This program is free software: you can redistribute it and/or modify
5-
~ it under the terms of the GNU General Public License as published by
6-
~ the Free Software Foundation, either version 3 of the License, or
7-
~ (at your option) any later version.
8-
~
9-
~ This program is distributed in the hope that it will be useful,
10-
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
~ GNU General Public License for more details.
13-
~
14-
~ You should have received a copy of the GNU General Public License
15-
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
-->
17-
181
<component name="ProjectRunConfigurationManager">
192
<configuration default="false" name="Run Qodana" type="GradleRunConfiguration" factoryName="Gradle">
203
<ExternalSystemSettings>

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,22 @@
44

55
### Added
66

7-
- Temporary
7+
## [0.0.2-alpha.5]
8+
9+
### Fixed
10+
11+
- IntelliJ IDEA `2021.3.1` compatibility
12+
13+
## [0.0.2-alpha.4]
14+
15+
### Added
16+
17+
- Navigation between annotated mapping methods and the schema
18+
- Autocompletion in mapping annotations for types and fields (works for `@SchemaMapping` and `@BatchMapping`)
19+
- Autocompletion for `@Argument` names associated with the field
20+
- Automatic filling of `typeName` when autocompleting fields
21+
- Return type checks for `@BatchMapping`
22+
- Data fetchers in the project window
23+
- Support for `@SchemaMapping(typeName = "...")` on classes
24+
- Inspection for adding required `@Controller` annotations
25+
- Inspection for `@SchemaMapping` and `@BatchMapping` on the same method

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@
88

99
<!-- Plugin description -->
1010

11-
This plugin adds support for [Spring GraphQL](https://spring.io/projects/spring-graphql). **The plugin is currently Work in Progress!**
11+
This plugin adds support for [Spring GraphQL](https://spring.io/projects/spring-graphql).
12+
13+
**The plugin is currently Work in Progress. Follow development on the [jord1e/spring-graphql-intellij-plugin GitHub repository](https://github.com/jord1e/spring-graphql-intellij-plugin).**
1214

1315
Features:
1416

1517
- Autocompletion of types and fields in @SchemaMapping annotations
16-
- Navigation between mappings and the schema
17-
- Checks for @BatchMapping return type
18-
- Data loader view
18+
- Navigation between method mappings and the schema
19+
- Various inspections
20+
- Data fetchers in project view
21+
- Autocompletion for @Argument names
1922
<!-- Plugin description end -->
2023

2124
## Installation

build.gradle.kts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
/*
2-
* Copyright (C) 2021 Jordie
3-
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
*/
17-
181
import org.jetbrains.changelog.markdownToHTML
192

203
fun properties(key: String) = project.findProperty(key).toString()

gradle.properties

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,6 @@
1-
#
2-
# Copyright (C) 2021 Jordie
3-
#
4-
# This program is free software: you can redistribute it and/or modify
5-
# it under the terms of the GNU General Public License as published by
6-
# the Free Software Foundation, either version 3 of the License, or
7-
# (at your option) any later version.
8-
#
9-
# This program is distributed in the hope that it will be useful,
10-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
# GNU General Public License for more details.
13-
#
14-
# You should have received a copy of the GNU General Public License
15-
# along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
#
17-
18-
# IntelliJ Platform Artifacts Repositories
19-
# -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
20-
211
pluginGroup=nl.jrdie.idea.springql
222
pluginName=spring-graphql-intellij-plugin
23-
pluginVersion=0.0.2-alpha.3
3+
pluginVersion=0.0.2-alpha.5
244

255
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
266
# for insight into build numbers and IntelliJ Platform versions.

settings.gradle.kts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1 @@
1-
/*
2-
* Copyright (C) 2021 Jordie
3-
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
*/
17-
181
rootProject.name = "spring-graphql-intellij-plugin"

0 commit comments

Comments
 (0)