sorry if this was brought up before, but when manually adding "favorites" via symlinks, they do not display in the favorites window list. (⇧⌘O)
I only see the ones added via TM2 menu controls.
thanks
I just created a macro (manually) to find all instances of the current word
using these commands:
(
{ command = 'selectWord:'; },
{ command = 'copySelectionToFindPboard:'; },
{ command = 'findAll:'; },
)
When I perform the actions manually with ctrl-w, cmd-e, cmd-opt-f, all
instances of the word flash yellow, but this doesn't happen when using the
macro. Am I using the wrong commands, or is it not possible to get the same
behavior? Thanks,
- Matt
--
View this message in context: http://old.nabble.com/Find-All-highlighting-tp33487518p33487518.html
Sent from the textmate users mailing list archive at Nabble.com.
I am somewhat aware of how the default grammar is picked for a filetype (correct me if I am wrong, but I believe it is the grammar chosen when the last file of that type was saved). So I recently edited a Latex file with an extension of .txt, and now .txt files open with the Latex grammar chosen.
Can I force TextMate 2 to use Markdown for all .txt files by default while allowing me to selectively change some .txt files to other grammars, without changing the default grammar for all files of that type?
Thanks!!
--
Brandon Fryslie
http://www.MateWiki.com - A TextMate 2 Wiki
I was periodically editing and compiling a LaTeX document when TextMate 2 started running at 100% CPU (still usable, though). In the background I have open a text file, a C++ project, a Ruby file and an HTML file.
I grabbed a sample:
http://cl.ly/2O3L0T24012i2h181L37/Sample%20of%20TextMate.txt
Jacob Bandes-Storch
And then …
I deleted both TM1 and TM2, reinstalled TM1 to set the license key, then reinstalled TM2. No notable problems.
File operations from TM2 project window (the file manager) still cause crashes. Or at least crashes often follow file ops. Causality isn't assured. Adding folders to favorites now isn't working at all.
In short, things seem to be worse than before. Favorites don't seem to work at all (crash happens). If I were more astute, I'd happily solve all this. However, … . Crash reports go to macromates. Any suggestions for a next step?
--Lewy
On Mar 13, 2012, at 4:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> From: Brandon Fryslie <bmf(a)matewiki.com>
> Subject: [TxMt] Re: crashes
> Date: March 13, 2012 1:03:43 AM AKDT
> To: TextMate users <textmate(a)lists.macromates.com>
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Here is where some of the TextMate 1 / 2 stuff is stored:
>
> TextMate 1 Original Bundles
> ~/Library/Application Support/TextMate/Pristine Copy/Bundles
>
> TextMate 1 Bundle Deltas (Changes)
> ~/Library/Application Support/TextMate/Bundles
>
> TextMate 2 plist
> ~/Library/Preferences/com.macromates.TextMate.preview.plist
>
> TextMate 2 Managed (Autoupdating / Installed from Preferences in TM2) Bundles
> ~/Library/Application Support/TextMate/Managed
>
> TextMate 2 User Bundles
> ~/Library/Application Support/Avain/Bundles
>
> You don't need to back up the managed bundles. If you back up (or don't delete) both TextMate 1 bundle folders you will be fine.
>
> AFAIK the 'official' way to get the newest version is to download the original alpha from the blog post and let it update.
>
> --
> Brandon Fryslie
> http://www.MateWiki.com - A TextMate 2 Wiki
>
> On Monday, March 12, 2012 at 1:30 PM, Lewy wrote:
>
>> <snip>
>>
>> I would like two thing:
>> 1. Where do I get the current download of TM2; and
>> 2. What do I delete?
>>
>> <snip>
Hi Allan,
maybe you can squeeze in the little fix soon, that the "wrap column" setting is sticky across launches.
I usually set it to "80" but at every launch it is back to "Use Window Frame".
Other than this, TM2 works flawlessly for me.
Thanks for your hard work,
Thomas
I'm trying to port and update some of my TM1 bundles to TM2. I've run
into trouble trying to assign commands to the ^{ and ^}
(control+curly_brace) keys. When I use "Select Bundle Item..." and
search by key equivalent, my commands are shown bound to ^{ and ^}.
Pressing those keys in a document does nothing, though.
My commands run when I assign them to different keys (such as ^+ or ^")
so I'm pretty sure they work and that the scoping is right. It's just
the ctrl+brace keys that are a problem. As far as I can tell I don't
have any add-ons that globally remap these keys, and they do work in
TM1. Does anyone else see this, and is there anything I can do to use
those keys?
This is on a standard USA MacBook Pro.
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>
At 2:32 PM +0700 3/12/12, Allan Odgaard wrote:
>Right, the layout view used for the various splits (of which the HTML output is one) is presently not constrained; ideally I want to use Lion's new constraint-based layout system instead of writing my own code for this, but it requires dropping10.6 compatibility, which we're slowly building up the courage to do :)
I'm still using 10.6 -- so it practical I would refer that 10.7 not be a requirement.
I get a lot of crashes now. This pretty much has to be something odd locally. Otherwise, I'd be seeing a lot of talk about it on this list. It seems like a good time to delete TM2 and reload the thing, but there is some stuff I don't want to lose. I have some local bundles (from TM1) which I think are working with TM2. They are mostly snippets.
I have built some additions to favorites folder which would be nice but not essential to preserve. Other than that, I'd like to clear all the TM2 stuff out without using one of the find-em-all trash cleaners. Someone mentioned doing that and having trouble getting TM2 back later.
I would like two thing:
1. Where do I get the current download of TM2; and
2. What do I delete?
Should I delete the just the plist first or would it be just as good and less work to reload the whole thing.
I like TM2 and don't want to give it up. And this list has been a great help to me. Thank you all.
--Lewy
when i am editing a sass file and start a new line, then indent (adding a property to a selector, for example) the indent won't stick. the cursor just gets bumped back to line up with the previous line's indentation. is this an issue with my bundle, or some other known issue?
thanks
Hi,
I've had this problem where the plist disappears and it's really
frustrating.
After a fresh install, Textmate starts just fine, but if I close it and try
to open it again later, the plist is completely missing.
I used the troubleshooting technique on the bottom of this page:
http://wiki.macromates.com/Troubleshooting/101
To get this result:
Mac-Pro:~ myuser$ /Applications/TextMate.app/Contents/MacOS/TextMate
2012-03-12 10:21:02.633 TextMate[22543:407] No Info.plist file in
application bundle or no NSPrincipalClass in the Info.plist file, exiting
I'm running Lion 10.7.3.
What is happening here?
--
View this message in context: http://old.nabble.com/Textmate-won%27t-start.-Tried-fresh-Lion-Install-tp33…
Sent from the textmate users mailing list archive at Nabble.com.
The more I use TextMate 2, the more I wish I was better at text navigation. I'm quite good at tapping the arrow keys quickly while holding various modifiers, but here are some things I really wish I could do:
(If there's a way to do these already, great!, and I'm sorry for spamming. But if not, consider these feature requests for consideration.)
- When I have a range selected, I'd like a way to create two carets: one at the beginning of the selected range and one at the end. (A more keyboard-centric way of managing multiple carets in general would be great, too, but I think this would be a good start.)
- I'd like a more definitive way to select the next-higher code block, tag, etc.; ctrl-opt-B and shift-cmd-B are useful in some cases but the latter is limited in use and sometimes the former just selects the whole document because of the way things are scoped.
- With multiple selections or a selected range, pressing the up arrow key will put a single caret one line above the first selection/caret, and pressing down goes one line below the last one or the end. It would be nice to have a way to move up from the last line or down from the first line. (Perhaps a modifier to choose beginning/end and then the arrow key can dictate only which direction to move).
Thanks!
(Sorry if this is the wrong place for this: http://wiki.macromates.com/Main/BugReporting says to try the ticket system first, but the ticket system is not accepting new tickets. I guess that's a separate bug report.)
Since the first public 2.0 alpha, still in build 9090 at least:
In PHP mode, ^H brings up what I think is called the HTML Output pane in the lower third of the document window to show php.net documentation.
When this pane is visible, the rightmost segment of the main document status bar (now pushed above the pane) can be dragged up and down to resize the pane.
But it can be dragged down past the bottom edge of the window and "lost" such that the status bar is gone until the window is reopened.
Proposed bugfix:
- The HTML Output resize handle (the rightmost segment in the status bar) should not be draggable outside of the window boundary.
Proposed interface improvements:
- If the HTML Output resize handle is dragged to the bottom, the app should consider HTML Output "hidden" such that future invocations should show the HTML Output pane at its default size.
Currently, if you drag the handle down to make the HTML Output effectively 0 pixels high, the app still considers it open, so the next invocation of e.g. ^H will update the HTML Output window in its (hidden) place and appear to the user to do nothing.
- (Bundle-specific?) Repeating the same command (in the PHP case, ^H) that brings the HTML pane up should also hide it if it's already displayed (effectively invoking View -> Toggle HTML Output).
Thanks.
-Marco Arment
I am having no joy in getting this to work in my .tm_properties file.
[ *.{rb,erb,haml,js,html} ]
scopeAttributes = 'attr.save-on-deactivate'
Has anyone else got it to work? Any help would be appreciated.
Thanks,
Ed
Changing scopeAttributes in a .tm_properties file i.e. adding
[ *.tex ]
scopeAttributes = 'attr.save-on-deactivate'
does not update scope attributes in open files. Only .tex files opened
after the .tm_properties change will carry the new scope attribute. Not
sure if this is a bug or not, but it is worth noting as it does confuse
matters when trying test attribute-specific commands :-).
Cheers,
David.
When I open a file from PeepOpen or the command line that's inside a project,
it opens inside the project's window. But if I close the project drawer,
files open into new windows. I don't think hiding the drawer should change
that behavior.
--
View this message in context: http://old.nabble.com/Files-opening-in-new-window-tp33454169p33454169.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I haven't used TM2 too much. In TM1 I usually adjust the themes a little to my preferred level of contrast and do so by duplicating the theme and adding a prefix so I don't lose the original values. I was trying to adjust one of the themes in TM2 and found where they were located. It wasn't working as I thought it would. In the bundle editor I must have changed something. Now the theme just says ":false" and no matter what I do, I cannot fix it. I have even deleted the theme and replaced with the theme file from my desktop computer, restarted, etc. The theme is broken no matter what I try.
Any idea how to fix this? Also, where do the other themes go when they are installed via the preferences.
Thanks
jon
I've noticed, from working in the Ruby on Rails syntax, that certain file-types convert the tab key silently to spaces at whatever space-to-tab preference is currently set. YAML for example. I was just trying out some Python for the first time in forever, and noticed that it was using tabs instead of spaces, even though the surrounding document was entirely indented in spaces.
Is this something that is adjustable? Where would I look? I looked in the language definition in the YAML bundle, but nothing jumped out at me.
Thanks in advance,
Walter
When use a dark theme, the file drawer's background is white, how about let file drawer use the same theme as the editor area does.
Just a suggestion.
Yuan Jiang
http://blog.vetcafe.nethttp://twitter.com/sleetdrop
how to let textmate2 support different line endings in same project.
Most of my files are unix line ending, but some external libs dos line ending, I don't want to convert them.
Yuan Jiang
http://blog.vetcafe.nethttp://twitter.com/sleetdrop
In TM2, embedded ruby lines are sometimes being outdented as I type. Here's
an example:
= form_for(@consumer_enrollment, url: [@workflow], method: :put, html: {
class: 'uniform' }) do |f|
= f.fields_for(:consumer_prior_authorizations) do |prior_auth_form|
When typing the second line, hitting backspace at any point or typing the
first colon causes the line to outdent to the level of the first line. I
can't see any change in the scope, and it doesn't do this in TM1, so I don't
know what the issue is. Any ideas?
--
View this message in context: http://old.nabble.com/haml-embedded-ruby-outdenting-tp33409296p33409296.html
Sent from the textmate users mailing list archive at Nabble.com.
I getting about one TM2 crash a day.
Was wondering if the plugins I have installed for TM1 could be related -- or does TM2 have another path for it's plugins?
$ ls -l ~/Library/Application\ Support/TextMate/PlugIns/
total 0
drwxr-xr-x 3 stephen staff 102 Aug 27 2010 AckMate.tmplugin
drwxr-xr-x 3 stephen staff 102 Nov 28 2010 MissingDrawer.tmplugin
drwxr-xr-x 3 stephen staff 102 Nov 13 2007 TMTools.tmplugin
Also, when I get a crash the built-in OS crash-reporter comes up to send the report to Apple.
Are these crash reports useful for TM2 development and if so how can I submit them.
I DO have "Submit crash reports to MacroMates check ON. Does this mean the reports I submit to Apple get forwarded on to
MacroMates?
Hi,
TM2 indentation behavior seems erratic (one key I hit out of ten is
dedicated to revert the last automatic indentation action) so I
disabled from the C bundle "Indentation Rules" and "Indentation Rules
(Comments)" in the bundle editor - I'm editing ANSI C files.
However, TM2 keeps changing the indentation in some random way (from
my perspective, while TM1 was mostly right). Is some special action
required to tell TM2 to stop altering the indentation till it gets
fixed?
As a more generic question, is there a way to tell TM2 "cancel the
last automatic indentation and do not repeat it on the next key hit"?
I really do prefer to lose automatic indentation rather than fighting
the indentation engine with every single edited line.
Thanks,
Manu
Hello,
I am trying to set TM2 to by default, show hidden files, and black list everything that I don't want, instead of whitelisting things like .gitignore,.htaccess, etc
I was wondering if anyone has succesfully gotten something like this to work:
include = "{*,.*}"
exclude = ".git"
This still shows the .git folder in the file browser
-Byron