Skip to content

Commit 07e0445

Browse files
committed
init pycharm plugin
1 parent b5d6da3 commit 07e0445

File tree

19 files changed

+556
-18
lines changed

19 files changed

+556
-18
lines changed

.gitignore

Lines changed: 37 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,42 @@
1-
# Compiled class file
2-
*.class
1+
.gradle
2+
build/
3+
!gradle/wrapper/gradle-wrapper.jar
4+
!**/src/main/**/build/
5+
!**/src/test/**/build/
36

4-
# Log file
5-
*.log
7+
### IntelliJ IDEA ###
8+
.idea/modules.xml
9+
.idea/jarRepositories.xml
10+
.idea/compiler.xml
11+
.idea/libraries/
12+
*.iws
13+
*.iml
14+
*.ipr
15+
out/
16+
!**/src/main/**/out/
17+
!**/src/test/**/out/
618

7-
# BlueJ files
8-
*.ctxt
19+
### Eclipse ###
20+
.apt_generated
21+
.classpath
22+
.factorypath
23+
.project
24+
.settings
25+
.springBeans
26+
.sts4-cache
27+
bin/
28+
!**/src/main/**/bin/
29+
!**/src/test/**/bin/
930

10-
# Mobile Tools for Java (J2ME)
11-
.mtj.tmp/
31+
### NetBeans ###
32+
/nbproject/private/
33+
/nbbuild/
34+
/dist/
35+
/nbdist/
36+
/.nb-gradle/
1237

13-
# Package Files #
14-
*.jar
15-
*.war
16-
*.nar
17-
*.ear
18-
*.zip
19-
*.tar.gz
20-
*.rar
38+
### VS Code ###
39+
.vscode/
2140

22-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
23-
hs_err_pid*
41+
### Mac OS ###
42+
.DS_Store

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.run/Run IDE with Plugin.run.xml

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="Run Plugin" type="GradleRunConfiguration" factoryName="Gradle">
3+
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log"/>
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="runIde"/>
15+
</list>
16+
</option>
17+
<option name="vmOptions" value=""/>
18+
</ExternalSystemSettings>
19+
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
20+
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
21+
<DebugAllEnabled>false</DebugAllEnabled>
22+
<method v="2"/>
23+
</configuration>
24+
</component>

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# QSSEditorPyCharm
2+
23
PyCharm plugin for QSSEditor

build.gradle.kts

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
plugins {
2+
id("java")
3+
id("org.jetbrains.kotlin.jvm") version "1.9.23"
4+
id("org.jetbrains.intellij") version "1.17.2"
5+
}
6+
7+
group = "irony.pycharm"
8+
version = "1.0.0"
9+
10+
repositories {
11+
maven { url = uri("https://maven.aliyun.com/repository/public")}
12+
maven { url = uri("https://maven.aliyun.com/repository/central")}
13+
maven { url = uri("https://maven.aliyun.com/repository/google")}
14+
mavenCentral()
15+
}
16+
17+
// Configure Gradle IntelliJ Plugin
18+
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
19+
intellij {
20+
version.set("2023.2.5")
21+
type.set("PC") // Target IDE Platform
22+
23+
plugins.set(listOf(/* Plugin Dependencies */))
24+
}
25+
26+
tasks {
27+
// Set the JVM compatibility versions
28+
withType<JavaCompile> {
29+
sourceCompatibility = "17"
30+
targetCompatibility = "17"
31+
}
32+
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
33+
kotlinOptions.jvmTarget = "17"
34+
}
35+
36+
patchPluginXml {
37+
sinceBuild.set("232")
38+
untilBuild.set("242.*")
39+
}
40+
41+
signPlugin {
42+
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
43+
privateKey.set(System.getenv("PRIVATE_KEY"))
44+
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
45+
}
46+
47+
publishPlugin {
48+
token.set(System.getenv("PUBLISH_TOKEN"))
49+
}
50+
}

0 commit comments

Comments
 (0)