Probably all known, but just in case:
- Disabled item can no longer be selected, so it can't be re-enabled...
- If Grammar A includes Grammar B, and both bundles define a folding setting with the same scope selector, B's folding rules are picked up. I had expected that to be A's folding rules, so it is easier to overwrite a stock bundle's rules without having to modify the stock bundle itself by disabling the folding setting.
- Support files can't be edited in the bundle editor.
Gerd
Hi,
When selecting a line via triple-click, then extending the selection by shift-clicking on another line, the behavior changed.
TM1 (and other OS X apps like TextEdit) would select everything in between plus the ENTIRE clicked line.
TM2 only selects up to the clicked point.
Same for double-click selection (select word): TM1 and others select the entire word when shift-clicking, TM2 only up to the clicked point.
Should probably be changed to behave like TM1 did to be in line with expected behavior on OS X.
Gerd
Hey, it's great to see TM2 out in the wild, but I have a question: I've
always used TM's open-folder-as-project approach, and now in TM2, when I
have a folder open and I close out the last open document, it automatically
closes the project view.
Is there some way to stop this behavior? It's very frustrating.
Thanks.
--
Wells Oliver
wellsoliver(a)gmail.com
Hi,
Not sure if this is a known issue. Could not find it searching for it..
It seems to be TM2 related (as far as I know). When using (':') in JS code the colors get messed up using every theme.
See screenshot: http://i43.tinypic.com/w9wmyp.png
Pretty annoying. Any way to fix this?
Rolf
Is there a way to delete the current line like CTRL+L in Geany. (Im coming
from Geany on Ubuntu to TextMate on Mac)
---------------------------------------------------------
Thanks & Regards
Anjanesh <http://anjanesh.com> Lekshminarayanan <http://anjanesh.co.in>
Hi,
I really like the TM2 alpha. Lots of great stuff, and it has generally been pretty stable for me.
I'm having some weird behavior with saving in textmate 2. Some files I save seem to magically acquire executable permissions (i.e. the file mode gains +x on user, group and other) when I hit save. This is a little annoying (nosetests doesn't pick up files with executable permissions by default) and possibly a security hole. However, it only seems to happen to *some* files and *some* saves. I can't even seem to reproduce it regularly.
Has anyone else seen this behavior or been able to reproduce it in a given context? I'd love to at least be able to track this behavior down and understand when/why it happens.
Thanks,
Alex
You can call upon the ?mate? shell command available via %x{
> "$TM_SUPPORT_PATH/bin/mate" ?file? }.
Thanks, guess I couldn't see the tree for the forest on that one.
> You can run scripts from other bundles. You need to setup a requirement in
> the plist and then you get the TM_?bundle?_SUPPORT_PATH which you can then
> use to access the script ? I believe exact details are in the help book.
Thanks, I am interested in this as well but my main goal here was to get
output into both the document and the web preview. If I could run, for
example, build and then preview as html, I was hoping to sneak around the
'one output' idea. I would love to be able to build some sort of highly
interactive debugger / TextMate management tool written in javascript and
accessed through the web window. Especially intriguing to me was the idea
that I might be able to simultaneously run a command and without affecting
it's operation provide statistics or debugging information in the web
window. Once I get more familiar with the UI scripting features I'll see
how far I can take that idea.
---
I have created a simple bundle (just 1 command) that will add some support
for tm_project files to TextMate 2. Right now, it will open up a folder
from the project if it finds one that exists, and the files that were open
when it saved. Any information regarding issues installing or using it or
suggestions for improvement are much appreciated.
http://github.com/SSSSSmokey/TM_Project.tmbundle
---
Brandon
TM2 bug report; I haven't seen this one go by yet.
Repro steps:
1) Open a TM2 window on a directory, e.g. via 'mate somedir'
The file browser should be open at that directory
2) Open a second window on another directory, e.g. via 'mate somedir2'
3) Open a few files in each window for good measure
4) Close the file browser pane in the first ('somedir') window,
via View -> Hide File Browser or shortcut
5) Exit TextMate
6) Start TextMate
7) Observe: TM2 reopens windows that were present when it last exited.
8) Open file browser in the first window (aka 'somedir')
Expected result:
The file browser for the window with files from 'somedir' should retain its
state from the prior session, opening to 'somedir' or the last directory it was
viewing.
Actual result:
The file browser in question opens to the user's home directory.
1) Help issues with current beta
I noticed this morning that help appears to be broken in Version 2.0 (8956).
When I asked for Textmate help in TM2 in the help menu it said that help
wasn't available.
Then I typed something into the search box in the help menu, which showed
some matches, and then I selected "show all help topics" and the help for
TM 1.5 was displayed, and now when I ask for Textmate help in TM2 the TM
1.5 help comes up.
The previous version seemed to have separate help, albeit rather brief, and
a bit cryptic.
2) File open dialog
I was playing with the dialog box that comes up when you cmd-T. I've been
using Geoffrey Grossenbach's PeepOpen for 1.5, I like the new dialog which
allows you to do things like putting in partial directory paths in the
search box.
But I'm a bit confused by the tabs at the top. I'm seeing three tabs. The
first two always seem to have the same name which is the name of the
top-level directory in the file browser, and the third says open files. I
suspect that the double tab is a bug. Also it seems to be 'indexing' that
top level index when I bring it up, which is taking a LONG time when that
top level directory is my home directory, it seems to be scanning all my
music, my mail.app mail folders etc.
--
Rick DeNatale
Google+: +Rick DeNatale <https://plus.google.com/102541178931067955550>
Blog: http://talklikeaduck.denhaven2.com/
Github: http://github.com/rubyredrick
Twitter: @RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
I just update tm2 to the new version i can't do a pull/fetch/push using
git because he don't take my privatekey ! But in the previous version this
working ^^
I check the path of git, it's ok a commit for example work, if i push
myself in the terminal it's working.
Maybe someone have a idea ?
Is it just me who hates the new tabs in Textmate 2?
The new tabs are:
1. Black on dark grey, which makes it hard to read the name of the file.
2. The click area for the tabs are also much smaller.
3. It starts from the top of the file browser.
Images are attached for comparison (new tabs.png and old tabs.png). The old
tabs, in comparison:
1. Black on light grey, much easier to read.
2. The click are for the tabs are much larger.
3. Starts at the top of the editor.
Anyway, I photoshopped something up, for your consideration, Allan. It's
the new Textmate with the old tabs (please don't read the bad code).
See attached (textmate-photoshop.png) - I don't know if I should post this
here or elsewhere. If the mailing list does not accept attachments, see the
photoshopped version here: http://rickchristie.com/textmate-photoshop.png
Best,
Rick
Hi,
I know that TM2 currently does not support Lion-only features like full
screen.
I'm working with Lion and a US keyboard and I don't manage to open the
characters popup. When long-pressing a key, the letter is just repeated
like before Lion.
I hope there is a workaround for this or there will quickly be a fix
because the characters popup is really handy for everybody working with non
english text...
Sincerely,
--
Nicolas Blanco, Web developper
http://www.nicolasblanco.fr
Jabber/GoogleTalk : slainer68(a)gmail.com
Twitter : http://twitter.com/slainer68
Github : http://github.com/slainer68
Skype : slainer68
Hi, I like to have a project rooted at ~ only showing hidden files and
directories, so I can manage my unix profile stuff easily. However I'd
prefer those settings to not reach down to the subdirectories where they
don't make much sense. I'm curious, is there a way to take care of that
without needing to change the includes in each subdirectory .tm_properties?
Like make a scope that only affects my home directory, and put my include
settings in that scope? Thanks for your help.
Special thanks to you Allan for making this wonderful program, every part
is greatly improved (I've even switched to it for work since it has been
remarkably stable for an 'alpha'). I've been eagerly looking forward to it
since the alpha release was announced and it has not disappointed in the
slightest.
Brandon
Hello,
After the compilation of try.tex, if I click on try.log in the HTML output, I get this message
File does not exist
The item "(null)' does not exist
Best regards
Alain Matthes
I'm writing a command to open tmproj files and I've narrowed it to opening
a folder from the project, and opening the files that were open when the
project was saved. Anything else is too messy to transform into the Avian
equivalent. I do have a couple questions before I will be able to complete
it:
*How to manipulate the file browser from a (Ruby) command?*
*How to open a file from a (Ruby) command?*
Also, a couple general purpose questions:
*How to run a bundle from another bundle (if possible)?*
*How to output to both document and web preview with a command (if
possible)?*
Bugs:
Found a bug in the File Browser: Renaming a favorite to the same filename
with a changed case (e.g. myfavorite -> MyFavoRite) causes "Failed to
rename the file at “MyFavoRite. Error: File exists"
---
The new Ruby support scripts look fantastic. I see some cool bundles in
TextMate's future.
Brandon
Hello,
Have been trying out Textmate 2 alpha since it's public release. First off,
well done!
I've been trying it out on a project I work on and so far haven't had any
crashes. The stability is excellent!
Also, the right hand sidebar and Git SCM integration in the file browser
was a much needed feature that works well!
The only relatively minor (but annoying) issue I've run into so far has
been with the speed of source code highlighting.
When I open several files in quick succession, most of them big (100+
lines), the source code highlighter takes a fare while to process them all.
It seems like it parses the files in the order I opened them? In any case,
a file could take up to 10s-20s before it finally gets colouring.
I never noticed this issue in Textmate 1, so it seems like a regression.
Also, it would be nice to close the last tab without the window closing as
well.
Other than that, going well so far. Keep it up!
Regards
Kieran Pilkington
----------------------------------------------------------------
http://twitter.com/k776 - http://k776.tumblr.com
In the new version files that are open are highlighted by a small cross (x) to the right in the file browser. Occasionally I close all the windows just to get back to everything closed and a blank editing window. This was the behaviour in version 1.5. If I now close the last one it closes the whole window. Please can you consider reverting the functionality back to that of 1.5 i.e. that closing the last open file leaves the file browser open and also a blank editing area
Thanks
David M Walker
Data Management & Warehousing
0118 321 5930
davidw(a)datamgmt.com
http://www.datamgmt.com
Probably not a surprise.
I was playing with TM2 to see if the integration with RVM for switching
ruby versions for different 'projects/directories' would work with TM2
using the rvm-auto-ruby approach documented here:
http://beginrescueend.com/integration/textmate/
It took me a while to get around TM not finding rvm-auto-ruby until I
finally figured out that the spaces around the = are crucial in this line I
added to .tm_properties
TM_RUBY = "/Users/rick/.rvm/bin/rvm-auto-ruby"
However, TM isn't using the .rvmrc file in the 'project' directory so it's
always using the default ruby 1.8.7.
It looks like a partial workaround would be to have a local .tm_properties
file which sets TM_RUBY for each 'project' directory, but I don't think
that this will handle other rvm aspects such as gemsets.
--
Rick DeNatale
Google+: +Rick DeNatale <https://plus.google.com/102541178931067955550>
Blog: http://talklikeaduck.denhaven2.com/
Github: http://github.com/rubyredrick
Twitter: @RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
I'm confident this is a stupid question but I'm stymied, as someone would say.
I would like to experiment with using the feature
'pipe through command' of the html preview in TM1
in combination with pdflatex.
1) I created a folder /Users/piero/Desktop/prova
2) in the folder there's a trivial latex file prova.tex, which
compiles just fine producing a pdf of one page
3) I added a file script.sh which contains the following:
if /usr/texbin/pdflatex -output-directory /User/piero/Desktop/prova
-interaction=nonstopmode
/dev/stdin; then
echo '<meta http-equiv="refresh" content="0; tm-file:///tmp/stdin.pdf">'
fi
(this approach is suggested in Allan's blog. The script file
has been suitably chmodded)
4) in the html preview window of TM I checked the button
'Pipe text through' and added the path to
/Users/piero/Desktop/prova/script.sh
5) But, when I invoke web preview, the html window shows only
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
restricted \write18 enabled.
entering extended mode ! I can't write on file `stdin.log'. (Press
Enter to retry, or Control-D
to exit; default file extension is `.log') Please type another
transcript file
name ! Emergency stop ! ==> Fatal error occurred, no output PDF file
produced!
What am I doing wrong? is this some permission issue in Lion
10.7.2 which I'm using?
Bonus question: in view of TM2 (thanks Allan - never lost the
faith), am I just wasting time since the feature will not work
in the future?
Thanks for help
Piero
>
> Also, would you please answer my second question from the original email
> which was to refer me to resources that are simple to learn as I am just
> learning how to code and I don't understand most of the emails people are
> talking about, including your blogs.
>
These are good resources to learn programming for a beginner. However this
really isn't the place for that, it is a support list for a text editor.
http://norvig.com/21-days.htmlhttp://www.reddit.com/r/programminghttp://stackoverflow.com/
I'm sure Allan is busy having just launched a product that took years to
develop, especially considering it is a week from Christmas. There seems
to be a lot of people saying "I need this feature now, otherwise TextMate 2
is unusable." Maybe he should have just kept it for another year to
satisfy everyone's desires?
Anyway if you are having an issue (especially .tm_properties problems,
performance/slow rendering problems, bundle problems, and folder problems),
before posting here I recommend backing up all your custom
bundles/settings/themes, deleting both TM and Avian and all related support
docs (App Support/plists), and install a fresh copy of Avain, then
selectively put back the stuff you actually use. I had several of the
issues intermittently and that fixed several of them.
Brandon
Hi,
I'm on 10.6.8, 2.93Ghz Core2Duo, 4Go ram
All the file i open take time to be parse for syntax coloration, and if i
open like 10 file it take more than 2sec to open or switch to a previous
open file.
Also to close a file.
Like this TM2 is just not usable.
All working fine with TM1 with the same project.
Also the bundle PHP Cake doesn't work when i check the scope
text.html.php.cake as not present.
Thanks,
Mickael
TM2 performs some automatic actions on save, for example making new scripts with a shebang executable after save.
Is this configurable somewhere? Two reasons:
a) for hysterical reasons a lot of my sources start with a shebang but I do NOT want them to be made executable
b) I'd like to add some automatic testing/verification for certain file types upon save. in TM1 I'd overwrite the "Save" shortcut for this, I wonder if above is more appropriate.
Thanks
Gerd
Trying to get to grips with TM2...
Using any command from the git bundle I get this alert panel:
Failure running “Show Uncommitted Changes”.
[31mFail whale detected![0m
TM_SUPPORT_PATH is not set. This is probably because you are running
specs from outside of TextMate.
You can set TM_SUPPORT_PATH using something like...
export TM_SUPPORT_PATH='/Applications/TextMate.app/Contents/SharedSupport/Support'
I checked the recent posts but can't find a solution. Amy suggestions?
Also while the file browser sidebar does show the SCM status (eg the circle for files with changes), the "purple folder" icon does not do anything for me. Did that break in 8949?
Thanks
Gerd
HI,
I'm new to TM2 and am trying to save a simple font change in .tm_properties, but each time I do, I get a popup menu stating that it couldn't save and to look at the 'Console output'. When I looked at the console, there was nothing about TM2.
Any ideas?
Also, as I am new to the coding world, what is a good resource to learn about what stuff means, especially in relation to TM2?
Thanks,
Paul