Noob at Eclipse, but I’ve been coding in Java for over two decades and IntelliJ for over one.
KNIME is amazing work (thanks!) and I’m eager to write my own nodes.
But following the directions here:
Things went smoothly until I got to the third bullet in step 4, the instruction:
" Double click the target platform definition file ( .target files In the imported org.knime.sdk.setup project)
It’s not clear where that file is! (I’m guessing trivially obvious to Eclipse or KNIME veterans…)
OR, if anyone has created/installed/used custom nodes in IntelliJ and can point me to a startup resource there, that’s probably even better. (Already know way too many tools; finger-macro namespace collisions worsening… ; )
It would be a dreamy world could we use IntelliJ to do this development, but as far as i know, there are no IntelliJ extensions to handle Eclipse plugin building.
:- ) no worries - we all have stared at Eclipse like a chicken with a fork sometime in our lives. Click either the Workbench with an orange arrow box, or the little J icon in the collapsed left pane. Make sure you uncheck that “Always show the Welcome”… in the lower right first.
They are plugins - so you could give that a shot. You would lose the ability to launch KNIME from your IDE with and will need do a slightly more time consuming process of, for each execution of the plugin:
build the plugin
drop the plugin in the “dropins” folder of an existing KNIME
run KNIME
and in the past to cycle a new version of the plugin, i would need:
Good; I’ll park that now as an uncertain path toward more comfortable coding, and will report back if I’m successful.
Meanwhile, a little progress; got to the last bullet in 4, but click Set as Active Target Platform (upper-right corner)
has me blocked.
It doesn’t seem to be there (hovered over every icon; “upper-right corner” with respect to what?)
Googled to find how to do that setting, but
expects me to know how to get to the Target Definition Editor
(Eclipse’s File->New->Other… doesn’t have the Plug-in Development
they expect.
Since you sounded wistful and I also prefer IntelliJ, I followed up. Success! (Mostly…)
I followed the steps in the second, longer post by Justin here:
And had to chase down the location of the jar that contained the plugin and KNIME classes; may have included more than necessary (this is not my forte).
In the end I added these Global Libraries as well as the ECLIPSE one he suggests:
Since I’m on Windows 10, I couldn’t use a Bash command to launch KNIME from within IntelliJ, so I created a run config that uses PowerShell to call the batch file he suggests creating: