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
This had me bamboozled for a while - after a fair many No such namespace compilation errors (with ClojureScript, haven't tested plain Clojure) I realised what was going on.
When you right-click in a source directory and hit New > Clojure Namespace then enter something like util.some-thing.something, the path created (assuming none of these directories exist) is util/some-thing/something.cljs when it should be util/some_thing/something.cljs (with underscores replacing dashes in directory names.)
It correctly deals with dashes in actual file names, just not directories.
The text was updated successfully, but these errors were encountered:
This had me bamboozled for a while - after a fair many
No such namespace
compilation errors (with ClojureScript, haven't tested plain Clojure) I realised what was going on.When you right-click in a source directory and hit
New > Clojure Namespace
then enter something likeutil.some-thing.something
, the path created (assuming none of these directories exist) isutil/some-thing/something.cljs
when it should beutil/some_thing/something.cljs
(with underscores replacing dashes in directory names.)It correctly deals with dashes in actual file names, just not directories.
The text was updated successfully, but these errors were encountered: