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

DEV2-2244 inject enterprise url from updater plugin #480

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

yonip23
Copy link
Contributor

@yonip23 yonip23 commented Mar 6, 2023

I tested it on ij 2022 and it works.
I don't think there's need to test on previous versions, as the PropertiesComponent is a stable API throughout the years since 2019, and I tested this API while testing the updater plugin.

@yonip23 yonip23 requested a review from a team as a code owner March 6, 2023 16:02

public class StaticConfig {
// Must be identical to what is written under <id>com.tabnine.TabNine</id> in plugin.xml !!!
public static final String TABNINE_PLUGIN_ID_RAW =
Config.IS_ON_PREM ? "com.tabnine.TabNine-Enterprise" : "com.tabnine.TabNine";
public static final String TABNINE_ENTERPRISE_URL_PROPERTIES_KEY =
TABNINE_PLUGIN_ID_RAW + ".enterpriseUrl";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this an entry in the settings?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

None yet

2 participants