cursive-ide / cursive

Cursive: The IDE for beautiful Clojure code
581 stars 7 forks source link

Recognise (reagent) functions calls inside vectors #1557

Open danielcompton opened 7 years ago

danielcompton commented 7 years ago

When writing Reagent apps, you often need to pass your functions as vectors with parameters, instead of making direct function calls, so that Reagent can create separate React components for each call. There's more details on this here

It would be great if Cursive recognised these 'function calls' so that the parameter popup and arity checking would work when using a vector.

For example, the function call here shows invalid arity and allows you to see the parameters it should take, whereas the vector call has no code insight.

screenshot of intellij idea 7-10-16 3-47-42 pm
luposlip commented 7 years ago

👍