emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
2021-02-16T16:46:09.068900Z

somehow I rediscovered hs-minor-mode recently and am enjoying code-folding in emacs greatly. It works amazingly well in Clojure, Python, R and probably other languages I have yet to try 🙂

5
rap1ds 2021-02-17T12:06:44.073400Z

Thanks for sharing! I didn't know about this but it looks handy! Definitely gonna give it a try

👍 1
vemv 2021-02-18T16:10:19.081Z

I have a little setup that always folds the ns form by default For the rest of the form personally I never use folding. IMO the need can reveal other issues (e.g. ns size)

2021-02-18T20:07:50.084200Z

I have a few colleagues that have 10,000 line python files per project. I find it useful for those and also for perusing lengthier codebases

vemv 2021-02-18T20:19:10.084400Z

sure, I don't question code-folding :) I simply reflected my views for greenfield clojure development

👍 1
vemv 2021-02-18T20:19:44.084600Z

curious, does emacs handle a 10kLOC file gracefully? I'd imagine the AST parsing could slow down things

2021-02-18T20:56:56.084800Z

no problems so far

2021-02-18T20:57:17.085Z

perhaps it has more to do with the RAM on the box

2021-02-18T23:51:56.085300Z

Woaw! Thanks for sharing, I love hs-minor-mode :)

🤘 1
2021-02-20T15:18:10.002100Z

i use this to collapse comment blocks sometimes:

(add-hook 'clojure-mode-hook
              (lambda ()
                (hs-minor-mode)
                (setq hs-hide-comments-when-hiding-all nil)
                (setq hs-block-start-regexp "\\s(comment")))

👍 1
2021-02-16T16:46:16.069100Z

thought I'd share

caumond 2021-02-16T21:56:14.072500Z

Hi, I have modified my test source directory to test/src instead of test . My objective was to be able to add some test/resources.... and so on. The issue I have is with projectile which projectile-between-implementation-and-testis still trying to create test file directly to testand not test/src. Is there a way to fix that? I don't find reference to that, it that a so bad practise to set directories like that?

caumond 2021-02-17T15:15:11.074400Z

So if I understand the answer you gave and the lack of other answers, this use case is not a classical one. I guess people leave their test in the test directory ?