Skip to content

Commit e32117e

Browse files
committed
feat(intellij): added a first version of pycharm/intellij plugin
1 parent 56a0174 commit e32117e

Some content is hidden

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

42 files changed

+2117
-1
lines changed

.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ webpack.config.js
1313
.eslintrc.json
1414
tsconfig.json
1515
vscode-client
16+
intellij-client
1617
.eslintignore
1718
.prettier*
1819
eslint.config.mjs

intellij-client/.editorconfig

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
max_line_length = 120
8+
tab_width = 4
9+
ij_visual_guides = 80, 120
10+
11+
[.editorconfig]
12+
ij_editorconfig_align_group_field_declarations = false
13+
ij_editorconfig_space_after_colon = true
14+
ij_editorconfig_space_after_comma = true
15+
ij_editorconfig_space_before_colon = false
16+
ij_editorconfig_space_before_comma = false
17+
ij_editorconfig_spaces_around_assignment_operators = true
18+
19+
[*.properties]
20+
ij_visual_guides = 120
21+
ij_properties_align_group_field_declarations = false
22+
ij_properties_keep_blank_lines = true
23+
ij_properties_key_value_delimiter = equals
24+
ij_properties_spaces_around_key_value_delimiter = true
25+
26+
[{*.kt,*.kts}]
27+
indent_size = 4
28+
indent_style = space
29+
ij_visual_guides = 120
30+
ij_continuation_indent_size = 4
31+
ij_wrap_on_typing = true
32+
ij_kotlin_align_in_columns_case_branch = false
33+
ij_kotlin_align_multiline_binary_operation = true
34+
ij_kotlin_align_multiline_extends_list = true
35+
ij_kotlin_align_multiline_method_parentheses = false
36+
ij_kotlin_align_multiline_parameters = true
37+
ij_kotlin_align_multiline_parameters_in_calls = true
38+
ij_kotlin_allow_trailing_comma = false
39+
ij_kotlin_allow_trailing_comma_on_call_site = false
40+
ij_kotlin_assignment_wrap = normal
41+
ij_kotlin_blank_lines_after_class_header = 0
42+
ij_kotlin_blank_lines_around_block_when_branches = 0
43+
ij_kotlin_blank_lines_before_declaration_with_comment_or_annotation_on_separate_line = 1
44+
ij_kotlin_block_comment_add_space = false
45+
ij_kotlin_block_comment_at_first_column = false
46+
ij_kotlin_call_parameters_new_line_after_left_paren = true
47+
ij_kotlin_call_parameters_right_paren_on_new_line = true
48+
ij_kotlin_call_parameters_wrap = on_every_item
49+
ij_kotlin_catch_on_new_line = false
50+
ij_kotlin_class_annotation_wrap = normal
51+
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
52+
ij_kotlin_continuation_indent_for_chained_calls = false
53+
ij_kotlin_continuation_indent_for_expression_bodies = false
54+
ij_kotlin_continuation_indent_in_argument_lists = false
55+
ij_kotlin_continuation_indent_in_elvis = false
56+
ij_kotlin_continuation_indent_in_if_conditions = false
57+
ij_kotlin_continuation_indent_in_parameter_lists = false
58+
ij_kotlin_continuation_indent_in_supertype_lists = false
59+
ij_kotlin_else_on_new_line = false
60+
ij_kotlin_enum_constants_wrap = split_into_lines
61+
ij_kotlin_extends_list_wrap = normal
62+
ij_kotlin_field_annotation_wrap = normal
63+
ij_kotlin_finally_on_new_line = false
64+
ij_kotlin_if_rparen_on_new_line = true
65+
ij_kotlin_import_nested_classes = false
66+
ij_kotlin_imports_layout = *, java.**, javax.**, kotlin.**, ^
67+
ij_kotlin_insert_whitespaces_in_simple_one_line_method = true
68+
ij_kotlin_keep_blank_lines_before_right_brace = 1
69+
ij_kotlin_keep_blank_lines_in_code = 2
70+
ij_kotlin_keep_blank_lines_in_declarations = 2
71+
ij_kotlin_keep_first_column_comment = false
72+
ij_kotlin_keep_indents_on_empty_lines = true
73+
ij_kotlin_keep_line_breaks = true
74+
ij_kotlin_lbrace_on_next_line = false
75+
ij_kotlin_line_break_after_multiline_when_entry = true
76+
ij_kotlin_line_comment_add_space = true
77+
ij_kotlin_line_comment_add_space_on_reformat = true
78+
ij_kotlin_line_comment_at_first_column = false
79+
ij_kotlin_method_annotation_wrap = normal
80+
ij_kotlin_method_call_chain_wrap = normal
81+
ij_kotlin_method_parameters_new_line_after_left_paren = true
82+
ij_kotlin_method_parameters_right_paren_on_new_line = true
83+
ij_kotlin_method_parameters_wrap = on_every_item
84+
ij_kotlin_name_count_to_use_star_import = 100
85+
ij_kotlin_name_count_to_use_star_import_for_members = 100
86+
ij_kotlin_packages_to_use_import_on_demand = java.util.*, kotlinx.android.synthetic.**, io.ktor.**
87+
ij_kotlin_parameter_annotation_wrap = normal
88+
ij_kotlin_space_after_comma = true
89+
ij_kotlin_space_after_extend_colon = true
90+
ij_kotlin_space_after_type_colon = true
91+
ij_kotlin_space_before_catch_parentheses = true
92+
ij_kotlin_space_before_comma = false
93+
ij_kotlin_space_before_extend_colon = true
94+
ij_kotlin_space_before_for_parentheses = true
95+
ij_kotlin_space_before_if_parentheses = true
96+
ij_kotlin_space_before_lambda_arrow = true
97+
ij_kotlin_space_before_type_colon = false
98+
ij_kotlin_space_before_when_parentheses = true
99+
ij_kotlin_space_before_while_parentheses = true
100+
ij_kotlin_spaces_around_additive_operators = true
101+
ij_kotlin_spaces_around_assignment_operators = true
102+
ij_kotlin_spaces_around_equality_operators = true
103+
ij_kotlin_spaces_around_function_type_arrow = true
104+
ij_kotlin_spaces_around_logical_operators = true
105+
ij_kotlin_spaces_around_multiplicative_operators = true
106+
ij_kotlin_spaces_around_range = false
107+
ij_kotlin_spaces_around_relational_operators = true
108+
ij_kotlin_spaces_around_unary_operator = false
109+
ij_kotlin_spaces_around_when_arrow = true
110+
ij_kotlin_variable_annotation_wrap = normal
111+
ij_kotlin_while_on_new_line = false
112+
ij_kotlin_wrap_elvis_expressions = 1
113+
ij_kotlin_wrap_expression_body_functions = 1
114+
ij_kotlin_wrap_first_method_in_call_chain = false
115+
116+
[*.md]
117+
indent_size = 2
118+
indent_style = space
119+
120+
[docs/**.md]
121+
indent_size = 4
122+
123+
[*.py]
124+
indent_size = 4
125+
indent_style = tab
126+
127+
[*.toml]
128+
ij_continuation_indent_size = 4
129+
ij_toml_keep_indents_on_empty_lines = true
130+
131+
[*.xml]
132+
indent_style = tab
133+
ij_continuation_indent_size = 4
134+
ij_xml_keep_whitespaces_around_cdata = preserve
135+
ij_xml_keep_whitespaces_inside_cdata = false
136+
137+
[*.html]
138+
indent_style = tab
139+
ij_continuation_indent_size = 4
140+
141+
[*.yaml]
142+
indent_size = 2
143+
indent_style = space
144+
ij_yaml_align_values_properties = do_not_align
145+
ij_yaml_autoinsert_sequence_marker = true
146+
ij_yaml_block_mapping_on_new_line = true
147+
ij_yaml_indent_sequence_value = true
148+
ij_yaml_keep_indents_on_empty_lines = true
149+
ij_yaml_keep_line_breaks = true
150+
ij_yaml_sequence_on_new_line = true
151+
ij_yaml_space_before_colon = false
152+
ij_yaml_spaces_within_braces = true
153+
ij_yaml_spaces_within_brackets = true

intellij-client/.gitignore

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
.scripts/*
2+
!.scripts/changelog.py
3+
!.scripts/edit_releases.py
4+
5+
TODO.md
6+
.credentials/
7+
8+
.sources/
9+
site/
10+
venv/
11+
12+
### Generated ###
13+
.gradle/
14+
.kotlin/
15+
.intellijPlatform/
16+
build/
17+
!gradle/wrapper/gradle-wrapper.jar
18+
!**/src/main/**/build/
19+
!**/src/test/**/build/
20+
21+
### IntelliJ IDEA ###
22+
.idea/**
23+
!.idea/gradle.xml
24+
!.idea/icon.svg
25+
*.iws
26+
*.iml
27+
*.ipr
28+
out/
29+
!**/src/main/**/out/
30+
!**/src/test/**/out/
31+
32+
### Eclipse ###
33+
.apt_generated
34+
.classpath
35+
.factorypath
36+
.project
37+
.settings
38+
.springBeans
39+
.sts4-cache
40+
bin/
41+
!**/src/main/**/bin/
42+
!**/src/test/**/bin/
43+
44+
### NetBeans ###
45+
/nbproject/private/
46+
/nbbuild/
47+
/dist/
48+
/nbdist/
49+
/.nb-gradle/
50+
51+
### VS Code ###
52+
.vscode/
53+
54+
### Mac OS ###
55+
.DS_Store
56+
57+
58+
###
59+
60+
src/main/bundled/libs
61+

intellij-client/README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# robotcode4ij
2+
3+
![Build](https://github.com/robotcodedev/robotcode4ij/workflows/Build/badge.svg)
4+
[![Version](https://img.shields.io/jetbrains/plugin/v/MARKETPLACE_ID.svg)](https://plugins.jetbrains.com/plugin/MARKETPLACE_ID)
5+
[![Downloads](https://img.shields.io/jetbrains/plugin/d/MARKETPLACE_ID.svg)](https://plugins.jetbrains.com/plugin/MARKETPLACE_ID)
6+
7+
## Template ToDo list
8+
- [x] Create a new [IntelliJ Platform Plugin Template][template] project.
9+
- [ ] Get familiar with the [template documentation][template].
10+
- [ ] Adjust the [pluginGroup](./gradle.properties) and [pluginName](./gradle.properties), as well as the [id](./src/main/resources/META-INF/plugin.xml) and [sources package](./src/main/kotlin).
11+
- [ ] Adjust the plugin description in `README` (see [Tips][docs:plugin-description])
12+
- [ ] Review the [Legal Agreements](https://plugins.jetbrains.com/docs/marketplace/legal-agreements.html?from=IJPluginTemplate).
13+
- [ ] [Publish a plugin manually](https://plugins.jetbrains.com/docs/intellij/publishing-plugin.html?from=IJPluginTemplate) for the first time.
14+
- [ ] Set the `MARKETPLACE_ID` in the above README badges. You can obtain it once the plugin is published to JetBrains Marketplace.
15+
- [ ] Set the [Plugin Signing](https://plugins.jetbrains.com/docs/intellij/plugin-signing.html?from=IJPluginTemplate) related [secrets](https://github.com/JetBrains/intellij-platform-plugin-template#environment-variables).
16+
- [ ] Set the [Deployment Token](https://plugins.jetbrains.com/docs/marketplace/plugin-upload.html?from=IJPluginTemplate).
17+
- [ ] Click the <kbd>Watch</kbd> button on the top of the [IntelliJ Platform Plugin Template][template] to be notified about releases containing new features and fixes.
18+
19+
<!-- Plugin description -->
20+
Robot Framework IntelliSense, linting, test execution and debugging, code formatting, refactoring, and many more.
21+
<!-- Plugin description end -->
22+
23+
## Installation
24+
25+
- Using the IDE built-in plugin system:
26+
27+
<kbd>Settings/Preferences</kbd> > <kbd>Plugins</kbd> > <kbd>Marketplace</kbd> > <kbd>Search for "robotcode4ij"</kbd> >
28+
<kbd>Install</kbd>
29+
30+
- Using JetBrains Marketplace:
31+
32+
Go to [JetBrains Marketplace](https://plugins.jetbrains.com/plugin/MARKETPLACE_ID) and install it by clicking the <kbd>Install to ...</kbd> button in case your IDE is running.
33+
34+
You can also download the [latest release](https://plugins.jetbrains.com/plugin/MARKETPLACE_ID/versions) from JetBrains Marketplace and install it manually using
35+
<kbd>Settings/Preferences</kbd> > <kbd>Plugins</kbd> > <kbd>⚙️</kbd> > <kbd>Install plugin from disk...</kbd>
36+
37+
- Manually:
38+
39+
Download the [latest release](https://github.com/robotcodedev/robotcode4ij/releases/latest) and install it manually using
40+
<kbd>Settings/Preferences</kbd> > <kbd>Plugins</kbd> > <kbd>⚙️</kbd> > <kbd>Install plugin from disk...</kbd>
41+
42+
43+
---
44+
Plugin based on the [IntelliJ Platform Plugin Template][template].
45+
46+
[template]: https://github.com/JetBrains/intellij-platform-plugin-template
47+
[docs:plugin-description]: https://plugins.jetbrains.com/docs/intellij/plugin-user-experience.html#plugin-description-and-presentation

0 commit comments

Comments
 (0)