thoni56 / c-xrefactory

A refactoring tool for C/Yacc and Emacs. The first tool to cross Refactory Rubicon. Initial work, and released under GPL in 2009, by Marián Vittek.
https://thoni56.github.io/c-xrefactory/
GNU General Public License v2.0
23 stars 4 forks source link

Make c-xref-menu available only for appropriate file patterns #22

Open thoni56 opened 7 years ago

thoni56 commented 7 years ago

After loading, the c-xref menu is always available, which is a bit intrusive.

Although we can't know all possible file patterns people are using, we could at startup just activate the menu for the known patters, or hook into C-mode and Java-mode.

We could also add a c-xref auto-loaded function to activate the menu for specific buffers.

shanemd commented 1 year ago

Possibly this is a 'good-first-issue' for those familiar with elisp?