w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Intellij idea plugin development : plugin not enabled on right click on project

You have to enable presentation in update() method of your action, where should you check whether the input is valid for your case.

public void update(@NotNull AnActionEvent e) {

    final Presentation presentation = e.getPresentation();
    final Project project = e.getProject();

    if (project == null) {

You can check the source code of Eclipser plugin, where you will find an elaborate example of the implementation.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.