Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Clojure Namespace with dash names directory incorrectly #733

Closed
lorddoig opened this issue Feb 10, 2015 · 2 comments
Closed

New Clojure Namespace with dash names directory incorrectly #733

lorddoig opened this issue Feb 10, 2015 · 2 comments
Milestone

Comments

@lorddoig
Copy link

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.

@oleschoenburg
Copy link

I always assumed this was the correct behaviour. If my memory serves me, this works in our project.

@cursive-ide
Copy link
Owner

No, this is definitely wrong, I just noticed this the other day. I'll fix it soon.

@cursive-ide cursive-ide modified the milestones: 0.1.46, 0.1.47 Feb 10, 2015
@cursive-ide cursive-ide modified the milestones: 0.1.49, 0.1.47 Mar 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants