srcpath differently than my gradle project.
projectile-mode(which I have to do in each individual file) then
C-c p h, it shows me all the files correctly scoped to the project dir, but
C-c p pshows me no projects, and the projectile-bookmarks file is empty.
(defun open-matching-files-goto-line(dir file matcher lineno) "Open file if it matches, goto lineno" (when (string-equal file matcher) (find-file (concat dir file)) (goto-line (string-to-number lineno)) ) t ) (defun find-file-line-in-project (fileline) "Find file line in project" (interactive "sFind file:line in project: ") (let (pt) (walk-path basedir (lambda (dir file) (open-matching-files-goto-line dir file (elt (split-string fileline ":") 0) (elt (split-string fileline ":") 1) )))))
C-c p Por
C-c p cand a function would assemble the build call. This would be interesting for example if you wanted to build a function that created the test line based on the file you're currently working on.
Any thoughts on this? I am running Emacs 26 on windows. When switching projects, the command fails. The directory does exist, but I don't know what that extra 'tr' is.
[helm-current-buffer projectile-project-p buffer-live-p projectile-project-root projectile-current-project-files nil expand-file-name] 8]’
(file-missing "Setting current directory" "No such file or directory" "c:/Users/jerem/Projects/amps/drgnjs/'tr' is not recognized as an internal or external command,
operable program or batch file.