Skip to content

Commit 509c7df

Browse files
Rewrite plugin for Axon 4.x and Kotlin (#10)
1 parent 4926c88 commit 509c7df

File tree

158 files changed

+8943
-2259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+8943
-2259
lines changed

.editorconfig

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
[*]
2+
charset = utf-8
3+
end_of_line = lf
4+
indent_size = 4
5+
indent_style = space
6+
insert_final_newline = true
7+
max_line_length = 140
8+
tab_width = 4
9+
ij_continuation_indent_size = 8
10+
ij_formatter_off_tag = @formatter:off
11+
ij_formatter_on_tag = @formatter:on
12+
ij_formatter_tags_enabled = false
13+
ij_smart_tabs = false
14+
ij_visual_guides = none
15+
ij_wrap_on_typing = false
16+
17+
[.editorconfig]
18+
ij_editorconfig_align_group_field_declarations = false
19+
ij_editorconfig_space_after_colon = false
20+
ij_editorconfig_space_after_comma = true
21+
ij_editorconfig_space_before_colon = false
22+
ij_editorconfig_space_before_comma = false
23+
ij_editorconfig_spaces_around_assignment_operators = true
24+
25+
[{*.kt,*.kts}]
26+
ij_kotlin_align_in_columns_case_branch = false
27+
ij_kotlin_align_multiline_binary_operation = false
28+
ij_kotlin_align_multiline_extends_list = false
29+
ij_kotlin_align_multiline_method_parentheses = false
30+
ij_kotlin_align_multiline_parameters = true
31+
ij_kotlin_align_multiline_parameters_in_calls = false
32+
ij_kotlin_allow_trailing_comma = false
33+
ij_kotlin_allow_trailing_comma_on_call_site = false
34+
ij_kotlin_assignment_wrap = normal
35+
ij_kotlin_blank_lines_after_class_header = 0
36+
ij_kotlin_blank_lines_around_block_when_branches = 0
37+
ij_kotlin_blank_lines_before_declaration_with_comment_or_annotation_on_separate_line = 1
38+
ij_kotlin_block_comment_add_space = false
39+
ij_kotlin_block_comment_at_first_column = true
40+
ij_kotlin_call_parameters_new_line_after_left_paren = true
41+
ij_kotlin_call_parameters_right_paren_on_new_line = true
42+
ij_kotlin_call_parameters_wrap = on_every_item
43+
ij_kotlin_catch_on_new_line = false
44+
ij_kotlin_class_annotation_wrap = split_into_lines
45+
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
46+
ij_kotlin_continuation_indent_for_chained_calls = false
47+
ij_kotlin_continuation_indent_for_expression_bodies = false
48+
ij_kotlin_continuation_indent_in_argument_lists = false
49+
ij_kotlin_continuation_indent_in_elvis = false
50+
ij_kotlin_continuation_indent_in_if_conditions = false
51+
ij_kotlin_continuation_indent_in_parameter_lists = false
52+
ij_kotlin_continuation_indent_in_supertype_lists = false
53+
ij_kotlin_else_on_new_line = false
54+
ij_kotlin_enum_constants_wrap = off
55+
ij_kotlin_extends_list_wrap = normal
56+
ij_kotlin_field_annotation_wrap = split_into_lines
57+
ij_kotlin_finally_on_new_line = false
58+
ij_kotlin_if_rparen_on_new_line = true
59+
ij_kotlin_import_nested_classes = false
60+
ij_kotlin_imports_layout = *, java.**, javax.**, kotlin.**, ^
61+
ij_kotlin_insert_whitespaces_in_simple_one_line_method = true
62+
ij_kotlin_keep_blank_lines_before_right_brace = 2
63+
ij_kotlin_keep_blank_lines_in_code = 2
64+
ij_kotlin_keep_blank_lines_in_declarations = 2
65+
ij_kotlin_keep_first_column_comment = true
66+
ij_kotlin_keep_indents_on_empty_lines = false
67+
ij_kotlin_keep_line_breaks = true
68+
ij_kotlin_lbrace_on_next_line = false
69+
ij_kotlin_line_comment_add_space = false
70+
ij_kotlin_line_comment_at_first_column = true
71+
ij_kotlin_method_annotation_wrap = split_into_lines
72+
ij_kotlin_method_call_chain_wrap = normal
73+
ij_kotlin_method_parameters_new_line_after_left_paren = true
74+
ij_kotlin_method_parameters_right_paren_on_new_line = true
75+
ij_kotlin_method_parameters_wrap = on_every_item
76+
ij_kotlin_name_count_to_use_star_import = 2147483647
77+
ij_kotlin_name_count_to_use_star_import_for_members = 2147483647
78+
ij_kotlin_packages_to_use_import_on_demand = kotlinx.android.synthetic.**, io.ktor.**
79+
ij_kotlin_parameter_annotation_wrap = off
80+
ij_kotlin_space_after_comma = true
81+
ij_kotlin_space_after_extend_colon = true
82+
ij_kotlin_space_after_type_colon = true
83+
ij_kotlin_space_before_catch_parentheses = true
84+
ij_kotlin_space_before_comma = false
85+
ij_kotlin_space_before_extend_colon = true
86+
ij_kotlin_space_before_for_parentheses = true
87+
ij_kotlin_space_before_if_parentheses = true
88+
ij_kotlin_space_before_lambda_arrow = true
89+
ij_kotlin_space_before_type_colon = false
90+
ij_kotlin_space_before_when_parentheses = true
91+
ij_kotlin_space_before_while_parentheses = true
92+
ij_kotlin_spaces_around_additive_operators = true
93+
ij_kotlin_spaces_around_assignment_operators = true
94+
ij_kotlin_spaces_around_equality_operators = true
95+
ij_kotlin_spaces_around_function_type_arrow = true
96+
ij_kotlin_spaces_around_logical_operators = true
97+
ij_kotlin_spaces_around_multiplicative_operators = true
98+
ij_kotlin_spaces_around_range = false
99+
ij_kotlin_spaces_around_relational_operators = true
100+
ij_kotlin_spaces_around_unary_operator = false
101+
ij_kotlin_spaces_around_when_arrow = true
102+
ij_kotlin_variable_annotation_wrap = off
103+
ij_kotlin_while_on_new_line = false
104+
ij_kotlin_wrap_elvis_expressions = 1
105+
ij_kotlin_wrap_expression_body_functions = 1
106+
ij_kotlin_wrap_first_method_in_call_chain = false
107+
108+
[{*.markdown,*.md}]
109+
ij_markdown_force_one_space_after_blockquote_symbol = true
110+
ij_markdown_force_one_space_after_header_symbol = true
111+
ij_markdown_force_one_space_after_list_bullet = true
112+
ij_markdown_force_one_space_between_words = true
113+
ij_markdown_keep_indents_on_empty_lines = false
114+
ij_markdown_max_lines_around_block_elements = 1
115+
ij_markdown_max_lines_around_header = 1
116+
ij_markdown_max_lines_between_paragraphs = 1
117+
ij_markdown_min_lines_around_block_elements = 1
118+
ij_markdown_min_lines_around_header = 1
119+
ij_markdown_min_lines_between_paragraphs = 1
120+
121+
[{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.pom,*.rng,*.tld,*.wadl,*.wsdd,*.wsdl,*.xjb,*.xml,*.xsd,*.xsl,*.xslt,*.xul}]
122+
ij_xml_align_attributes = true
123+
ij_xml_align_text = false
124+
ij_xml_attribute_wrap = normal
125+
ij_xml_block_comment_add_space = false
126+
ij_xml_block_comment_at_first_column = true
127+
ij_xml_keep_blank_lines = 2
128+
ij_xml_keep_indents_on_empty_lines = false
129+
ij_xml_keep_line_breaks = true
130+
ij_xml_keep_line_breaks_in_text = true
131+
ij_xml_keep_whitespaces = false
132+
ij_xml_keep_whitespaces_around_cdata = preserve
133+
ij_xml_keep_whitespaces_inside_cdata = false
134+
ij_xml_line_comment_at_first_column = true
135+
ij_xml_space_after_tag_name = false
136+
ij_xml_space_around_equals_in_attribute = false
137+
ij_xml_space_inside_empty_tag = false
138+
ij_xml_text_wrap = normal
139+
max_line_length = 200

.github/ISSUE_TEMPLATE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!--
2+
Thanks for taking the time to draft up an issue for Axon Framework's IntelliJ plugin!
3+
Prior to starting off, please read the following:
4+
5+
## Usage Questions
6+
7+
If you are having difficulty using Axon Framework,
8+
please consider checking Axon's Reference Guide first if it answers your question: https://docs.axoniq.io
9+
10+
When the Reference Guide does not cover the specific question you have, take the following into account:
11+
- GitHub is *not* intended for usages questions, instead:
12+
- Drop a questions on AxonIQ's forum: https://discuss.axoniq.io/
13+
- Or place a new question on StackOverflow, using the `axon` tag.
14+
15+
## Reporting a bug, feature or enhancement
16+
17+
Prior to filing an issue, please verify that it's not already reported by someone else.
18+
After that's done, your issue will typically fall under one of the following options:
19+
20+
1. It's a `bug`
21+
2. It's a `feature` request
22+
3. It's an `enhancement` request
23+
24+
It is recommended that for either of the three you use one of the prepared issue template.
25+
You can find all three of them [here](https://github.com/AxonIQ/IdeaPlugin/issues/new/choose).
26+
27+
## None of the above fit!
28+
29+
If you have encountered a use case which is not a question, nor a feature request, feel free to draft your scenario below.
30+
-->
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: 'Feature request' about: 'Suggest a feature for the Intellij Plugin' title:
3+
labels: 'Type: Feature'
4+
---
5+
6+
<!-- Please use markdown (https://guides.github.com/features/mastering-markdown/) semantics throughout the feature description. -->
7+
8+
### Feature Description
9+
10+
<!--
11+
Please provide a description of the feature you envision.
12+
For example (pseudo-)code snippets showing what it might look like help us understand your suggestion better.
13+
-->
14+
15+
### Current Behaviour
16+
17+
<!-- Please share the current behaviour of Axon Framework around this topic, if applicable. -->
18+
19+
### Wanted Behaviour
20+
21+
<!-- Please describe the desired outcome through Axon Framework around the suggested feature. -->
22+
23+
### Possible Workarounds
24+
25+
<!-- If applicable, share any workarounds for the described feature. -->
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: 'Enhancement request' about: 'Suggest an enhancement/change to an existing feature for the IntelliJ plugin' title:
3+
labels: 'Type: Enhancement'
4+
---
5+
6+
<!-- Please use markdown (https://guides.github.com/features/mastering-markdown/) semantics throughout the enhancement description. -->
7+
8+
### Enhancement Description
9+
10+
<!-- Please provide a description of the feature you envision. -->
11+
12+
### Current Behaviour
13+
14+
<!-- Please share the current behaviour of Axon Framework around this topic, if applicable. -->
15+
16+
### Wanted Behaviour
17+
18+
<!-- Please described the desired outcome through Axon Framework around the suggested enhancement. -->
19+
20+
### Possible Workarounds
21+
22+
<!-- If applicable, share any workarounds for the described enhancement. -->
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: 'Bug report' about: 'Report a bug for the IntelliJ plugin' title:
3+
labels: 'Type: Bug'
4+
---
5+
6+
<!-- Please use markdown (https://guides.github.com/features/mastering-markdown/) semantics throughout the bug description. -->
7+
8+
### Basic information
9+
10+
* JDK version:
11+
* Complete executable reproducer if available (e.g. GitHub Repo):
12+
13+
### Steps to reproduce
14+
15+
<!--
16+
Share all steps to be able to reproduce the bug, ideally based on a reproducer.
17+
Combining this with a description of your setup helps us to figure out what the issue might be.
18+
-->
19+
20+
### Expected behaviour
21+
22+
<!-- Please describe the expected behaviour. -->
23+
24+
### Actual behaviour
25+
26+
<!--
27+
Please describe the actual behaviour as discovered.
28+
If available, provide the entire stack trace, with markdown (```) semantics.
29+
-->

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: gradle
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
# Specify labels for pull requests
9+
labels:
10+
- "Type: Dependency Upgrade"
11+
- "Priority 1: Must"
12+
# Add reviewers
13+
reviewers:
14+
- "Morlack"

.github/screenshot.png

62.6 KB
Loading

.github/workflows/pluginverifier.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Plugin Verifier
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
push:
7+
branches:
8+
- master
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up JDK 11
17+
uses: actions/setup-java@v2
18+
with:
19+
java-version: '11'
20+
distribution: 'adopt'
21+
- name: Validate Gradle wrapper
22+
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
23+
- name: Build plugin
24+
uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021
25+
with:
26+
arguments: build
27+
- name: Verify plugin
28+
uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021
29+
with:
30+
arguments: runPluginVerifier

.github/workflows/qodana.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Qodana
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
qodana:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: 'Qodana Scan'
15+
uses: JetBrains/qodana-action@v4.2.2
16+
with:
17+
linter: jetbrains/qodana-jvm-community
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Build plugin (also for hot reload)" type="GradleRunConfiguration"
3+
factoryName="Gradle">
4+
<ExternalSystemSettings>
5+
<option name="executionName"/>
6+
<option name="externalProjectPath" value="$PROJECT_DIR$"/>
7+
<option name="externalSystemIdString" value="GRADLE"/>
8+
<option name="scriptParameters" value=""/>
9+
<option name="taskDescriptions">
10+
<list/>
11+
</option>
12+
<option name="taskNames">
13+
<list>
14+
<option value="buildPlugin"/>
15+
</list>
16+
</option>
17+
<option name="vmOptions"/>
18+
</ExternalSystemSettings>
19+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
20+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
21+
<DebugAllEnabled>false</DebugAllEnabled>
22+
<method v="2"/>
23+
</configuration>
24+
</component>

0 commit comments

Comments
 (0)