Hi Jim. I took a look at my Language preferences in BBEdit. I have got *.py mapped to Python. There are a number of other fairly standard extensions that I am using in my code that were not mapped - these were the files causing my trouble. I have been using BBEdit for quite some time, I had assumed incorrectly that these settings had to do more with syntax highlighting than anything else. Many thanks for setting me straight.

Regards,
David

Jim Correia wrote:
On Dec 8, 2006, at 7:52 AM, David Pratt wrote:

Hi. On my mac most files that I co from svn have no creator associated with them. .txt files show as BBEdit but my .py and many others files do not. The trouble this causes is that search/replace over multiple folders does not seem to work (they will be skipped without a creator). Has anyone a recommendation to ensure these files are picked up with the search/replace. I have been using a droplet up to now to change creator types on files before searching which is a pain. I am currently using v 7 of BBEdit.

It is the *type*, not the creator which is important here. (The creator is the code for the application which created the file, the type is the kind of file it is. Files checked out from subversion will have neither.)

There are a couple options which control this behavior:

- "Options..." in the Find dialog will let you search "Text files only" or "All file types" - in "Text Files: Opening" in the prefs there is a set of choices for what to do when the files type is unknown.

My recommendation is to leave both of those at their factory default settings ("Text Files only" and "Map the File Name" respectively) so that you don't inadvertently search and replace in non-text files (which could have catastrophic consequences in the replace case.)

If all of the files have well known extensions, like .py, just add a mapping for that extension in the language preferences and BBEdit will consider it to be a text file.

Jim

--------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>


--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to