oxc-project / oxc-intellij-plugin

25 stars 2 forks source link

Migrate to v2 of the intellij gradle plugin #50

Closed nrayburn-tech closed 4 weeks ago

nrayburn-tech commented 4 weeks ago

This will close out most (all?) of the pending dependabot PRs.

nrayburn-tech commented 4 weeks ago

The verify plugin build is failing due to the name of the plugin in src/main/resources/META-INF/plugin.xml. I don't think the name is supposed to contain intellij or plugin, but since it was existing I didn't want to change it.

IWANABETHATGUY commented 4 weeks ago

Ci failed

nrayburn-tech commented 4 weeks ago

@IWANABETHATGUY it's going to fail until https://github.com/oxc-project/oxc-intellij-plugin/pull/50#issuecomment-2401310949 is resolved. If you have a plugin name suggestion, I can change it. Maybe even just oxc is fine.

nrayburn-tech commented 4 weeks ago

Running verify locally and found some compatibility issues with the existing LSP code and the targeted IDE versions as well. Went ahead and renamed the plugin and fixed these.

IWANABETHATGUY commented 4 weeks ago

The verify plugin build is failing due to the name of the plugin in src/main/resources/META-INF/plugin.xml. I don't think the name is supposed to contain intellij or plugin, but since it was existing I didn't want to change it.

Still not sure why the ci is failed, since it is sucessed before? Only because of the naming?

nrayburn-tech commented 4 weeks ago

Running the main branch with the old command runPluginVerifier and it doesn't fail locally, it only emits a warning (same as CI). My best guess is that the newer plugin and task is failing now instead of just showing a warning.

IWANABETHATGUY commented 4 weeks ago

Running verify locally and found some compatibility issues with the existing LSP code and the targeted IDE versions as well. Went ahead and renamed the plugin and fixed these.

  • Changed plugin name to Oxc.
  • Changed the target IDE version to only 2023 or 2024 versions.

@Boshen ,Can you give a better naming?

IWANABETHATGUY commented 4 weeks ago

https://github.com/biomejs/biome-intellij/blob/main/src/main/resources/META-INF/plugin.xml, I found biome just use Biome I think use Oxc is good enough.