Hi @jeffmaury
I pulled the last changed you made and couldn't build anymore.
I had to update few things in order to build on the last IntelliJ EAP
In build.gradle I had to change to: plugins 'java', 'terminal', 'JavaScriptDebugger', 'JavaScriptLanguage', 'CSS'
In plugin.xml: <depends>com.intellij.modules.java</depends>
In gradle.properties: ideaVersion = IU-2019.2
Also, on some projects, I got an NPE and fixed it in ApplicationTreeModel:
public static VirtualFile getModuleRoot(Module module) {
return LocalFileSystem.getInstance().findFileByPath(new File(module.getModuleFilePath()).getParent());
final Optional<Module> optionalModule = Optional.ofNullable(module);
VirtualFile parentFile = null;
File file;
if (optionalModule.isPresent()) {
file = new File(module.getModuleFilePath());
parentFile = LocalFileSystem.getInstance().findFileByPath(file.getParent());
}
return parentFile;
}
protected void loadProjectModel(Project project) {
for(Module module : project.getComponent(ModuleManager.class).getModules()) {
addContext(getModuleRoot(module));
final Optional<VirtualFile> optionalVirtualFile = Optional.ofNullable(getModuleRoot(module));
optionalVirtualFile.ifPresent(this::addContext);
}
}
executor.execute(command)
but it is a big refactoring, what do you think?
@/all We have released a new and improved version of OpenShift Connector for VSCode - 0.1.4
. It's available in VSCode marketplace. Please try it out and let us know the feedback. :)
ChangeLog: https://github.com/redhat-developer/vscode-openshift-tools/blob/master/CHANGELOG.md#014-february-25-2020
Marketplace: https://marketplace.visualstudio.com/items?itemName=redhat.vscode-openshift-connector
Tweet: https://twitter.com/MrMohitSuman/status/1232416506790604801?s=20