2.3.2 Idle Working Options

In addition to reparsing buffers, the Semantic idle scheduler performs additional operations, including the following:

Because this extra work is quite time-consuming, it is only carried out after a longer idle delay. The following features control how the idle work is performed.

Option: semantic-idle-scheduler-work-idle-time

The value of this variable is the amount of idle time, in seconds, before commencing idle work. The default is 60.

Option: semantic-idle-work-parse-neighboring-files-flag

If the value of this variable is non-nil, the Semantic idle scheduler uses idle work time to parse files in the same directory as the current buffer. This improves the accuracy of tag searches and saves time when visiting those files later, at the cost of doing a lot of parsing. The default is t.