Hi,
the following C++ code is indented as I expect:
std::cerr
<< "a=" << a
<< ", b=" << b
<< ", c=" << c
<< std::endl;
Asking TM2, I get it indented as:
std::cerr
<< "a=" << a
<< ", b=" << b
<< ", c=" << c
<< std::endl;
Christopher
I've looked all over TM2, but I can't find a way to save a macro once
I've recorded it. Am I missing it, or is it not yet implemented? (BTW,
searching for the word "macro" in a mailing list from "macro"mates.com
is... unproductive. :-)
And how about proxy commands in bundles? I realize they're in a
preliminary state now, but is there a list of available actions? Are
proxies intended to be the evolution of macros?
What prompted these questions was a search for a way to reassign the
column-select keystroke. In TM1 I could define a macro to map it to
something sane, like ^B. Is there a way (yet) to do something similar
in TM2?
On a stylistic note, I really would like "Change to Column Selection" to
be put back into the Edit menu. It's not obvious (at least, not to
me...) that tapping ALT is the way to do it, and it's not the kind of
thing you can figure out by experimentation. I looked all over for how
to make a column selection in TM2 and finally found it in a blog post.
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>
TM1 allowed the wrap column indicator to be visible when soft wrap was disabled. I find this extremely useful, but it is not possible in TM2 - the wrap column indicator disappears when soft-wrap is disabled.
Are there any plans to re-enable this in TM2? It sounds small and silly but it's pretty much the one thing stopping me from using TM2 full time.
> textmate2 wiki with ads?
> no thanks :)
No problem. :)
> Why do we need matewiki.com (http://matewiki.com) when there is already wiki.macromates.com (http://wiki.macromates.com)?
I posted the first 5 reasons that came to mind an email or two back:
> I want EVERYONE to have access to it, not just me which will lead to a broader and more updated resource. The
> macromates CSS theme is way too thin for my screen. I'm a control freak and want to be able to use it as a personal
> resource for TextMate bundle development. I'm going to put ads on it in an attempt to support my wild and not-yet-
> profitable personal projects. I'd rather figure ___ out myself then get access to someone else's ___.
BTW, yes I know everyone hates ads but I can either get a job and not work on TextMate & other personal projects or try to get my hustle on and do what I care about. I'll set up a donate link soon since people are so vocally against ads. ;)
PS If you are logged in to the Wiki the ad disappears. Registration is obviously free and simple. Happy? :)
--
Brandon Fryslie
Dear all,
I'm just playing with the latex bundle and TM2. Every time I do anything
like edit text or save TM2 freezes and takes up one core on my machine. I
this due to 'attr.save-on-deactivate' ?
my .tm_properties file looks as follows:
#######
PATH =
"/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/usr/bin/local:/Library/Frameworks/GTK+.framework/Resources/bin"
[ *.{R, c, cpp, m, pl, rb, html, xml}]
scopeAttributes = 'attr.save-on-deactivate'
######
Also quick 2nd question how do I get the compiled pdf to appear in a
separate window like TM1 instead of at the bottom of the window?
Cheers,
Paul
Hi All,
I think the tabulation settings were preserved across TM2 sessions,
but they are actually not on my MBP.
What are the rules about the tabulation settings? Is there some
specific action(s) to do so that soft tabs are always on?
Thanks,
Emmanuel.
Hi All,
I'm editing C files with TM2, and the auto indentation is often wrong,
and forces the cursor to move to an unexpected position when I start
writing a new line.
I'm looking for information/guide to:
* disable the whole auto-indentation feature
* configure the auto-indentation feature, if it's feasible
* cancel the last auto-indentation action: Cmd-Z removes both the
indentation and the typed character. In many others editors, Cmd-Z
cancels the automatic action, then a second hit remove the last typed
char. Is there an equivalent in TM2?
Thanks,
Emmanuel.
Is there a way to prevent the tabs from changing order?
I usually setup my workspace, with specific files in the first tabs (e.g.,
spec/test on cmd-1 and code on cmd-2). It seems that every once in awhile
it changes the order. Can I get TM2 to leave the tab order alone?
I'm trying to use Textmate2 with a big php project. I have made a huge commit in the git repository and while processing the commit Textmate starts to hang bringing the cpu at 80% and memory up to 1.25GB.
Looking at the Console this is what I've found
30/01/2012 16:28:23 TextMate[24252] TextMate(24252,0xa059f540) malloc: *** mmap(size=872415232) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
30/01/2012 16:28:23 [0x0-0x1e91e9].com.macromates.TextMate.preview[24252] TextMate(24252,0xa059f540) malloc: *** mmap(size=872415232) failed (error code=12)
30/01/2012 16:28:23 [0x0-0x1e91e9].com.macromates.TextMate.preview[24252] *** error: can't allocate region
30/01/2012 16:28:23 [0x0-0x1e91e9].com.macromates.TextMate.preview[24252] *** set a breakpoint in malloc_error_break to debug
30/01/2012 16:28:23 TextMate[24252] Attempt to allocate 872415232 bytes for NS/CFData failed
30/01/2012 16:29:15 fseventsd[56] SLOWDOWN: client 0x10082ca00 (pid 24252) sleeping due to too many errors (num usleeps 23)
30/01/2012 16:31:43 fseventsd[56] SLOWDOWN: client 0x10082ca00 (pid 24252) sleeping due to too many errors (num usleeps 35)
30/01/2012 16:34:30 fseventsd[56] SLOWDOWN: client 0x10082ca00 (pid 24252) sleeping due to too many errors (num usleeps 47)
30/01/2012 16:36:35 fseventsd[56] SLOWDOWN: client 0x10082ca00 (pid 24252) sleeping due to too many errors (num usleeps 59)
I have Textmate2 Version 2.0 (9005) installed.
Patrick Polloni
Hi,
my sources live in a network file system behind some complex automount
scheme, let's say /foo/bar/workarea/user/project. Whenever I open some
directory there inside TM2, I get tons of messages like these in the
system log:
> 30.01.12 11:11:34 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .git failed
> 30.01.12 11:11:34 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .hg failed
> 30.01.12 11:11:35 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .p4config failed
> 30.01.12 11:11:35 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .svn failed
> 30.01.12 11:11:36 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .git failed
> 30.01.12 11:11:36 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .hg failed
> 30.01.12 11:11:37 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .p4config failed
> 30.01.12 11:11:37 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .svn failed
> 30.01.12 11:11:37 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .git failed
> 30.01.12 11:11:38 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .hg failed
> 30.01.12 11:11:38 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .p4config failed
> 30.01.12 11:11:39 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .svn failed
> 30.01.12 11:11:39 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .git failed
> 30.01.12 11:11:40 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .hg failed
> 30.01.12 11:11:40 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .p4config failed
> 30.01.12 11:11:40 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .svn failed
> 30.01.12 11:11:41 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .git failed
> 30.01.12 11:11:41 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .hg failed
> 30.01.12 11:11:42 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .p4config failed
> 30.01.12 11:11:42 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .svn failed
> 30.01.12 11:11:43 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .git failed
> 30.01.12 11:11:43 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .hg failed
> 30.01.12 11:11:43 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .p4config failed
> 30.01.12 11:11:44 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .svn failed
It seems that TM2 tries finding the config files all the way to the root
directory for each file or directory it sees in the directory tree. I
know TM2 development is not yet at performance tuning, I just wanted to
point out that there is a probably low-hanging fruit here.
On a related note, we are using perforce, but tend to have config files
named .perforce. Is the file name TM is looking for configurable (yet)?
Christopher