> On Sep 15, 2016, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> Message: 2
> Date: Thu, 15 Sep 2016 08:03:16 +0200
> From: "Allan Odgaard" <mailinglist(a)textmate.org <mailto:mailinglist@textmate.org>>
> To: "TextMate users" <textmate(a)lists.macromates.com <mailto:textmate@lists.macromates.com>>
> Subject: [TxMt] Re: Git commands changed?
> Message-ID: <F6534751-2A60-4671-892D-7A18A38D0780(a)textmate.org <mailto:F6534751-2A60-4671-892D-7A18A38D0780@textmate.org>>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 15 Sep 2016, at 7:16, Greg wrote:
>
>> I remember that Cmd-Y would bring up options selectable by typing a
>> number to ?Show uncommitted?, ?Commit?, etc?the options one
>> sees with Bundles>Git with the top items being selectable in numerical
>> order.
>>
>> I have been traveling and it might have been eight weeks since I?ve
>> done this.
>>
>> Can I add this back?
>
> This was never removed. Do you have Git installed in Preferences ?
> Bundles?
>
> The menu though is provided by the SCM bundle, so you also need this one
> installed, this is included by default and the Git bundle depends on it,
> so installing (enabling) Git should automatically install it.
>
> It sounds like something bad happened to your bundles folder(s).
During the problem with the Ruby bundle, I removed Bundles I didn’t recognize.
SCM bundle is now active and Git bundle works as expected.
Is there a way to know the dependencies of Bundles?
Thank you Allan.
I remember that Cmd-Y would bring up options selectable by typing a number to “Show uncommitted”, “Commit”, etc—the options one sees with Bundles>Git with the top items being selectable in numerical order.
I have been traveling and it might have been eight weeks since I’ve done this.
Can I add this back?
I’m the one that just had problems with Bundles not showing up and fixing by deleting ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary
Greg
Fixed, details below.
> On Sep 14, 2016, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> Message: 3
> Date: Wed, 14 Sep 2016 09:09:31 +0200
> From: "Allan Odgaard" <mailinglist(a)textmate.org <mailto:mailinglist@textmate.org>>
> To: "TextMate users" <textmate(a)lists.macromates.com <mailto:textmate@lists.macromates.com>>
> Subject: [TxMt] Re: Ruby Bundle unavailable
> Message-ID: <4EEE929D-3159-4698-85C7-3367B8228159(a)textmate.org <mailto:4EEE929D-3159-4698-85C7-3367B8228159@textmate.org>>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> On 12 Sep 2016, at 20:16, Greg wrote:
>
>> Very recently Bundle control has gone wacky or maybe the Ruby bundle.
>> I see Ruby in the list in Preferences>Bundles and can select it, but
>> Ruby is not available in at the bottom of the window for selection
>> (afraid I don?t know how to describe that better).
>
> You say you can ?select it? in Preferences ? Bundles, but is the
> checkbox checked?
>
> Did you try to uncheck and recheck the checkbox?
I had already done that several times and also relaunched TextMate
>
> If this did not help, try delete this file and relaunch TextMate:
>
> ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary
This has fixed the problem. I can now set the Ruby Bundle in Preferences (this I could do before), and have it available at the bottom of the window (Ruby wasn’t available). Can also run scripts.
>
>> I think I?m also seeing problems with Themes, but I don?t know
>> exactly which them I was using, but it definitely wasn?t correct for
>> my Ruby files. I?m using some black background theme in general and
>> did look at different themes a week or two ago. Might be some
>> connection?
>
> Changing themes should not cause bundles to disappear. You say you are
> seeing ?problems with Themes?, does that mean, that the Themes
> bundle also has gone missing?
Probably because I couldn’t select Ruby. Consider this a non issue.
>
>> I?m not up on Bundle management, but poked around
>>
>> ~/Library/Application Support/TextMate/Bundles/ ? no
>> Ruby bundle
>> ~/Library/Application Support/TextMate/Managed/Bundles/ ? no Ruby
>> bundle
>
> The first one should not have one, the second one should, if Ruby is
> checked in Preferences ? Bundles.
I wonder if I missed it before since it appears below Ruby Haml, Ruby on Rails, and Ruby SASS. I would have expected it the first. I understand in computer land that is not the case, but in a real world list it would be and I may have not looked carefully enough. In any case it’s there now.
>
> Is any component of your path possibly a symbolic link to a syncing
> service?
>
>> ~/Library/Application Support/TextMate/Ruby/1.8.7/ ? Why is this
>> here? Did I do this or is it part of TextMate?
>
> This is something TextMate installs on-demand. Currently a lot of
> bundles require it.
>
>> I searched for ?Ruby.tmbundle? and found nothing.
I may have forgotten to select the System files are included option. [OT] Is there a way to have this as a default?
>
> A final place to look is:
>
> ~/Library/Application Support/Avian/Bundles
>
> However, this would be user customizations, and if you have none, should
> be empty.
>
> And just for the records, here are all the things to delete to get back
> to factory defaults:
> https://github.com/textmate/textmate/wiki/Reverting-To-Defaults <https://github.com/textmate/textmate/wiki/Reverting-To-Defaults>
>
> Item 4 and 5 on that list though should not affect bundles.
Thank you Allan. All is well.
TextMate version 2.0-beta.12.4. Ruby bundle dated Sep 6, 2016.
Very recently Bundle control has gone wacky or maybe the Ruby bundle. I see Ruby in the list in Preferences>Bundles and can select it, but Ruby is not available in at the bottom of the window for selection (afraid I don’t know how to describe that better). And Cmd-R doesn’t work (not surprising since I can’t make it a Ruby file). I’ve been using this regularly, but it could have been a week since tried to use Cmd-R. I’ve been using TextMate daily for Rails and haven’t noticed any problems (Ruby on Rails Bundle is still available).
Some combinations of reboot and restart cause Ruby not to be selected in Preferences.
I think I’m also seeing problems with Themes, but I don’t know exactly which them I was using, but it definitely wasn’t correct for my Ruby files. I’m using some black background theme in general and did look at different themes a week or two ago. Might be some connection?
I’m not up on Bundle management, but poked around
~/Library/Application Support/TextMate/Bundles/ — no Ruby bundle
~/Library/Application Support/TextMate/Managed/Bundles/ — no Ruby bundle
~/Library/Application Support/TextMate/Ruby/1.8.7/ — Why is this here? Did I do this or is it part of TextMate?
I searched for “Ruby.tmbundle” and found nothing.
Thanks for any suggestions
Greg
Hi all,
I was wondering if it was possible to change the behaviour of the Open
Recent Project (⌘⇧O) window. As it stands, this is the only window where
when focussed, the action ⌘⌫ does not delete the entry text field, but
instead deletes the Recent Project/Favourite from the list.
In the following windows:
- Open Quickly... (⌘T)
- Select Bundle Item... (⌃⌘T)
- Jump to Symbol... (⇧⌘T)
The ⌘⌫ action clears the text field only, and doesn't mutate the results
list. Understandably if it did, this would cause a lot more issues than the
Open Recent Project window.
Is there a way to lock items in place at least? Or remove the keyboard
shortcut for this window? This could make a lot of sense for the Favourites
sublist, that way the items could not be deleted, except by a mouse click
on the icon on the right?
Anyway, was wondering if anyone else had this issue.
Regards,
Siame
> <persquare(a)mac.com> wrote:
> Perhaps not exactly what you are looking for, but there is a bundle (by Hilton Lipschitz) for specifying themes in plain text files as comma separated values (CSV): <https://github.com/hiltmon/textmate-theme-csv>
> Additional blog writeup here: <http://hiltmon.com/blog/2013/02/22/multiple-themes-in-textmate-2/>
>
> I have a fork of the code with some additional features over at <https://github.com/persquare/textmate-theme-csv>
> In particular, you can set the gutter color(s), and it can do rudimentary highlighting of color codes by assigning them a scope with the color code appended at the end. In practice, it is only useful if you, like me, like to work with a limited set of colors since they need to be added to the theme used when editing themes... (makes your head spin, I know ;) Attached screenshot should clarify what it looks like.
>
> While not as easy to use as a GUI, plain text files allows you to easily track (and backtrack) changes to your theme(s).
Thanks, I’ll check it out. :)
> "Allan Odgaard" <mailinglist(a)textmate.org> wrote:
> Are you not seeing any styling of Markdown?
>
> Out-of-the-box there should be larger font size for headings, use of
> bold and italic, etc.
Yeah, out of the box Markdown does get highlighting, some themes work better than others. I’m trying to get granular control over the markdown highlighting so I can control all of the Atx-style headings (#, ##, ###, ####, #####, ######), bold, italic, and lists. I’ve been looking online but can’t find much info on how to target these things in a theme, especially the headings. In larger files I’d like to have a theme where I can tab indent headings and the content after them so it’s easier to follow.
The themes I find typically just have this, which controls all headings:
name = 'Heading';
scope = 'markup.heading, punctuation.definition.heading.markdown';
I would also like to see some kind of visual theme/grammar editor built into Textmate. I’m not a programmer so creating a theme or a new grammar isn’t easy for me (if not impossible). I’ve been able to modify some themes, but it would be nice to have a simple GUI (possibly with a feedback window of sample text) so I’d be able to even create themes for a new language without knowing the crazy grammar syntax (or even a new grammar for that matter). I’m sure it would be an involved process, but definitely worth it to me, even if it slowly grew over time. It would be nice to have simple options in a UI, and maybe even the ability to place your cursor in an open file which would allow you to edit the highlighting for that part of the grammar.
On a related topic, I’d love to see an enhanced Markdown theme (if one doesn’t exist). I’m using Markdown more and more for general notes and some html. Would be nice to have some highlighting for bold, em, links, lists, maybe even variations for # heading levels, tabbed indents for heading levels and associated content, etc.
thanks
Hi,
when I put my cursor in the word "transform" and select enclosing typing pairs, it selects the whitespace too, for some reason:
If I don't have the opening curly brace on it's own line, it works correctly:
Any ideas?
Fabian
Thanks Graham. The uuidgenerator worked great. That was the missing key in the theme files.
<graham.p.heath(a)gmail.com> wrote:
> If you rename the file to themeName.plist from themeName.tmTheme, you can
> open it with Xcode. You should then see a tree with "Root" and under that,
> various fields.
>
> There should be a uuid field, if not you can add it.
>
> To get the key, you just run "uuidgen" in your Terminal. If that sounds
> scary, https://www.uuidgenerator.net/ will make you one.