Allan Odgaard wrote:
> I forgot that in Preferences ? Projects there is a setting for ?include files matching?? which is _added_ to whatever include patterns you set.
This is not what one would expect! Should I write a ticket?
>
> In retrospect that sort of undermines the concept a little.
>
> You can do two things, either:
>
> 1. Set includePattern instead of includeFilesInBrowser ? that?ll then override the global pattern.
> 2. Set excludeFilesInBrowser and set it to !*.{bib,tex} ? that?ll match all non-bib/tex files and mark them for being excluded (hidden) before the latter include pattern marks them for inclusion.
That works great. Thanks!
Christian
Allan Odgaard wrote:
> On Feb 18, 2013, at 3:38 PM, Christian Jacobs <JCD.Jacobs(a)t-online.de> wrote:
>
>> [?] to see only *.bib and *.tex files.
>> It used to work. Now all files are ignored. includeFilesInBrowser seems to be ignored.
>
> Simply remove your ?excludeFilesInBrowser? setting (which exclude everything).
>
> Generally if files are not explicitly included, they are not shown. If they are included but _also_ excluded, they are not shown.
Then my ?includeFilesInBrowser? seems to be ignored. (includeFilesInBrowser = "{thesis.bib,*.tex}")
I see all files in the directory. Not the dot files except my .™_properties.
Christian
Allan Odgaard wrote:
> On Feb 18, 2013, at 3:31 PM, Christian Jacobs <JCD.Jacobs(a)t-online.de> wrote:
>
>> I am using TextMate version 2.0.0-alpha.9377 and the "spellingLanguage" settings in my .tm_properties files are ignored.
>
> Try delete ~/Library/Application Support/TextMate/Global.tmProperties
>
> Or alternatively remove every line from that file which sets the spelling language.
>
> The issue is likely that settings (from .tm_properties) with a scope (e.g. ?[ text.plain ]?) have higher priority than non-scoped settings _even when in a more local file_ ? previous versions of TM would record your spelling language choice based on scope, so you?d get ?bad? setting recorded in this global properties file.
Thank you. This worked well.
Christian
What are the best practices for managing bundles and preferences when running
TextMate 1.5 and 2 together?
Where should bundles used by both version go?
Bundles specific to one or the other?
Preferences?
Other watch-outs?
Bob
--
View this message in context: http://textmate.1073791.n5.nabble.com/Best-Practices-Running-TextMate-v1-5-…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I am using TextMate version 2.0.0-alpha.9377. I used to write:
excludeFilesInBrowser = "*"
includeFilesInBrowser = "{*.bib,*.tex}"
in my .tm_properties files for latex projects to see only *.bib and *.tex files.
It used to work. Now all files are ignored. includeFilesInBrowser seems to be ignored.
What has changed?
Christian
Hi,
I am using TextMate version 2.0.0-alpha.9377 and the "spellingLanguage" settings in my .tm_properties files are ignored.
My system language is german. Although I wrote "spellingLanguage = 'en'" in the .tm_properties file, the files in the same folder are checked in german. This worked in the past. Other settings still work.
Christian
Dear all,
I have suddenly experienced wholesale failure of commands in recent builds
of TextMate 2. I initially thought it was a bug in a nightly build, so I
switched to normal releases and downgraded, but the latest normal release
is also showing the problem. I believe I first saw it with r9367, but I
can't be sure.
As far as I can tell, no menu actions (at least) are working. For example,
in a LaTeX document, both pressing ⌘R or selecting "Typeset and View" from
the menu does nothing. It's not just the LaTeX bundle either: selecting
"View Scope" from the Bundle Development bundle also does nothing. My
snippets seem OK though.
I don't really know where to start with figuring this out, so some help
would be appreciated!
All the best,
Jon
With r9377 (or was it r9375?), I lost incremental search on OS 10.7.
It works on 10.8. But when I press crl+S in a textmate file running on
10.7.5, it freezes that document. This remains true on r9381.
Anyone else experiencing this behavior?
-Kyle
I have both git and subversion configured to use TextMate for editing
commit messages. (mate -w -l 1).
In build 9379
, after I run git commit or svn commit, edit a message, and close the
file, the command line is still waiting. I must quit the Textmate
application in order for the command line operation to continue.
I'm writing some Java code, and whenever I try and run it, I get the error
attached. This persists despite refreshing the Textmate bundles and doing
full un/reinstalls. This is a new development - it had previously run code
just fine, so I'm not certain what has changed.
Mountain Lion, MBP 15" Retina
The dark on dark is to... well... dark for my tired little eyes. I keep
putting Textmate out of focus so I can read them without squinting and
leaning in towards the screen.
Is there somewhere I can adjust them to something lighter? Maybe even just
switch the colours for focus and not in focus?
--
View this message in context: http://textmate.1073791.n5.nabble.com/Adjust-tab-bar-tab-colours-tp26233.ht…
Sent from the textmate users mailing list archive at Nabble.com.
I get the following dialog when I try to run git commands from the editor
and yet git is installed in /usr/bin. Any idea on how to solve this?
[image: Inline images 1]
Hi Allan,
I spoke too soon. In the process of trying to install my personal bundle I somehow managed to corrupt it in both TM 1 and TM 2. Oddly, the desired macro now works as it should, but many other commands, snippets, and macros have disappeared. I tried copying over a clean copy from a backup but the problem persists. I must be doing something very wrong.
Any help will be gratefully appreciated.
Jenny
>>
>> [?] Here it is:
>>
>> \\( $0$TM_SELECTED_TEXT \\)
>>
>> Scope Selector: text.tex.latex
>>
>> Key equivalent: $
>>
>> In TM 1, the $ key outputs \( $0$TM_SELECTED_TEXT \). The curser is inside the math formula brackets \( \). It stays inside, regardless of what I write, until I type $ again. Then the cursor moves outside. That is just what I want it to do.
>
> The ?step two? of having ?$? inside the math brackets jump outside is likely done by a macro bound to ?$? and scoped to ?string.other.math.latex? because the snippet alone would not be able to do two different things depending on context.
>
> You can however change it to something like:
>
> \\( ${1:$TM_SELECTED_TEXT} \\)
>
> This will allow you to use tab to ?jump out?. Additionally it will keep the selected text selected (don?t know if you would consider that a feature or not).
>
> You can also improve the scope selector to: text.tex.latex - string.other.math
>
> That way its key equivalent will not fire when already inside a math string (you can also try this scope selector change alone, at least then you won?t get the snippet inserted again).
>
>> If I erase the snippet, then in both TM 1 and TM 2, the same thing happens. Inputting $ the first time yields $ $0$TM_SELECTED_TEXT $. The second time, the cursor moves outside. This would be fine, except that many of us have moved away from using $ signs to set off equations in Latex.
>
> It does sound like you have a custom ?jump out? function bound to ?$?. You can use Bundles ? Select Bundle Item? then switch to ?All Scopes? and ?Key Equivalent?. Now press ?$? to see a list of everything bound to that key. Although it?s really 1.x where you want to perform this search (which doesn?t have the ?All Scopes? option, but you can open up the window while the caret is inside math brackets, and it should search that scope).
Thanks for the helpful tips. This information helped me sort out the problem. When I exported my personal bundle to TM 2 last year, some of the macros must not have carried over. I tried to reinstall and ran into the "delta version" problem. I found instructions from you about how to fix this and now everything works as it should.
I am now officially moving over to TM 2!
Jenny
Hi,
I am using TextMate version 2.0.0 alpha 9359 and Python on OS X 10.8.2 with python bundle installed and updated 4 weeks ago. I can successfully run the script with Cmd-R (TM_PYTHON correctly set up). However, I would love to use Python interactively, sending lines independently to a known (and possibly started via Textmate) session of python on Terminal. What I am doing at the time is copying-and-pasting the commands from TextMate and python (picture). I have tried the build in command ctrl-sft-E (see picture), but it does not work.
I am not familiar with the scripts in TextMate and I am sure that somebody has working scripts to start a session of python on Terminal and be able to interactively send commands from the editor to it? Many thanks in advance for any help.
Best regards,
Ivan
Greetings,
it seem that my TM_PYTHON variable is being ignored.
I have it set to
/Library/Frameworks/Python.framework/Versions/Current/bin/python
which executes like so:
============
()[maye@alpha1 ~]$
/Library/Frameworks/Python.framework/Versions/Current/bin/python
Enthought Python Distribution -- www.enthought.com
Version: 7.3-2 (32-bit)
Python 2.7.3 |EPD 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "credits", "demo" or "enthought" for more information.
>>>
============
and then I wrote this little test script:
======
#!/usr/bin/env python
import sys
print sys.version
======
which, when executed via Cmd-R, returns:
====
2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]
====
I also cross-checked what happens when I use env in the Terminal:
=====
()[maye@alpha1 ~]$ env python -c "import sys;print sys.version"
2.7.3 |EPD 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34)
[GCC 4.0.1 (Apple Inc. build 5493)]
()[maye@alpha1 ~]$
====
So, it works in the Terminal fine, what do I have to do so that
Textmate's Cmd-R picks up the right interpreter, WITHOUT changing the
shebang (because the env-shebang is so common for online sources, it
would be a major pain to always have to remove or change it) ?
Best regards,
Michael
PS.: Running TM2 9373 on Mac OSX 10.8.2
Hi Allan,
It is truly wonderful to see so much activity again! I see so many improvements and am optimistic TM 2 will soon set the stage once again.
Here is my problem: I have continued to use TM 1, primarily the Latex bundle, because of one old snippet which does not work as it should in TM 2. I use it many times a day and would not like to give it up.
Here it is:
\\( $0$TM_SELECTED_TEXT \\)
Scope Selector: text.tex.latex
Key equivalent: $
In TM 1, the $ key outputs \( $0$TM_SELECTED_TEXT \). The curser is inside the math formula brackets \( \). It stays inside, regardless of what I write, until I type $ again. Then the cursor moves outside. That is just what I want it to do.
In TM 2, the $ key outputs \( $0$TM_SELECTED_TEXT \). The curser is inside the math formula brackets \( \). It stays inside, regardless of what I write, until I type $ again. Then I see \( \($0$TM_SELECTED_TEXT \) \) and the cursor is still inside. Not good!
If I erase the snippet, then in both TM 1 and TM 2, the same thing happens. Inputting $ the first time yields $ $0$TM_SELECTED_TEXT $. The second time, the cursor moves outside. This would be fine, except that many of us have moved away from using $ signs to set off equations in Latex.
Best regards,
Jenny
This topic resurges periodically. Allan (the main developer of TextMate) has stated the projects feature has not been implemented in TextMate 2 on purpose in favor of a completely filesystem-based approach. From his comments, it is clear that putting projects back into TextMate 2 is, if it is on his todo list at all, on the very bottom. After all, TextMate 2 is still an alpha, and there are other things that need to be fixed first. So I wouldn't hold my breath and wait for projects to return any time soon. Perhaps they'll be back in TextMate 3, who knows ;-)
Even though TextMate 2 is open source now, no one has volunteered (yet?) to add projects support. Right now, your best chance is to adapt your workflow or to continue using TextMate 1.5.
If you search this mailing list, you'll notice that I'm in the same boat as you, to me projects was what made TextMate 1 so appealing to me. There are a few things I've done to adapt:
(1) I've given up on symlinks, I open several editor windows instead.
The reason is that while symlinks work for single files, they don't work well for folders: if you create a symlink to another folder, you will not have a small triangle next to it which you can use to expand it. Double-clicking it works fine, but navigation is more cumbersome and there is a difference in how to work with symlinked and non-symlinked folders. Allen has explained why it is not easy to make this work properly (you have to account for all sorts of eventualities), and I don't think fixing this is very high on his list of priorities. If it is fixed at some point, perhaps I'll revisit it.
What I've done instead, I keep open the linked folder in a separate editor window. Definitely less elegant, but it works.
(2) Use good .tm_properties presets
The .tm_properties file allows you to set presets for a specific folder. There is one »master« .tm_properties file and it is worth spending a little time to customize it. However, I rarely edit the .tm_properties file of a specific folder (e. g. to hide certain auxiliary files). I often resort to the Terminal to open files instead of using the file browser.
.tm_properties is definitely more powerful than project presets in some respects, and perhaps if bundles make use if it (by editing the file or something), it could replace some of the functionality of projects.
(3) Use »mate .« to open folders.
Instead of »open project.tmproj«, I now type »mate .« to open a folder after navigating to it. I use git from the Terminal anyway, so I have become accustomed to opening folders like that. I keep several Terminal tabs open, one for each location in the filesystem I need (e. g. auxiliary files or documentation).
If you have more specific needs, just let us know. Perhaps there is a work-around.
Hope that helps.
Max
On 07.02.2013, at 21:00, textmate-request(a)lists.macromates.com wrote:
>> (1) I've given up on symlinks, I open several editor windows instead.
>
> Have you considered using symlinks the other way round? I.e having a folder containing all the files you want in your "project" which would be opened in Textmate, and then setup symlinks to point back to it from other locations on the disk.
>
> In theory this would provide many benefits (i.e. grouping all the files in one place, allowing for one version control repo for them all, one .tm_properties file, etc...).
In my case I want to point to files which I want to re-use and those files are kept in a separate git repository. And in some cases, it's just to keep »read-only« files handy (e. g. papers, documentation, old files which I use to take snippets from).
Unfortunately, the new features of TextMate 2 haven't really made an impact in my daily routines. Perhaps I'm just being ignorant, after all I didn't get the real power of TextMate 1 either until I watched the screen casts.
So how have you adjusted your workflow?
Max
I'm new to the TextMate community, starting in with TextMate 2 when it was
released as a public alpha. I don't own TextMate 1.5.
What are the key features, from the users viewpoint, added to TextMate in
version 2 (besides opening the source)?
Bob
--
View this message in context: http://textmate.1073791.n5.nabble.com/TextMate-2-features-not-in-TextMate-1…
Sent from the textmate users mailing list archive at Nabble.com.
So I'm a bit late to the TextMate wonderfulness.. I've been using the
30-day trial version for the last week, and got it pretty customized to
my liking. Project+, MissingDrawer, SVNMate, bundles, a few custom
Templates for my C++ projects, etc. Loving it.
Today I went out and got the latest TextMate2 compile from about 2 days
ago, I believe, and wow. That's a huge step backward IMO. No
"Projects" that I can see, just look at a Directory (which doesn't work
for me, my Directory Structure != Project structure). No support for
Templates either, it seems, which I just recently figured out and
_really_ love (great to just pull in a template of my base C++ class and
"fillin the blanks"). Plus lots of things I customized don't see to be
there anymore, or are buried in the new "tm_properties" file.
Basically, I'm trying to figure out what to do next. I was getting
ready to buy TextMate1, but if this is what TextMate2 is going to look
like maybe I should evaluate some other tools. Is TM1 still "alive"?
Or are users urged to start using TM2? Am I just really missing
something in TextMate2? I'm a C/C++ developer that also uses Arduino,
CMake, Python, and other stuff, so things like CTags, project-specific
environment variables, and true "Projects" are important to me.
--
Randall Hand
http://www.yeraze.com
Since updating this morning to r9361, I've had its CPU use spiking up into
the 180% range continually. It seems to be looking for regexp searches on
path names.
The source I am editing is shared across the network via SMB from a compute
cluster. I noted the release note item this morning about network share
code being touched.
Happy to send an Activity Monitor sample, etc, etc.
Is there a setting or preference I've missed that would allow symlinks shown
in the File Browser to act like a "normal" folder? That is, to have a
disclosure triangle button and unfold to expose its content?
Bob
--
View this message in context: http://textmate.1073791.n5.nabble.com/Symlinks-as-Expandable-Directories-tp…
Sent from the textmate users mailing list archive at Nabble.com.
If this is a duplicate message please excuse me.
In TM2{9359} I often open projects by dragging a folder into TM2. This puts
the folder and subordinate files into the file browser (sidebar), from
which I can open files for editing.
Recently the file browser shows only folders. It shows no files with a
single exception. If there is an ".htaccess" file, that file shows in the
sidebar. To open a file for editing, I have to open it one file at a time.
I can't open any files from the file browser because they don't show.
I can open files by dragging in one at a time or using open on a single
file.This started about the time the browser-on-the-right change happened.
I can switch the sidebar from left to right and back with no problem.
I tried downloading 9359 again. Same results. I tried some earlier versions
and got told "corrupted dowload".
I could sure use some help.
Lewy
Hi,
When I pull a git repository, Textmate update automatically the
corresponding opened files (which is cool) but it does it silently.
Is there a way to get notified when a opened file is updated?
I found this old ticket about the same issue :
http://ticket.macromates.com/show?ticket_id=FFEB806B
Is it already implemented or still planned?
Thank you.
I'm sure this has been extensively discussed, and there's probably a place
for entering and commenting on feature requests, but I can't find it and
Google didn't help me. So...
I'd like to be able to style the File Browser area so as to match the color
theme in use.
It could be as simple as a light vs. dark mode preference. Or a dialog box
in preferences to pick the color of the background and the text. Or even as
elaborate as giving text color themes access to File Browser color
variables.
And, yes, this is a visual enhancement rather than a "feature," but this is
a Mac program, after all, and style does count. :)
Bob
--
View this message in context: http://textmate.1073791.n5.nabble.com/Feature-Request-Styling-the-File-Brow…
Sent from the textmate users mailing list archive at Nabble.com.
I've set up my Avian and TextMate folders in Application Support as symlinks
to those folders on my Dropbox account. That seems to be working.
But is it safe? Can that setup handle TextMate 2 open on my Mac Pro and
MacBook Pro at the same time?
--
View this message in context: http://textmate.1073791.n5.nabble.com/Sync-TextMate-2-Prefs-via-Dropbox-tp2…
Sent from the textmate users mailing list archive at Nabble.com.
Just asking for a file to print crashes TextMate 2 (9359) so thoroughly that
its session folder has to be deleted before it will restart.
Has anyone else seen this or is it a problem with my machine?
--
View this message in context: http://textmate.1073791.n5.nabble.com/TextMate-2-9359-Crashes-on-Print-tp26…
Sent from the textmate users mailing list archive at Nabble.com.
In the file browser different file types have different icons. My .scss files
have their own icons, as do my .php files, for example.
But my .less files have a generic icon.
Where are those icons defined? How do I go about adding an icon for my .less
files?
Bob
--
View this message in context: http://textmate.1073791.n5.nabble.com/File-Icons-in-File-Browser-tp26135.ht…
Sent from the textmate users mailing list archive at Nabble.com.
I know it is works in progress, but how about moving tabs right of file browser 1st (something that many ppl have requested so far)?
I really find new bar and tabs above awkward, also against HIG since switching tab has absolutely no impact on file browser:
Btw it doesn't look like on: https://github.com/textmate/textmate/wiki/Main-Window The bar is much darker and higher in the build.
How about making the bar same size as tabs bar too:
Cheers,
--
Adam
OK, tested and this can be reproduced. If a bundle is disabled (in TM2), then
deleted from inside the bundle editor (cmd delete) it no longer shows up in
the lists anywhere (that I can find) to re-enable it even after it's
reinstalled.
So, how to get it back?
--
View this message in context: http://textmate.1073791.n5.nabble.com/Deleted-CSS-Bundle-Can-t-get-it-back-…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
After downloading (and re-downloading -- http://wiki.macromates.com/Troubleshooting/FailsToLaunchAfterUpdate) the current binary from Github (r9351), TextMate is failing to launch on OS X 10.8.2. I get the Cancel/Move to Trash dialogue window.
Has anyone else experience this issue?
Regards,
Adam
I was prompted to update TextMate from 9351 to 9353, but I got an error:
> Failed: Currupt archive.
Not sure if it's happening to other people. When I try again, it seems it
doesn't actually re-download the file (maybe just my download is corrupt),
but I couldn't find where TextMate stores those downloads to delete my
copy. Does anyone know where they're stored, so I can try again?
Thanks
At some point recently, TextMate stopped opening files passed to it from my
FTP client. The client downloads the file, then hangs and stops responding.
TextMate will launch (or become active if already launched) but no file
opens.
While the FTP client is Cyberduck, I've confirmed the issue happens in
Transmit as well. Issue does not affect other editors such as TextEdit or
TextWrangler.
Removing TextMate's preferences, caches, or ~/Application Support/TextMate
do no good. In an alternate user account, no issue at all.
TextMate is version 1.5.11, OS is 10.8.2.
I'm hoping someone's run into a similar issue. It's just a matter of time
before I start gutting ~/Library, and I'd like to avoid that.
--
View this message in context: http://textmate.1073791.n5.nabble.com/TextMate-no-longer-accepts-files-from…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
the recent updates (I'm on the nightly builds track) keep being
registered as different apps in whereever MacOSX tracks if an app can
deal with a certain kind of file.
So, when I do right-click->Open With, there are 4 entries for TextMate now.
How can I clean this up?
Thx,
Michael
Hi all,
in https://github.com/textmate/textmate/issues/699 it is currently discussed
whether or not the file browser should default to left or right position.
I appreciate that the position can easily be changed via preferences, so I
don't care too much for the preset default position -- but I would like to
point out one factor that led me to changing it back to 'left' after short
testing time.
It is argued that, with the file browser on the right hand side, the left
border of the text view will not move when the file browser is shown or
hidden (which I fully understand). However, when switching to full screen
mode, the text view will be stuck at the leftmost corner of the screen. With
a large widescreen display, I personally prefer to have the text editor (at
least approximately) centered on the screen, and with the file browser to
left, one could easily use the file browser width to achieve centering of
the main text view in full screen mode. So far, I have not found an option
to get the text away from the left border of the screen if the file browser
is on the right hand side.
Maybe I'm missing something, so please tell me should such an option exist.
I may well give the new default setting another try when it is actually
possible to have the text view centered on the screen also in full screen
mode.
Thanks,
dAlembert
--
View this message in context: http://textmate.1073791.n5.nabble.com/Comment-on-Issue-699-File-Browser-def…
Sent from the textmate users mailing list archive at Nabble.com.
I just did a git commit and it failed with some permission error, but the error was displayed in a narrow sheet that extended off the bottom of the window and screen so there was no obvious way to dismiss it and that project was effectively locked. Other projects open at the same time still seemed to work. It had me scratching my head for a while but the solution was to hit return . It would have been better if the sheet was wider, but in any case having a scrollable text area with a button might be a better interface.
Dave.
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
Greetings,
I installed the Standard ML bundle to support an on-line class. I am able to use the RUN command within the environment. However, when I attempt the BUILD command the following error is displayed: No such folder: /base/system. Configuration is:
OS: OS X 10.8.2
Textmate: /HDD/Applications
SML Bundle: ~/Library/Application\ Support/TextMate
SML: /HDD/usr/Local/smlnj-110.75
Screenshot from the Bundle Editor
Thanks in advance for any help!
--john simpson
John Simpson
Cell: 925.577.4831
Land: 925.705.7493
www.linkedin.com/in/jsimp42
Skype: je.simpson
AIM: jsimp42
je.simpson(a)me.com
je.simpson(a)comcast.net
On Thu, Jan 17, 2013 at 5:00 AM, <textmate-request(a)lists.macromates.com>wrote:
> From: Allan Odgaard <mailinglist(a)textmate.org>
>
> > I've got a shell script that I tried to make a little more readable with
> ANSI color. It works when I run it from the command line, but when I have
> it open in TM2 (and 1) and press Cmd-R, the script executes but I get no
> color.
>
> Escape codes for colors is a “terminal” feature, meaning that only scripts
> running in a terminal should use such escape codes. TextMate does not offer
> a terminal environment when running scripts.
>
> Ah, that makes perfect sense. Thanks. I guess I got stuck on thinking
that since STDERR comes out as red (in TM), then it must be possible to do
other colors.
Dear all,
the Matlab bundle does not correctly deal with the ' character as a
mathematical operation.
I have this line in a matlab file:
time = (-L_TEMPLATE/2+1/2:L_TEMPLATE/2-1/2)'; % time vector [samples]
and everything after this line is marked as being a string, because '
is recognized as string-open, I guess?
Does anybody know how to make this work better?
Thx,
Michael
I've got a shell script that I tried to make a little more readable with
ANSI color. It works when I run it from the command line, but when I have
it open in TM2 (and 1) and press Cmd-R, the script executes but I get no
color.
For simplicity, I tried it with a very simple script:
#!/bin/bash
printf "\e[31mhello\e[m\n"
In Terminal, I get a red "hello". In TM, I get
[31mhello[m
Seems like some kind of escaping thing going on; can anyone point me in the
right direction? I've tried a number of variations, including using print
and echo (with -e and w/o), but I get essentially the same results.
Thanks,
+dru
Does any one know how to disable the display of <CR> in a grey box when opening a file with different line endings. I don't want to resave the file with 'correct' line endings.
Maybe it should be tied into Show Invisibles menu command?
Thanks,
Dave.
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
I wrote a very simple bundle to run Python, PHP, Ruby, Bash scripts in Terminal.app without stealing focus from the TextMate window. I.e. you press Cmd + Shift + R, Terminal gets updated in background and you can keep writing code in TextMate.
More information and download:
https://github.com/Cyberic/Run-in-Terminal-Bundle
It's very easy to add support for more languages.
Hope someone will find it useful.
Eugene / Dae
I'm working on a Ruby script in TextMate 2 and all of a sudden I'm seeing the end of my files disappear and inserted midline is ">>>>>>> External Changes" and from there on everything is deleted. The only thing that I've knowingly changed is I've started to use Bookmarks. Therefore Cmd-F2 and shift-F2.
Any ideas?
Greg