-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit-ede-project.el
63 lines (51 loc) · 2.21 KB
/
init-ede-project.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
;;; init-ede-project.el --- Configuration for initialize my custom ede projects
;;; Commentary:
;; Configuration for initialize my custom ede projects
(require 'cedet)
(require 'eieio)
(require 'ede/source)
(require 'ede/base)
(require 'ede/auto)
(require 'ecb)
(require 'cedet-java)
;;(require 'sr-speedbar)
;;(require 'eassist)
;;; Code:
(when (cedet-ectag-version-check t)
(semantic-load-enable-primary-ectags-support))
(global-ede-mode t)
(ede-enable-generic-projects)
(declare-function ede-commit-project "ede/custom")
(declare-function ede-convert-path "ede/files")
(declare-function ede-directory-get-open-project "ede/files")
(declare-function ede-directory-get-toplevel-open-project "ede/files")
(declare-function ede-directory-project-p "ede/files")
(declare-function ede-find-subproject-for-directory "ede/files")
(declare-function ede-project-directory-remove-hash "ede/files")
(declare-function ede-toplevel "ede/base")
(declare-function ede-toplevel-project "ede/files")
(declare-function ede-up-directory "ede/files")
(declare-function semantic-lex-make-spp-table "semantic/lex-spp")
(global-srecode-minor-mode t)
;;(global-set-key [f2] 'sr-speedbar-toggle)
(global-set-key (kbd "<f2>") 'ecb-toggle-ecb-windows)
(defun set-key-ede-mode-hook ()
"Set up hot keys for simplify working in ede."
(local-set-key (kbd "C-c , f") 'ede-find-file)
(local-set-key (kbd "<f9>") 'compile))
(add-hook 'c-mode-common-hook 'set-key-ede-mode-hook)
(defvar ede-projects-dir (expand-file-name "ede-projects"
(file-name-directory load-file-name))
"This is folder contains configurations for my custom projects.")
;; (defvar rocket-through-file (expand-file-name "rocket-througt.el" ede-projects-dir)
;; "This is configuration file for Rocket Through Project")
;; (load rocket-through-file)
;; ;; ;;
;; (defvar victorian-rush-hour-file (expand-file-name "victorianrushhour.el" ede-projects-dir)
;; "This is configuration file for Victorian Rush Hour Project.")
;; (load victorian-rush-hour-file)
(defvar rumble-file (expand-file-name "rumble.el" ede-projects-dir)
"This is configuration file for Rumble Project.")
(load rumble-file)
(provide 'init-ede-project)
;;; init-ede-project.el ends here