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
Hello, Cursive currently does auto-import from symbols, for example:
Given I have used [com.wsscode.pathom3.connect.planner :as pcp] in the project, if I type pcp/ in a new namespace, I start getting completions for the symbols, and in return, it adds the require with the alias.
I would like to have the same functionality for fully qualified keyword aliases. Using the same example, I would like that when I type ::pcp/ I start getting completions for the com.wsscode.pathom3.connect.planner namespace keywords and auto-import on return.
For the auto-import of keywords, ideally, it would import using :as-alias. This can enable nicer flows that use fully qualified keywords to be imported. But there is a caveat here; there is if later I decide to use pcp/, then that :as-alias would have to turn into :as. This could even be a separate feature that auto-promotes :as-alias to :as when a symbol is used.
The text was updated successfully, but these errors were encountered:
Hello, Cursive currently does auto-import from symbols, for example:
Given I have used
[com.wsscode.pathom3.connect.planner :as pcp]
in the project, if I typepcp/
in a new namespace, I start getting completions for the symbols, and in return, it adds therequire
with the alias.I would like to have the same functionality for fully qualified keyword aliases. Using the same example, I would like that when I type
::pcp/
I start getting completions for thecom.wsscode.pathom3.connect.planner
namespace keywords and auto-import on return.For the auto-import of keywords, ideally, it would import using
:as-alias
. This can enable nicer flows that use fully qualified keywords to be imported. But there is a caveat here; there is if later I decide to usepcp/
, then that:as-alias
would have to turn into:as
. This could even be a separate feature that auto-promotes:as-alias
to:as
when a symbol is used.The text was updated successfully, but these errors were encountered: