Open jbtwh opened 10 years ago
Confirmed here with eclipse luna (4.4.1) and eclim 2.4.0 on OSX. I'll look into this soon.
Possible reason:
(defun eclim-problems-highlight ()
(interactive)
(save-restriction
(widen)
(when (eclim--file-managed-p)
(eclim--problems-clear-highlights)
(loop for problem across (remove-if-not (lambda (p) (string= (assoc-default 'filename p) (file-truename (buffer-file-name)))) eclim--problems-list)
do (eclim--problems-insert-highlight problem)))))
(assoc-default 'filename p)
and (file-truename (buffer-file-name))
return paths in different cases. Maybe this is os specific thing
If file has a symbolic link then the buffer file name in emacs may be different with the one eclipse returns. all file related operation should be carefully reviewed to avoid such issue completely.
Windows 7 emacs 24.3 java 7 eclipse indigo + eclim 1.7.19 also tried eclipse luna + eclim 2.4.0 = same problem
Problems underlining not working. eclim-problems works fine. Judging by debugger function eclim--problems-insert-highlight is never called