>> foo.cljs >> foo/whatever.cljs >> bar.cljs >> bar/stuff.cljs
yes, do this, it also matches what most of the Clojure community does. On Sun, May 18, 2014 at 4:16 AM, Thomas Heller <th.hel...@gmail.com> wrote: > Don't think plugins can touch the devtools. > > I tend to organize my code that the public "interface" of foo reside in > foo.cljs and the implementation details go into foo/something.cljs so in > your case you'd get > > foo.cljs > foo/whatever.cljs > bar.cljs > bar/stuff.cljs > > Maybe an alternative solution to your problem. > > > > On Sunday, May 18, 2014 5:06:04 AM UTC+2, t x wrote: > >> flat namespace is ugly. Someone please please tell me there is a >> better solution. :-) Is there no 10-line chrome-plugin which solves >> this? >> >> On Fri, May 16, 2014 at 7:35 AM, t x <txre...@gmail.com> wrote: >> > Bah, I've reverted to a flat namespace, i.e. foo_internal.cljs, >> > foo_public.cljs, bar_internal.cljs, bar_public.cljs ... :-) >> > >> > On Fri, May 16, 2014 at 6:24 AM, Tim Visher <tim.v...@gmail.com> >> wrote: >> >> Seems worth a bug report/feature request to the Chrome Dev Tools team. >> >> >> >> On Thu, May 15, 2014 at 11:45 PM, t x <txre...@gmail.com> wrote: >> >>> Hi, >> >>> >> >>> * background: >> >>> >> >>> * I have clojurescript + lein cljsbuild auto working perfectly >> fine. >> >>> >> >>> * I have source maps working (when I click on a file in Chrome, it >> >>> jumps me to the corresponding *.cljs file) >> >>> >> >>> >> >>> * problem I am facing: >> >>> >> >>> * I like to name my modules: >> >>> >> >>> foo/public.cljs >> >>> foo/other-stuff.cljs >> >>> >> >>> bar/public.cljs >> >>> bar/other-stuff.cljs >> >>> >> >>> Now, Chrome + clojurescript (not sure who is at fault) appears to >> >>> display not the _full name_, but only the _last part of the >> pathname_, >> >>> so I get a bunch of lines saying things like: >> >>> >> >>> public.cljs:23 >> >>> public.cljs:68 >> >>> >> >>> and I have no idea whether it's foo/public.cljs or bar/public.cljs >> >>> without clicking on it. >> >>> >> >>> >> >>> * question: >> >>> >> >>> Is there anyway to get Chrome / clojurescript to display the full >> >>> name of the *.cljs file rather than just the last part? >> >>> >> >>> Thanks! >> >>> >> >>> -- >> >>> You received this message because you are subscribed to the Google >> >>> Groups "Clojure" group. >> >>> To post to this group, send email to clo...@googlegroups.com >> >>> Note that posts from new members are moderated - please be patient >> with your first post. >> >>> To unsubscribe from this group, send email to >> >>> clojure+u...@googlegroups.com >> >>> For more options, visit this group at >> >>> http://groups.google.com/group/clojure?hl=en >> >>> --- >> >>> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> >>> To unsubscribe from this group and stop receiving emails from it, >> send an email to clojure+u...@googlegroups.com. >> >>> For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> >> You received this message because you are subscribed to the Google >> >> Groups "Clojure" group. >> >> To post to this group, send email to clo...@googlegroups.com >> >> Note that posts from new members are moderated - please be patient >> with your first post. >> >> To unsubscribe from this group, send email to >> >> clojure+u...@googlegroups.com >> >> For more options, visit this group at >> >> http://groups.google.com/group/clojure?hl=en >> >> --- >> >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> >> To unsubscribe from this group and stop receiving emails from it, send >> an email to clojure+u...@googlegroups.com. >> >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.