It would be nice if the Align Assignments command absorbed the smart code from the align bundle, which appears moribund (?), but which is much smarter about alignments.
https://github.com/mads379/align.tmbundle
Hi,
Dumb question for a 12-year user of Textmate (we missed the 10-yer anniversary, it seems: happy birthday TM!), but…
How is the project folder determined? Specifically, I’ve got a tab open which is in a folder marked in the filebrowser (^⌥⌘-D) as the project folder (at least ) it’s ticked in the little drop down menu (see image).
But… If I ⇧⌘-F (find in project), the Dropbox folder is selected… What determines what is set when one used command-shift-F?
In general, I’d appreciate if anyone has pointers to a decent tutorial on how to use project folders.
I have a command I'm trying to create that pastes multiple lines of code,
the problem is sequential lines are not indented properly. If my command
pastes 1, 2, 3 on newlines for example, I'll get something like this:
def foo
1
2
3
end
since I invoke my command from the proper indenting (2 spaces over), but
the following lines are not indented at all. Is there a recommended way to
fix this?
Thanks!
Are people using TextMate with Dark Mode? I see some issues with reading
text (find input text is black until unfocused, then changes to white), but
also curiously the icons in the outline view are also missing.
[image: Screen Shot 2018-10-04 at 8.04.30 PM.png]
I have a bundle command implemented in Ruby that uses TextMate.detatch. The tm/detach.rb requires ui.rb which requires plist.bundle. Loading the plist bundle crashes with a segmentation fault. The issue occurs on Mojave but not on High Sierra. I’m using "/usr/bin/env ruby20” as the Ruby for running the command. The command is available here [1].
[1] https://github.com/textmate/d.tmbundle/blob/master/Commands/Start%20DCD.tmC…
--
/Jacob Carlborg
Is there a hidden preference, modifier key, or some other way to make
“Jump to Selection” put the current line at the top of the window
instead of in the center?
Actually, one or two lines of context above the current line would be
even better. Like what `less -j4 file.txt` would do.
Thanks.
--
Rob McBroom
Hi,
I have started to use Homebrew's Perl and its CPAN to avoid having to
mess with the Macs Protection mechanism.
The CPAN libraries/modules are installed under ~/perl5 necesstitting to
run
PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
and adding this to the end of ~/.profile
eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"
which sets
PERL_MB_OPT='--install_base "/Users/el/perl5"'
PERL_MM_OPT=INSTALL_BASE=/Users/el/perl5
(in my case).
I have set TM_PERL to /usr/local/bin/perl and when I run a perl program
wit CMD-R it works, unless I use a CPAN module when I get this message
(under TextMate, but NOT from the command line):
Can't locate DBI.pm in @INC (you may need to install the DBI module)
(@INC contains: /Users/el/Library/Application
Support/TextMate/Managed/Bundles/Perl.tmbundle/Support
/usr/local/Cellar/perl/5.28.1/lib/perl5/site_perl/5.28.1/darwin-thread-multi-2level
/usr/local/Cellar/perl/5.28.1/lib/perl5/site_perl/5.28.1
/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1/darwin-thread-multi-2level
/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1
/usr/local/lib/perl5/site_perl/5.28.1) at /Users/el/Downloads/epplog.pl line 4.
BEGIN failed--compilation aborted at /Users/el/Downloads/epplog.pl line 4.
When I add this to the front of the script
BEGIN {
$WHOAMI = getpwuid($<);
$LOCALPERL5 = "/Users/$WHOAMI/perl5/lib/perl5";
push @INC, $LOCALPERL5;
} ## end BEGIN
use lib "/Users/$WHOAMI/perl5/lib/perl5";
it runs under TextMate.
If I run Tidy I get this message
Can't locate Perl/Tidy.pm in @INC (you may need to install the
Perl::Tidy module) (@INC contains:
/usr/local/Cellar/perl/5.28.1/lib/perl5/site_perl/5.28.1/darwin-thread-multi-2level
/usr/local/Cellar/perl/5.28.1/lib/perl5/site_perl/5.28.1
/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1/darwin-thread-multi-2level
/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1
/usr/local/lib/perl5/site_perl/5.28.1) at /usr/local/bin/perltidy line 2.
BEGIN failed--compilation aborted at /usr/local/bin/perltidy line 2.
which disappears if I prefix the above BEGIN/Use block into
/usr/local/bin/perltidy (which works from the command line).
I have tried to set TM_PERLTIDY to /usr/local/bin/perltidy but makes no
difference.
Does anyone have an idea what I must set to be able not have to use the
BEGIN/use block any longer (for both issues)?
greetings, el
--
Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar)
el(a)lisse.NA / * | Telephone: +264 81 124 6733 (cell)
PO Box 8421 /
Bachbrecht, Namibia ;____/