Comments (4)
There are files in your tree that aren't utf8 encoded.
If you need to be able to search for extended characters then you need to make sure all of your files are actually utf8 encoded.
If you don't need to search for extended characters then switch back to AckMate 1.1.1 for the time being. When I get time I'll look for a way to improve handling of extended characters so that it works correctly in all situations. Failing that, I'll rip out the utf8 support entirely.
from ackmate.
thx! perhaps is choking on our sql backup? is there a way of explicitly instructing ackmate to ignore certain file extensions or directories?
from ackmate.
Indeed there is - the simplest is to tell it to ignore based on file type (extension).
See http://github.com/protocool/AckMate/wiki where I give an example that configures .xib files (so that I can search them) but leaves them ignored by default.
It gets a bit tricker if you have source files called something.sql that you do want to search, but you also have backup files with the same .sql extension that you want to ignore.
In that case, you have to try to ignore based on directory names.
By default, ack can ignore named directories but not named paths. Which is to say, it can ignore all .svn directories, but you can't say "just ignore ~/deeply/nested/path/.svn".
So in the 'options' field in the AckMate you could specify --ignore-dir=backups or you could put that (on its own line) in your $HOME/.ackrc to have it standard across all of your ack searches.
Another option is that AckMate tries to use TextMate's "folder references" feature for ignoring specific paths in your project.
Unfortunately AckMate only has access to the global folder-refrences (from Preferences) so any per-project ones you have set up are unavailable.
Hope this helps.
from ackmate.
I see these too, but I do not know what files cause this. Is there a way for me to do this?
I get a HUGE list of these errors, too. Even when excluding what I think might be the problem directories. Always appears at the bottom of the search results, like this:
from ackmate.
Related Issues (20)
- Can't restrict results to a given subfolder HOT 4
- offending filename should be logged on Malformed UTF-8 error HOT 17
- If project has multiple folders, AckMate appears to search from their common ancestor HOT 4
- Add support for HAML files HOT 3
- Also use TextMate file references HOT 1
- AckMate inconsistently reading .ackrc HOT 1
- Please add haml support for ruby projects HOT 1
- AckMate shows files not contained in the TextMate project
- Crashs periodically on Lion HOT 12
- Checking "Use TextMate folder references" should also use project folder references HOT 2
- AckMate changed TextMate's Font Hinting HOT 3
- How can I exclude certain dirs? HOT 3
- Upgrade ackmate_ack?
- "rake" type doesn't seem to work
- incompatible with TextMate 2.0 Alpha
- Upgrade to ack 1.96
- Add UI for --ignore-dir and -G switches
- search by file's extension HOT 2
- Support textmate 2 since it went open source HOT 13
- Hot Key config HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ackmate.