cljs-tooling icon indicating copy to clipboard operation
cljs-tooling copied to clipboard

Is this expected behavior?

Open NightMachinery opened this issue 7 years ago • 5 comments

Putting the caret at |:

(ns withering-spell.views
  (:require [re-frame.core :as re-frame]))

(defn main-panel []
  (let [name (re-frame/subscribe [:name])]
    (fn []
      [:div
       [:h1.lion "Headline"]
       [:ul
        (for [x (range 1 4)]
          [:li x])]
       [:div "Hi"]
       [:ul
        [:li "Cat is coming"]]
       [:button {:on-click #(re-frame/|)}]
       "I am your Death. Hello from " @name]
      )))

And pressing tab returns no completions. The ns form is loaded. Is this expected behavior? Default clojure.core things do auto-complete (like map).

NightMachinery avatar May 08 '18 14:05 NightMachinery

Cljs-tooling I think relies on load-file having been run, not evaling the ns form on its own over the repl, did you give that a try?

gtrak avatar May 08 '18 14:05 gtrak

I don't know how that is done?

On Tue, May 8, 2018 at 6:54 PM, Gary Trakhman [email protected] wrote:

Cljs-tooling I think relies on load-file having been run, not evaling the ns form on its own over the repl, did you give that a try?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/clojure-emacs/cljs-tooling/issues/25#issuecomment-387420362, or mute the thread https://github.com/notifications/unsubscribe-auth/Aii--tR6ezMrgUmayHtt8VMylnXPeDZfks5twaqwgaJpZM4T2u8s .

NightMachinery avatar May 08 '18 17:05 NightMachinery

Try cider-load-file, I think it's C-c C-k?

gtrak avatar May 08 '18 18:05 gtrak

I did, it fixed the documentation lookup, but auto-completion still doesn't work.

On Tue, May 8, 2018 at 11:11 PM, Gary Trakhman [email protected] wrote:

Try cider-load-file, I think it's C-c C-k?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/clojure-emacs/cljs-tooling/issues/25#issuecomment-387501845, or mute the thread https://github.com/notifications/unsubscribe-auth/Aii--v0F0RD0H3vzlKwX9rxrgP89Fhnhks5twebSgaJpZM4T2u8s .

NightMachinery avatar May 11 '18 10:05 NightMachinery

autogenerated with https://github.com/MalloZup/doghub: issue inactive since 450 days. Please update the issue or close it

MalloZup avatar Aug 05 '19 21:08 MalloZup