mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJP-755 provide experimental key for Help | What's new in editor
GitOrigin-RevId: 942cc7fc6ff6c57bc026dcf4cf8b81c4a29015da
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6ca9c1418b
commit
00778d62e2
@@ -9,6 +9,7 @@ import com.intellij.openapi.actionSystem.AnAction;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.application.ApplicationInfo;
|
||||
import com.intellij.openapi.application.ApplicationNamesInfo;
|
||||
import com.intellij.openapi.application.Experiments;
|
||||
import com.intellij.openapi.application.ex.ApplicationInfoEx;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.fileEditor.impl.HTMLEditorProvider;
|
||||
@@ -36,7 +37,7 @@ public class WhatsNewAction extends AnAction implements DumbAware {
|
||||
if (whatsNewUrl == null) throw new IllegalStateException();
|
||||
|
||||
Project project = e.getProject();
|
||||
if (project == null || !JBCefApp.isSupported()) {
|
||||
if (project == null || !JBCefApp.isSupported() || !Experiments.getInstance().isFeatureEnabled("whats.new.notification")) {
|
||||
BrowserUtil.browse(whatsNewUrl);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user