Javascript > Eclipse > problems encountered during text search

时间:2014-11-13 14:10:36   收藏:0   阅读:2167

Reproduce:

Ctrl + H, Select "File Search", will encounter eclipse kinds of bug/error alert: problems encountered during text search

Reason:

It‘s because Ctrl + H by default will search disk files, and when the disk files get un-sync with eclipse‘s project/workspace context, then unexpected error accours.

Manually refresh, using F5 refresh for the workspace will temperary resolve this issue(when you doing Ctrl + H search), but Mac always will generatate hidden un-sync files.

Solution:

Ctrl+ H, Select "File Search", indicate the "file name pattern", for example *.js, *.xml or *.css.  And then select the scope "Workspace".

Then next time it will automatically use this setting.  It works for Mac OS X Yosemite.

原文:http://www.cnblogs.com/backuper/p/4094622.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!