Code Monkey home page Code Monkey logo

Comments (10)

kukido avatar kukido commented on July 19, 2024 2

I will take care of the new build today. Can't figure out a way to configure plugin to be compatible with future IntelliJ releases, so have to publish for each new release.

from eclipser.

greyshine avatar greyshine commented on July 19, 2024 1

Thank you all for your efforts! Thank you @kukido for your feedback.
Y'all keep well and fit !

from eclipser.

kukido avatar kukido commented on July 19, 2024 1

Should be available now in the repository. Took me a bit longer, as I tried to upgrade Gradle as well, will do it later.

from eclipser.

Root-2k avatar Root-2k commented on July 19, 2024

I modified the build.gradle file (for testing purpose) by updating the following properties:

  • intellij version: 'IC-2021.1'
  • patchPluginXml untilBuild: '211.*'
  • version '0.8.8'

I've got some warnings, but the build was completed and the plugin seems to work.
Tested with 2021.1 Community Edition; Build #IC-211.6693.111

WARN - j.internal.DebugAttachDetector - Unable to start DebugAttachDetector, please add --add-exports java.base/jdk.internal.vm=ALL-UNNAMED to VM options
Starting searchable options index builder
WARN - tor.impl.FontFamilyServiceImpl - Couldn't access required runtime API, will fall back to basic logic of font selection
WARN - options.ex.ConfigurableWrapper - Cannot find extension point com.intellij.compilerSettingsFactory in ProjectDefault (Template) Project
WARN - #com.intellij.ui.jcef.JBCefApp - JCEF is manually disabled in headless env via 'ide.browser.jcef.headless.enabled=false'

from eclipser.

omzer avatar omzer commented on July 19, 2024

I modified the build.gradle file (for testing purpose) by updating the following properties:

  • intellij version: 'IC-2021.1'
  • patchPluginXml untilBuild: '211.*'
  • version '0.8.8'

I've got some warnings, but the build was completed and the plugin seems to work.
Tested with 2021.1 Community Edition; Build #IC-211.6693.111

WARN - j.internal.DebugAttachDetector - Unable to start DebugAttachDetector, please add --add-exports java.base/jdk.internal.vm=ALL-UNNAMED to VM options
Starting searchable options index builder
WARN - tor.impl.FontFamilyServiceImpl - Couldn't access required runtime API, will fall back to basic logic of font selection
WARN - options.ex.ConfigurableWrapper - Cannot find extension point com.intellij.compilerSettingsFactory in ProjectDefault (Template) Project
WARN - #com.intellij.ui.jcef.JBCefApp - JCEF is manually disabled in headless env via 'ide.browser.jcef.headless.enabled=false'

Where can I find the path to build.gradle file? @Root-2k

from eclipser.

schaitl avatar schaitl commented on July 19, 2024

I modified the build.gradle file (for testing purpose) by updating the following properties:

  • intellij version: 'IC-2021.1'
  • patchPluginXml untilBuild: '211.*'
  • version '0.8.8'

I've got some warnings, but the build was completed and the plugin seems to work.
Tested with 2021.1 Community Edition; Build #IC-211.6693.111

WARN - j.internal.DebugAttachDetector - Unable to start DebugAttachDetector, please add --add-exports java.base/jdk.internal.vm=ALL-UNNAMED to VM options
Starting searchable options index builder
WARN - tor.impl.FontFamilyServiceImpl - Couldn't access required runtime API, will fall back to basic logic of font selection
WARN - options.ex.ConfigurableWrapper - Cannot find extension point com.intellij.compilerSettingsFactory in ProjectDefault (Template) Project
WARN - #com.intellij.ui.jcef.JBCefApp - JCEF is manually disabled in headless env via 'ide.browser.jcef.headless.enabled=false'

Where can I find the path to build.gradle file? @Root-2k

@omzer It's right in the root directory of the repository.

from eclipser.

omzer avatar omzer commented on July 19, 2024

@schaitl Thanks! but how can I convert it to JAR so I can import it on intellij?

from eclipser.

schaitl avatar schaitl commented on July 19, 2024

@schaitl Thanks! but how can I convert it to JAR so I can import it on intellij?

You should import this project into IntelliJ, apply the mentioned fix(es), and then run the gradle-goal buildPlugin. This will build the plugin jar and put it into the folder build/lib.
The goal runIde can be used to start a ("child") IntelliJ IDE where the plugin is loaded and can be tested/debugged.

from eclipser.

Root-2k avatar Root-2k commented on July 19, 2024

I used the command 'gradlew build' within the root directory and imported the generated ZIP file (folder 'build/distributions') in IntelliJ (Settings > Plugins -> Install Plugin from Disk... (option in cog)).

from eclipser.

schaitl avatar schaitl commented on July 19, 2024

I will take care of the new build today. Can't figure out a way to configure plugin to be compatible with future IntelliJ releases, so have to publish for each new release.

I actually removed the whole patchPluginXml {...} section in the build.gradle and it seemed to work fine. From my understanding it only breaks once the API supplied by IntelliJ itself changes... I'm no expert in IntelliJ plugin development though.

from eclipser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.