commit
182b8eb9fc
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@ -35,19 +35,18 @@ jobs:
|
||||
|
||||
# Check out current repository
|
||||
- name: Fetch Sources
|
||||
uses: actions/checkout@v2.4.0
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# Validate wrapper
|
||||
- name: Gradle Wrapper Validation
|
||||
uses: gradle/wrapper-validation-action@v1.0.4
|
||||
|
||||
# Setup Java 11 environment for the next steps
|
||||
# Setup Java 17 environment for the next steps
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: zulu
|
||||
java-version: 11
|
||||
cache: gradle
|
||||
java-version: 17
|
||||
|
||||
# Set environment variables
|
||||
- name: Export Properties
|
||||
@ -76,14 +75,14 @@ jobs:
|
||||
# Collect Tests Result of failed tests
|
||||
- name: Collect Tests Result
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: tests-result
|
||||
path: ${{ github.workspace }}/build/reports/tests
|
||||
|
||||
# Cache Plugin Verifier IDEs
|
||||
- name: Setup Plugin Verifier IDEs Cache
|
||||
uses: actions/cache@v2.1.7
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
|
||||
key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}
|
||||
@ -95,14 +94,14 @@ jobs:
|
||||
# Collect Plugin Verifier Result
|
||||
- name: Collect Plugin Verifier Result
|
||||
if: ${{ always() }}
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: pluginVerifier-result
|
||||
path: ${{ github.workspace }}/build/reports/pluginVerifier
|
||||
|
||||
# Run Qodana inspections
|
||||
- name: Qodana - Code Inspection
|
||||
uses: JetBrains/qodana-action@v4.2.5
|
||||
uses: JetBrains/qodana-action@v2022.1.1
|
||||
|
||||
# Prepare plugin archive content for creating artifact
|
||||
- name: Prepare Plugin Artifact
|
||||
@ -117,7 +116,7 @@ jobs:
|
||||
|
||||
# Store already-built plugin as an artifact for downloading
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2.2.4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ steps.artifact.outputs.filename }}
|
||||
path: ./build/distributions/content/*/*
|
||||
@ -129,11 +128,13 @@ jobs:
|
||||
if: github.event_name != 'pull_request'
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
|
||||
# Check out current repository
|
||||
- name: Fetch Sources
|
||||
uses: actions/checkout@v2.4.0
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# Remove old release drafts by using the curl request for the available releases with draft flag
|
||||
- name: Remove Old Release Drafts
|
||||
|
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -12,21 +12,23 @@ jobs:
|
||||
release:
|
||||
name: Publish Plugin
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
|
||||
# Check out current repository
|
||||
- name: Fetch Sources
|
||||
uses: actions/checkout@v2.4.0
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.event.release.tag_name }}
|
||||
|
||||
# Setup Java 11 environment for the next steps
|
||||
# Setup Java 17 environment for the next steps
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: zulu
|
||||
java-version: 11
|
||||
cache: gradle
|
||||
java-version: 17
|
||||
|
||||
# Set environment variables
|
||||
- name: Export Properties
|
||||
|
9
.github/workflows/run-ui-tests.yml
vendored
9
.github/workflows/run-ui-tests.yml
vendored
@ -33,15 +33,14 @@ jobs:
|
||||
|
||||
# Check out current repository
|
||||
- name: Fetch Sources
|
||||
uses: actions/checkout@v2.4.0
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# Setup Java 11 environment for the next steps
|
||||
# Setup Java 17 environment for the next steps
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: zulu
|
||||
java-version: 11
|
||||
cache: gradle
|
||||
java-version: 17
|
||||
|
||||
# Run IDEA prepared for UI testing
|
||||
- name: Run IDE
|
||||
|
@ -3,6 +3,11 @@
|
||||
# easy-i18n Changelog
|
||||
|
||||
## [Unreleased]
|
||||
### Added
|
||||
- Support for IntelliJ Platform version 2022.2
|
||||
|
||||
### Changes
|
||||
- Updated dependencies
|
||||
|
||||
## [4.1.1]
|
||||
### Fixed
|
||||
|
@ -7,9 +7,9 @@ plugins {
|
||||
// Java support
|
||||
id("java")
|
||||
// Kotlin support
|
||||
id("org.jetbrains.kotlin.jvm") version "1.6.10"
|
||||
id("org.jetbrains.kotlin.jvm") version "1.7.10"
|
||||
// Gradle IntelliJ Plugin
|
||||
id("org.jetbrains.intellij") version "1.4.0"
|
||||
id("org.jetbrains.intellij") version "1.7.0"
|
||||
// Gradle Changelog Plugin
|
||||
id("org.jetbrains.changelog") version "1.3.1"
|
||||
// Gradle Qodana Plugin
|
||||
|
@ -4,23 +4,23 @@
|
||||
pluginGroup = de.marhali.easyi18n
|
||||
pluginName = easy-i18n
|
||||
# SemVer format -> https://semver.org
|
||||
pluginVersion = 4.1.1
|
||||
pluginVersion = 4.2.0
|
||||
|
||||
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
|
||||
# for insight into build numbers and IntelliJ Platform versions.
|
||||
pluginSinceBuild = 203
|
||||
pluginUntilBuild = 221.*
|
||||
pluginUntilBuild = 222.*
|
||||
|
||||
# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
|
||||
platformType = IU
|
||||
platformVersion = 2021.3
|
||||
platformVersion = 2022.2
|
||||
|
||||
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
|
||||
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
|
||||
platformPlugins = org.jetbrains.kotlin, JavaScriptLanguage, org.jetbrains.plugins.vue:213.5744.223, com.jetbrains.php:213.5744.279
|
||||
platformPlugins = org.jetbrains.kotlin, JavaScriptLanguage, org.jetbrains.plugins.vue:222.3345.111, com.jetbrains.php:222.3345.118
|
||||
|
||||
# Java language level used to compile sources and to generate the files for - Java 11 is required since 2020.3
|
||||
javaVersion = 11
|
||||
# Java language level used to compile sources and to generate the files for
|
||||
javaVersion = 17
|
||||
|
||||
# Gradle Releases -> https://github.com/gradle/gradle/releases
|
||||
gradleVersion = 7.4
|
||||
|
@ -28,7 +28,7 @@ public class TranslatorToolWindowFactory implements ToolWindowFactory, DumbAware
|
||||
@Override
|
||||
public void createToolWindowContent(@NotNull Project project, @NotNull ToolWindow toolWindow) {
|
||||
InstanceManager manager = InstanceManager.get(project);
|
||||
ContentFactory contentFactory = ContentFactory.SERVICE.getInstance();
|
||||
ContentFactory contentFactory = ContentFactory.getInstance();
|
||||
|
||||
// Translations tree view
|
||||
TreeView treeView = new TreeView(project);
|
||||
|
Loading…
x
Reference in New Issue
Block a user