• R/O
  • SSH

multi-project: Commit

Multi-project simplifies working with different projects in Emacs by providing support for creating, deleting, and searching with projects. Multi-project
supports interactively finding a file within a project by using a TAGS file.


Commit MetaInfo

Revisionbebc10d7944010a89996f4fe9aeeb1de0d3e19db (tree)
Zeit2019-02-18 01:32:07
AutorShawn Ellis <shawn.ellis17@gmai...>
CommiterShawn Ellis

Log Message

Added additional menu options. TAGS creation now recognizes gradle and

Ändern Zusammenfassung

Diff

diff -r 5a077a6431de -r bebc10d79440 multi-project.el
--- a/multi-project.el Sat Jan 12 17:53:47 2019 -0200
+++ b/multi-project.el Sun Feb 17 13:32:07 2019 -0300
@@ -3,7 +3,7 @@
33 ;; Copyright (C) 2010 - 2019
44
55 ;; Author: Shawn Ellis <shawn.ellis17@gmail.com>
6-;; Version: 0.0.29
6+;; Version: 0.0.30
77 ;; Package-Requires: ((emacs "25"))
88 ;; URL: https://bitbucket.org/ellisvelo/multi-project/overview
99 ;; Keywords: convenience project management
@@ -173,6 +173,8 @@
173173 '("MP"
174174 ["Jump to a project" multi-project-display-projects t]
175175 ["Jump to the project root" multi-project-root t]
176+ ["Jump to current project" multi-project-present-project t]
177+ ["Visit a project in new frame" multi-project-visit-project t]
176178 ["Compile..." multi-project-compile t]
177179 ["Find file..." multi-project-find-file t]
178180 ["Grep project ..." multi-project-interactive-grep t]
@@ -1128,7 +1130,15 @@
11281130 ((file-exists-p (concat local-project-directory "/.git"))
11291131 (setq files-command
11301132 (concat "git log --pretty=format: --name-only "
1131- "--diff-filter=A | sort - | grep -v '^$'"))))
1133+ "--diff-filter=A | sort - | grep -v '^$'")))
1134+
1135+ ((file-exists-p (concat local-project-directory "/build.gradle"))
1136+ (setq files-command (concat "cd " local-project-directory "; "
1137+ "find . -path '*/build' -prune -o -type f -print")))
1138+ ((file-exists-p (concat local-project-directory "/pom.xml"))
1139+ (setq files-command
1140+ (concat "cd " local-project-directory "; "
1141+ "find . -path '*/target' -prune -o -type f -print"))))
11321142
11331143 (concat files-command " | etags -o " local-project-tags " -"))))
11341144
Show on old repository browser