Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace usage of internal IntelliJ APIs #496

Open
Turbo87 opened this issue Oct 10, 2023 · 3 comments
Open

Replace usage of internal IntelliJ APIs #496

Turbo87 opened this issue Oct 10, 2023 · 3 comments

Comments

@Turbo87
Copy link
Owner

Turbo87 commented Oct 10, 2023

I've received the following email from JetBrains:

Dear Tobias,

The latest updates of your plugin use the API annotated with org.jetbrains.annotations.ApiStatus.Internal. Private APIs like these should not be used outside of the IntelliJ Platform, as they might be renamed, changed, or removed in future versions.

Please replace these internal API usages in your future updates. You can refer to this article to find a recommended replacement API. If the API in question is not listed there, please create an issue, and we will help you to find the replacement API.

Let us know if you have any additional questions.

Kind regards,
Your JetBrains Marketplace team

One usage of internal IntelliJ APIs I have found is:

Unfortunately, I won't have time in the near future to work on these things myself. If anyone has time to fix this please open a pull request! :)

@Tolke
Copy link
Contributor

Tolke commented Dec 11, 2023

Hello @Turbo87 , I love to help with this issue (and others). Sadly I am new about working with Intelijj Plugins, can you help me about set up the project? I already forked your repo. Just some basic info to start development.

Thanks !

@Turbo87
Copy link
Owner Author

Turbo87 commented Dec 11, 2023

you can find the IntelliJ documentation at https://plugins.jetbrains.com/docs/intellij/welcome.html and you can use ./gradlew runIde to open the IDE with the local plugin installed

@dwickern
Copy link
Collaborator

There's one more internal API here:

'getModuleFile()' is marked unstable with @ApiStatus.Internal

configuration.module?.moduleFile?.parentModule?.path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants