-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor project to be more inline with Jetbrains intellij platform plugin template #436
Conversation
36bb595
to
cbba0a0
Compare
I noticed that #430 will cause a lot of conflicts, do you want me to include 2022.1 support in this pr as well? |
6b54400
to
13cc893
Compare
@KotlinIsland Thank you for creating the cool PR. 😍
If we can support 2022.1 and 2021.3 then I want to include 2022.1. |
13cc893
to
5b299d8
Compare
I think so, the plugin verify step passed for 213 and 221 |
resources/META-INF/plugin.xml
Outdated
@@ -1,394 +1,7 @@ | |||
<idea-plugin url="https://github.com/koxudaxi/pydantic-pycharm-plugin" require-restart="true"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@koxudaxi Does the plugin need restart? The plugin verify step said that it could be installed without restart
Plugin can be loaded/unloaded without IDE restart
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KotlinIsland
I forget why I add the restart option 🤔
If we don't need the option then we should remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems you changed it with message "Fix build warning", I've removed it now and will see if there are any build warnings.
7beaebc
to
e9315a7
Compare
|
||
// Configure Gradle IntelliJ Plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin | ||
intellij { | ||
pluginName.set(properties("pluginName")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously this was pluginName = project.name
(pydantic-pycharm-plugin), but this change makes it "Pydantic", I'm not sure what you would want here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Me too, I forget about the code😅
We should remove the code.
certificateChain.set(System.getenv("CERTIFICATE_CHAIN")) | ||
privateKey.set(System.getenv("PRIVATE_KEY")) | ||
password.set(System.getenv("PRIVATE_KEY_PASSWORD")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see any of this configuration from before this merge, maybe this section should be removed?
b8cec05
to
39a9229
Compare
0db891d
to
63a0108
Compare
Codecov Report
@@ Coverage Diff @@
## master #436 +/- ##
============================================
+ Coverage 73.07% 73.70% +0.63%
- Complexity 277 305 +28
============================================
Files 23 23
Lines 1675 1681 +6
Branches 506 514 +8
============================================
+ Hits 1224 1239 +15
- Misses 166 176 +10
+ Partials 285 266 -19
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
63a0108
to
a31c2bb
Compare
Thank you for your changes. |
That makes sense. |
Qodan is a code quality tool developed by JetBrains that supports Kotlin, It's recommended by the Jetbrains IntelliJ platform plugin template, and is basically the official Kotlin code quality tool. It has Gradle support, CLI support, Ide support and A dedicated Github App. |
a31c2bb
to
0ddd6b1
Compare
|
@KotlinIsland |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KotlinIsland
LGTM
Can I merge the PR?
@KotlinIsland |
Yeah, you need to send an email at the moment https://www.jetbrains.com/help/qodana/qodana-github-application.html#how-to-start-github-app |
I just sent the request. |
0ddd6b1
to
d653191
Compare
@KotlinIsland |
@koxudaxi Qodana is currently integrated into the |
@KotlinIsland I suggest you also try Qodana Scan. It's a GitHub action with more flexible settings and abilities than the app. And it's likely that we'll drop support of the app in the near future. |
…lugin-template PT1
…lugin-template PT2
d653191
to
5a93e51
Compare
@KotlinIsland |
@koxudaxi I know the issue, I'll make a pr soon, it's related to the branch names. |
Refactor a lot of the build / workflow to match: https://github.com/JetBrains/intellij-platform-plugin-template
These changes simplify the sources of data within the project:
CHANGLOG.md
makes it more accessible.I also updated some issues I found in the markdown documents:
$
from sample commands so that they are copypaste-able and runnable from within the IDE.And convert all the Java to Kotlin.
closes: #434
closes: #433
closes: #429
closes: #428
Github sucks and says that I deleted some files when I was actually very careful to rename them to preserve the history.
I'm sure I broke some things 😬. But I hope you like this change :)