You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever inc' is used in the code editor, calva treats it as regular inc (without trailing single quote). When mouse-hovering over it, only the part before single quote is gets underlined. The popup window with documentation shows inc documentation instead of inc'. Finally, when you use Go to definition (F12), it opens source code of inc.
Interestingly, Trigger parameter hints shows correct hints for parameters of inc' 👍
The text was updated successfully, but these errors were encountered:
Yes, it is a bit interesting that we get it right in some cases. 😄 The first (the failing) cases uses the quite crude API vscode has for this, which recognizes words and we then get to respond on the words it sends us. We were missing single quote as a valid word character. It is now being fixed in a PR.
The last (the working) case is using one of our own grammars for Clojure code, which ”knows” a bit more about how to scan for valid Clojure symbols.
Whenever
inc'
is used in the code editor, calva treats it as regularinc
(without trailing single quote). When mouse-hovering over it, only the part before single quote is gets underlined. The popup window with documentation showsinc
documentation instead ofinc'
. Finally, when you useGo to definition
(F12), it opens source code ofinc
.Interestingly,
Trigger parameter hints
shows correct hints for parameters ofinc'
👍The text was updated successfully, but these errors were encountered: