mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-153233 Default base URL for invoking help from products has changed
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
patches="http://download.jetbrains.com/idea/"/>
|
||||
|
||||
<help file="ideahelp.jar" root="idea"/>
|
||||
<documentation url="https://www.jetbrains.com/idea/documentation"/>
|
||||
<documentation url="https://www.jetbrains.com/help/idea"/>
|
||||
<support url="https://www.jetbrains.com/support/idea/index.html"/>
|
||||
<feedback eap-url="https://youtrack.jetbrains.com/newissue?project=IDEA&clearDraft=true&c=Affected+versions+$BUILD&description=$DESCR"
|
||||
release-url="https://www.jetbrains.com/feedback/feedback.jsp?product=IDEA&build=$BUILD&timezone=$TIMEZONE&eval=$EVAL"/>
|
||||
|
||||
@@ -66,22 +66,12 @@ public class HelpManagerImpl extends HelpManager {
|
||||
String productVersion = info.getMajorVersion() + "." + info.getMinorVersion();
|
||||
String productCode = info.getPackageCode();
|
||||
|
||||
String url = info.getWebHelpUrl() + "?";
|
||||
String url = info.getWebHelpUrl() + "/" + productVersion + "/?" + id;
|
||||
|
||||
if (PlatformUtils.isJetBrainsProduct()) {
|
||||
url += "utm_source=from_product&utm_medium=help_link&utm_campaign=" + productCode + "&utm_content=" + productVersion + "&";
|
||||
url += "&utm_source=from_product&utm_medium=help_link&utm_campaign=" + productCode + "&utm_content=" + productVersion;
|
||||
}
|
||||
|
||||
if (PlatformUtils.isCLion()) {
|
||||
url += "Keyword=" + id;
|
||||
url += "&ProductVersion=" + productVersion;
|
||||
|
||||
if (info.isEAP()) {
|
||||
url += "&EAP";
|
||||
}
|
||||
} else {
|
||||
url += id;
|
||||
}
|
||||
BrowserUtil.browse(url);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user