How to remove directory window and add a cscope window in Emacs ECB? -


Yesterday I installed the ECB on my AMACS, and I find the method window and the history window are quite useful. But the Directory tree window and the source window are less useful, if I hide them, then I will save more space for the method window and history.

Another problem is that I use cscope to search for definitions and callers through the project, the result of cscope is divided by dividing the main window into two. I would like to know that it is possible to set cscope results window in the window like CCB window like window and history window?

Many thanks.

====== =========

Thank you for the synthetic and ACB documents, in the end I prepare a layout with a fixed cescope. . I'll post the code here because it will help other people.

  (requires ecb) (ecb-layout-define "my-cscope-layout" left nil (ecb-set-methods-buffer) (ecb-split-ver 0.5 t (Ecb-set-history-buffer) (ecb-split-ver 0.25t) (other window 1) (ecb-set-cscope-buffer)) (ATCB-window-DCTECT ECB-set-ciscoP -Buffer "* ECB cscope-buf *" (switch-to-buffer "* cscope *")) (Setac NCB-layout-name "I-CiscoP-layout") ;; Disable the bucket so that history buffer can display more entries (setq ecb-history-make-buckets 'never')  

A group of layout presets is listed, one of them can work for you. Also, you can create a custom layout to follow the directions, which is the ecb-create- The new-layout command can also be done using.

The latter page also states that as a new fix window the way you want to cscope.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -