To prevent automatic parsing of other files in idle mode, you can set:
(setq semantic-idle-work-parse-neighboring-files-flag nil)
and if it pulls them through include, you can do this:
(setq semantic-idle-work-update-headers-flag nil)
In fact, this is the default value, and it gets true if you use one of the canned configuration options for regular or hidden code helpers.
In order not to parse all the files, but still let the ECB find the tag definitions, you probably need to use the GNU Global database. See more details semanticdb-enable-gnu-global-databases.
source
share