Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema defmethod #993

Closed
lenaschoenburg opened this issue Jul 30, 2015 · 6 comments
Closed

Schema defmethod #993

lenaschoenburg opened this issue Jul 30, 2015 · 6 comments
Labels
new Marks issues describing new features released Marks issues which have had the fixes released in a stable build
Milestone

Comments

@lenaschoenburg
Copy link

Support for schema.core/defmethod would be nice. Currently, arguments for methods can't be resolved.

@tonyvanriet
Copy link

+1 for s/defmethod support.
I get unresolved arguments and the formatting is off.

cursive s-defmethod

@tonyvanriet
Copy link

I found that I can at least fix the indenting by manually add the following to codeStyleSettings.xml.

<ClojureCodeStyleSettings>{
  :schema.core/defmethod :only-indent
}</ClojureCodeStyleSettings>

This setting doesn't appear in Preferences > Editor > Code Style > Clojure by default, but it will appear after you do the above and restart the IDE.

@cursive-ide
Copy link
Owner

@tonyvanriet You don't have to do that - see here.

@tonyvanriet
Copy link

Much better. I read the user guide cover-to-cover but forgot all about that. Thanks.

@rauhs
Copy link

rauhs commented Mar 2, 2016

+1, with om.next I used these multimethods a bunch (also on the server side).

@lacarmen
Copy link

Are there any updates on this issue? I'm starting to use schema.core/defmethod more heavily and my code looks like its been attacked by a highlighter D:

@cursive-ide cursive-ide added this to the 1.8.0-eap8 milestone Sep 25, 2018
@cursive-ide cursive-ide added the new Marks issues describing new features label Sep 22, 2020
@cursive-ide cursive-ide added the released Marks issues which have had the fixes released in a stable build label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new Marks issues describing new features released Marks issues which have had the fixes released in a stable build
Projects
None yet
Development

No branches or pull requests

6 participants