Skip to content

Instantly share code, notes, and snippets.

@Arnot
Last active August 14, 2017 14:29
Show Gist options
  • Select an option

  • Save Arnot/ca8f111ebf37f9690fb16bf9211f70d1 to your computer and use it in GitHub Desktop.

Select an option

Save Arnot/ca8f111ebf37f9690fb16bf9211f70d1 to your computer and use it in GitHub Desktop.
(defun arno/update-eclipse ()
(interactive)
(thread-last (eclim/project-list)
; Get names from project list
(mapcar (lambda (p) (assoc-default 'name p)))
; Remove unused projects to prevent eclipse from reopening them
(remove-if (lambda (s) (or (equal s "GantrySync") (equal s "SvgUtil"))))
; Refresh the remaining projects
(eclim-project-refresh)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment