简体   繁体   中英

What is a “stub” in Intellij Cursive?

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?

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."

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM