Skip to content

Commit

Permalink
Initial plugin version
Browse files Browse the repository at this point in the history
  • Loading branch information
swesteme committed May 3, 2024
1 parent 8d646e6 commit c94fa45
Show file tree
Hide file tree
Showing 34 changed files with 1,755 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.jar filter=lfs diff=lfs merge=lfs -text
20 changes: 20 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI

on:
push:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
name: Set up JDK 17
with:
java-version: 17
distribution: adopt-hotspot
- name: Build plugin
run: |
chmod +x gradlew
./gradlew check buildPlugin --info
107 changes: 107 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Created by .ignore support plugin (hsz.mobi)
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

**/target/*


### IntelliJ
# User-specific stuff
**/.idea/workspace.xml
**/.idea/modules.xml
**/.idea/tasks.xml
**/.idea/misc.xml
**/.idea/sonarlint-state.xml
**/.idea/compiler.xml
**/.idea/jarRepositories.xml
**/.idea/usage.statistics.xml
**/.idea/dictionaries
**/.idea/shelf
**/.idea/sonarlint
**/.idea/sqldialects.xml
**/.idea/git_toolbox_prj.xml


# Generated files
**/.idea/contentModel.xml

# Sensitive or high-churn files
**/.idea/artifacts/
**/.idea/dataSources/
**/.idea/dataSources.ids
**/.idea/dataSources.xml
**/.idea/dataSources.local.xml
**/.idea/encodings.xml
**/.idea/sqlDataSources.xml
**/.idea/dynamic.xml
**/.idea/uiDesigner.xml
**/.idea/dbnavigator.xml

# Gradle
**/.idea/gradle.xml
**/.idea/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
.idea/modules.xml
.idea/modules
*.ipr
# project files
**.iml

# File-based project format
*.iws

# IntelliJ
out/

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

### Java template
# Compiled class file
*.class

# Log file
*.log

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### macOS template
# General
.DS_Store
.AppleDouble
.LSOverride

### Gradle template
.gradle
**/build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties
/.idea/jpa-buddy.xml
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Building the plugin
Use gradle tasks, e.g. `./gradlew clean check buildPlugin`, where `clean` and `check` are built-in gradle tasks,
and `buildPlugin` is provided by [gradle plugin for building IJ plugins](https://github.com/JetBrains/gradle-intellij-plugin).

### Running the plugin
Use gradle `runIde` task provided by [gradle IJ plugin](https://github.com/JetBrains/gradle-intellij-plugin).
It will download IDE jars for the specified version and will start a new instance of IDE with the plugin.
To specify IDE version use `IJ_VERSION` env variable or modify `build.gradle` file.
Loading

0 comments on commit c94fa45

Please sign in to comment.