mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-13268 New Project: Do not show select project type step in Community Edition
This commit is contained in:
@@ -166,6 +166,9 @@ public class PyCharmNewProjectStep extends DefaultActionGroup implements DumbAwa
|
||||
add(action);
|
||||
|
||||
final DirectoryProjectGenerator[] generators = Extensions.getExtensions(DirectoryProjectGenerator.EP_NAME);
|
||||
if (generators.length == 0) {
|
||||
action.setPopup(false);
|
||||
}
|
||||
Arrays.sort(generators, new Comparator<DirectoryProjectGenerator>() {
|
||||
@Override
|
||||
public int compare(DirectoryProjectGenerator o1, DirectoryProjectGenerator o2) {
|
||||
|
||||
Reference in New Issue
Block a user