Thank you. Now makes sense why they aren’t consistently created. Sometimes I do edit with files on my hard drive and then sync them to the flash card. (I had started to edit on the card to avoid the added step of ensuring syncing).
I’ll think about revising my workflow, particularly since others have to look at my flash drive from time to time. I’m still adjusting to working on Windows and some other complications of the project.
> I think the the technical term is "AppleDouble" files.
> https://en.wikipedia.org/wiki/AppleSingle_and_AppleDouble_formats <https://en.wikipedia.org/wiki/AppleSingle_and_AppleDouble_formats>
> They get created anywhere the underlying filesystem doesn't provide resource forks, or extended attributes (which is mostly anything not HFS+). Since TextMate uses those extended attributes to stash some relevant (like the cursor location), this causes them to appear more frequently.
> If you're using git, you should definitely setup a global exclude file with a few of those macOS-specific patterns. See https://www.gitignore.io/ <https://www.gitignore.io/> for some helpful ones.
> Another way would be to edit your project on an HFS+ drive* ? you'll get those pesky .DS_Store anyway, but at least the ._ files shouldn't appear.
> * I'm only suspecting you do, since AppleDouble files are unneeded on HFS+.
> Etienne Samson
> TextMate is using extended attributes, which were introduced in 10.4 (I think) and which are also stored in doubles on filesystems that don't support them natively.
Thanks for the response. I never noticed these files before. Are they created by TextMate, because I don’t see them anywhere else. Or are they created when load the thumb drive on the Windows machine? From the linked discussion in another response I gather it’s TextMate storing some other information, but they don’t always seem to be created. Does TextMate need them or use them? I ask because maybe I don’t want to delete them.
I see them also using Transmit (an ftp app).
> On Sep 24, 2017, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
> This is not a TextMate question. It's just how Macs work. Those are resource forks, which Windows can't comprehend. See for example https://superuser.com/questions/851373/hide-macs-dot-underscore-files-on-a-… <https://superuser.com/questions/851373/hide-macs-dot-underscore-files-on-a-…>
>> On Sep 23, 2017, at 9:48 AM, Greg <web(a)web.knobby.ws <mailto:email@example.com>> wrote:
>> Is TextMate adding files with a leading period and underscore in front, for example, ?._styles.css"?
>> I?m using TextMate for a class that mostly Windows and all these extra files show up when I?m on Windows as well as other apps which show invisible files. This doubles the apparent number of files.
Is TextMate adding files with a leading period and underscore in front, for example, “._styles.css"?
I’m using TextMate for a class that mostly Windows and all these extra files show up when I’m on Windows as well as other apps which show invisible files. This doubles the apparent number of files.
I know that you can rig TextMate 2 to trim trailing space on save by
editing the Text -> Converting / Stripping -> Trim... bundle by
changing the semantic class (or creating a whole new bundle). It works
well, but I was wondering if there are any plans to add this as an
option in the preferences (with a checkbox, etc.) for convenience?
It's a rather common one to have that's found on most other editors
I've seen, and it would be super cool to not have to mess with the
bundles for such a basic thing.
This might be a stupid question: Is there a way in TextMate 2 to cut, and then uncut(paste), the current line with 2 keystrokes? I.e, similar to the nano commands ‘Ctrl-k’ and ‘Ctrl-u’? As opposed to: select the current line, cut, then paste.
Thanks in advance.
Promote away. Thank you.
> On Sep 18, 2017, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
> Subject: [TxMt] Linting functionality for TextMate
> Message-ID: <D0C4F4EF-1C59-4999-A842-E8646270D387(a)me.com <mailto:D0C4F4EF-1C59-4999-A842-E8646270D387@me.com>>
> Content-Type: text/plain; charset=utf-8
> Apologies for the self-promotion but I thought this may be interesting to some of you. I?ve seen Atom and Sublime Text linting plugins and I was wanting something similar for TextMate so wrote my own plugin:
> https://github.com/MikeMcQuaid/Linter.tmbundle <https://github.com/MikeMcQuaid/Linter.tmbundle>
> Give me a shout if you like this or have feedback. If there?s enough interest I?d like to try and submit this to be an official TextMate plugin in future.
> Mike McQuaid
> http://mikemcquaid.com <http://mikemcquaid.com/>