Stefan Endrullis

Results 70 comments of Stefan Endrullis

I managed to reproduce the bug today by disallowing IDEA to connect to the internet. I was in a network environment that required a proxy configuration but I disabled this...

Theoretically the plugin supports DataGrip. Unfortunately, there is an exception which prevents the plugin from working.

``` In file: file:///home/stefan/.DataGrip2019.3/config/plugins/intellij-postfix-templates_templates/templates/sql/user.postfixTemplates java.lang.NullPointerException at de.endrullis.idea.postfixtemplates.language.CptAnnotator.lambda$annotate$0(CptAnnotator.java:29) at java.base/java.util.Optional.ifPresent(Optional.java:183) at de.endrullis.idea.postfixtemplates.language.CptAnnotator.annotate(CptAnnotator.java:26) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:126) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:108) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:351) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:285) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:311) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:314) at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:93) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:314) at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:282) at...

This is somehow not so easy to fix.

I forgot to add the exception that caused the one above: ``` java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at de.endrullis.idea.postfixtemplates.language.CptLang.getAnnotator(CptLang.java:36) at de.endrullis.idea.postfixtemplates.language.CptAnnotator.lambda$annotate$0(CptAnnotator.java:27) at java.base/java.util.Optional.ifPresent(Optional.java:183) at de.endrullis.idea.postfixtemplates.language.CptAnnotator.annotate(CptAnnotator.java:26)...

This is a very weird bug. I don't understand why the class SqlType$Category cannot be loaded. It is included in database-openapi.jar which is part of datagrip.

Jumping via Ctrl+B is not possible at the moment, but jumping via Alt+Enter and selecting 'Edit ... template' works now.

I guess this is meant to be used in Rider?

Unfortunately, supporting Rider isn't easy at all (see #64). It would require a complete reimplementation of this plugin for ReSharper which is too much for me. Sorry.

Thanks for your interest in the plugin. At the moment I don't have enough time to add support for more languages. But if someone likes to add support for C++...