dumb-jump icon indicating copy to clipboard operation
dumb-jump copied to clipboard

Better common lisp support

Open dieggsy opened this issue 3 years ago • 3 comments

Looking at the common lisp rules, things like defmethod, defclass, and defvar aren't supported. I would think at minimum these three should be added, since they're used everywhere in CL.

I'd be happy to open a PR if that's preferrable, though it may take me a minute to get around to it.

dieggsy avatar Feb 16 '22 21:02 dieggsy

Thanks for opening this. A PR for these is definitely welcome.

jacktasia avatar Feb 17 '22 04:02 jacktasia

I've added an initial pass at this in my fork which seems to be mostly working, but it looks like it's searching case-sensitively by default. Is there any way to change the case sensitivity or search options per language?

dieggsy avatar Feb 19 '22 06:02 dieggsy

It looks like you are going to have to change the command generator functions (the ones set by :generate in dumb-jump-generators-by-searcher to insert a case-insensitivity flag when the language is case-insenstive. I'd say adding a defconst with case-insensitive languages (CL should be enough for now) would be the best way to do this.

phikal avatar Feb 19 '22 20:02 phikal