What is a "stub" in Intellij Cursive?

466 Views Asked by At

The following message from time to time appears in Cursive:

"Your project requires namespaces which need stubs to be generated"

When I first saw that I thought it was something along the lines of generating code, in the way rails might generate code stubs for you. Obviously I don't want that, this is clojure, so I pressed ok anyway, and it seemed not to do anything. So what does this message mean?

What exactly (or even approximately) is a "stub" is in this context?

1

There are 1 best solutions below

2
On

According to the Cursive User Guide https://cursive-ide.com/userguide/macros.html Stubs are "source files containing empty function stubs which it can index for use in the editor."