From 3df00c2d24e905dc09a74625d0f5ee46cb14f1f9 Mon Sep 17 00:00:00 2001 From: oreodave Date: Sun, 25 Aug 2019 21:57:20 +0100 Subject: +ivy interface that uses the test method names --- doom.d/config.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doom.d/config.org b/doom.d/config.org index 520cf69..cc546f3 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -141,6 +141,15 @@ My docsets are stored in .docsets for ease of use (let* ((test-methods (omnisharp--cs-filter-resursively 'omnisharp--cs-unit-test-method-p elements))) ;; Get set of elements through omnisharp + + (ivy-read "Choose test: " ;; Start ivy to get nice menu + (mapcar (lambda (els) (cdr (nth 1 els))) test-methods) ;; Get names of any unit test methods + :require-match t + :keymap counsel-describe-map + :sort t + :unwind (lambda () + (counsel-delete-process) + (swiper--cleanup)) (setq omnisharp-server-executable-path "~/bin/omnisharp/run") (add-hook 'csharp-mode-hook '(lambda() (setq c-basic-offset 4))) ; Hook for csharp setting variables -- cgit v1.2.3-13-gbd6f