Closed ekaschalk closed 6 years ago
Attribute methods are now supported, even in case of string/dict/list literals. So both (.format str ...)
and (.format "some-str" ...)
are supported.
hy.core.macros
are now supported by Eldoc. Completing all namespaced macros is simple. To support hy.compiler
macros defined with @builds
is actually easier than standard macros, however I will need to PR Hy with some docstrings for such functions.
Eldoc is now solid! It formats all introspections lispy-like and puts &rest, &optional, ...
all within the argstring.
Next I will highlight the eldoc string emacs-side similarly to how emacs-lisp does it.
Eldoc now fontifies text.
todos
hy.core.macros
.@builds
compiler functions.As an update - we now have a pretty awesome, works in all cases, formats python builtins too, eldoc mode.
It will be released once the new-shell2 branch is finished up and how to handle the now-large hy setup code.
eldoc-mode
is now supported. It formats the docs/args similarly topython-mode
.~Python style formatting is clearly not the best format for a lisp - I will investigate changing the syntax of the eldoc strings to be lispy, once everything is completing as it should.~ Lispy formatting (and kwargs/rest/optional...) all supported now.
The following improvements are ideal:
(.format str ...)
) aren't supported yet (but(str.format ...)
is supported).~Bugs:
Eldoc works and all bugs are fixed. But formatting/inspection can be improved. This issue will remain open as I work to improve its messages for more data structures. Also compile table constructs still don't have Eldoc support and won't until Hy's compiler table is refactored.