Would be cool if the built in editor had some code completion via Tabnine.
Would also help with the limited docs if the editor could propose methods etc
Would be cool if the built in editor had some code completion via Tabnine.
Would also help with the limited docs if the editor could propose methods etc
I wouldn't count on that happening any time soon, especially given that it's a paid product (for most use cases); one they (Tabnine) appear to have to integrate themselves, as opposed to an open-source product someone could incorporate into their own product; and, notably, does not appear to support Groovy.
They also claim to be "AI," which is probably overkill for what most people would want in the editor: code completion based on things it should for-sure know, like variable or method names you've defined. (Groovy is always a bit of fun here--unless statically compiled, there are some things you can never know until runtime, so nearly anything is possible!) That much you can't do in Hubitat's editor itself, but lots of people use an external editor like VSCode or IntelliJ and upload the result to the hub, either manually (copy/paste) or via a script. To help with this, I've seen someone write a "dummy" library with Hubitat method signatures and whatnot spelled out, but I've never used that myself--the free VSCode extension is good enough for me, even if it sometimes over-suggests (but again, it's Groovy...).
That being said, I do understand the feature request is for the built-in editor. Just offering alternative ideas if you haven't considered them since I can't recall any significant changes since its introduction.
They support Java and I’d hazard a guess it works well enough to be of value as they actively promote Groovy as a language on their own blog.
As for paid or not - well they have a free version and I’m sure the Hubitat team could strike up a promotional alliance for when someone stumps up for a paid subscription.
I guess it never hurts to ask that the built in editor be enhanced or improved.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.