Skip to content

Completion not working in hy-mode #93

@noobymcnoob

Description

@noobymcnoob

Hy version: 0.18.0

The following code does not seem to complete in hy-mode. I do have completion for builtins and as you can see, it does work with jedhy directly. I'd love to debug so if you can give some tips on where to start, that would be great.

(import jedhy.api)
(setv api (jedhy.api.API))

(defclass Foo []
  (defn --init-- [self a b]
    (print self a b))
  (defn test [self a b]
    (print (+ a b))))

(setv foo (Foo 1 2))

(api.set-namespace :locals- (locals))
(api.complete "foo.t") ;;; -> ('foo.test',)

(foo.) ;; no completion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions