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
I have modified the code to auto-complete a partial classname,
without needing the package name (makes it very easy to
find/enter class when you forget the package name or even the
exact class name). I found it useful in my personal work, so
thought could help others too.
Use class names as potential-completions when there is a capital
letter in the prefix (a curde assumption, I have to agree, that
clojure vars may not have capitals).
Instead of startsWith, use regular expression match to support
wildcard too (see re-match).
Some tests are updated.
Let me know what you guys think about it.
Thank you
The text was updated successfully, but these errors were encountered:
I have modified the code to auto-complete a partial classname,
without needing the package name (makes it very easy to
find/enter class when you forget the package name or even the
exact class name). I found it useful in my personal work, so
thought could help others too.
It behaves as below:
Wildcard '*' is supported and can be used as below:
Uploaded patch here: https://gist.github.com/3117608
Changes:
potential-completions
when there is a capitalletter in the prefix (a curde assumption, I have to agree, that
clojure vars may not have capitals).
startsWith
, use regular expression match to supportwildcard too (see
re-match
).Let me know what you guys think about it.
Thank you
The text was updated successfully, but these errors were encountered: