wakatime / jetbrains-wakatime

IntelliJ IDEA, PyCharm, RubyMine, PhpStorm, AppCode, AndroidStudio, Goland, Rider, & WebStorm plugin for quantifying your coding.
https://wakatime.com/intellij-idea
BSD 3-Clause "New" or "Revised" License
1.12k stars 162 forks source link

fixes #283 #288

Closed llTheBlankll closed 2 weeks ago

alanhamlett commented 2 weeks ago

The main problem I've been having is we're targeting an older IntelliJ SDK that doesn't yet have the new import. It won't compile with:

Error:(23, 39) java: cannot find symbol
  symbol:   class LogLevel
  location: package com.intellij.openapi.diagnostic

I've been trying to upgrade the plugin to a newer SDK last few days , want to help submit a PR?

llTheBlankll commented 2 weeks ago

maybe you can download the JAR Intellij Diagnostic SDK and add it to your External Libraries. Adding it make the IDE resolves the import.

alanhamlett commented 2 weeks ago

No, I need to get the plugin building in IntelliJ 2024.1 or download the latest SDK for the older IDE.

alanhamlett commented 2 weeks ago

Also, the reason we build with an old SDK is to support older versions of IntelliJ and other Jetbrains IDEs. If we start building with the latest IntelliJ, the extension will no longer work for versions a few years old.

It's probably ok to drop support for older IDEs.