Hi.
I'm experiencing a problem with bundles that use tm_dialog2. It appears that the dialog is failing in my install of TextMate (Version 1.5.10 (1631)).
When I run tm_dialog2 on the command line, I get "error reaching server". Like this:
> $ /Applications/TextMate.app/Contents/PlugIns/Dialog2.tmplugin/Contents/Resources/tm_dialog2
> error reaching server
Should that be the case?
More specifically, I am trying to use the "Documentation for Word..." function that is part of the standard PHP bundle. It appears to be failing at line 149 of this file:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb
Has anyone else had this problem or have any suggestions to get the tm_dialog2 binary working again?
Thanks,
- Devon
@Devon from digest
> My project structure is more complicated than .tm_properties will allow. I organize projects by referencing different folders from several different places.
>
> I guess I would need support for aliases or symlinks or something in order to use TM2 the way that I use TM1. Has anyone else found a good workaround for this?
>
> - Devon
What I have done is to make a (project) folder somewhere convenient and fill it with Mac aliases. They seem to work just fine for the purposes, so there is no need to hit terminal to make links. Put your collection of aliases into the project folder. Open the folder in TM2 and add it to favorites. It seems to work very nicely, although it is a bit labor intensive to set up. However, I'm sure that eventually some of the wizards who inhabit this realm will concoct a scheme to make this easier. Functionally, it is serving me well.
I work mostly with web sites which are not particularly large. Version control with svn is nice from TM2. It's all under cmd-Y whether you use Git or Svn. There are some oddities in that package, but I'm willing to be patient.
I like seeing files using OS structure and I can get to any file on the system with this approach. For working with a folder of files, things are simple.
I suppose this is alpha because some parts are not yet present. It runs like a good beta, however. I am using it almost exclusively. Good job, folks.
--Lewy
Hi All,
New to this list, sorry if this is a repost but I searched a couple of
months back in the archives and can't find any mention of it.
I very often use global search and "replace all" in a project. When
doing so, my replacement term doesn't go in the right place, but rather
in random places in the file, sometimes close to the head of the file.
I can't pinpoint the exact place where it'll land, but it definitely
doesn't go where it should.
Here is an example, sorry for the code dump!
Sincerely,
Alexandros
For example:
ORIGINAL FILE =======
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
Replace me here
</body>
</html>
GLOBAL SEARCH AND REPLACE ======
search: Replace me here
Replace: I want a new body
EXPECTED OUTPUT =============
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
I want a new body
</body>
</html>
ACTUAL OUTPUT =================
<!DI want a new body html> <!-- Replacement text is here! -->
<html>
<head>
<title>Page Title</title>
</head>
<body>
Replace me here
</body>
</html>
Has anyone else experienced TM2 being slow to open new files? When I click
on a file in the file browser it
takes about 5 seconds for the file to open. After three seconds I see the
new tab and the it take another
couple of seconds before the file content is displayed. This is with an
HTML file of only 14 lines.
Curt
Dear list,
TM2 looks great, but there's one thing I've been searching for for while now and I didn't find any solutions to it. I'm now resorting to asking the list, and hope that's appropriate.
How can I change (decrease) the font-size of the project drawer? It looks like it's a finder-window, but right-clicking doesn't provide a 'Show View Options' like regular finder-windows do. Also, changing the font-size in finder itself doesn't seem to affect the font-size of the drawer.
I very much hope I'm overlooking something here, because it looks like this is the only thing standing in the way of my being able start using this great-looking and long anticipated version of this great piece of sofware.
Thanks!
-- Bastiaan
Hi,
just trying out Textmate 2 and have configured .tm_properties for a project as:
excludes = "data,external,fixtures,*.log,*.d"
exclude = "{excludes}"
excludeInFileChooser = "{$excludes}"
excludeInFolderSearch = "{$excludes}"
excludeFilesInBrowser = "{$excludes}"
but when I select "Go->Go to File Counterpart" from, for instance,
registry.cc I first get registry.d opened and then registry.h. I only
want to view registry.h and have tried to exclude registry.d, but it
doesn't seem to be excluded from this functionality.
Am I doing something wrong?
Cheers,
Donovan.
So one of the things I did often in TM1 was create projects with files that
are located all over the file system. Seems like projects in TM2 are based
off of a single folder, but I admit I don't understand the .tm_properties
stuff that well yet.
Is there a way to use .tm_properties to do what I did in TM1? If so, can
someone post an example .tm_properties?
Thanks.
--
View this message in context: http://old.nabble.com/TM2%3A-projects-with-scattered-files--tp33250354p3325…
Sent from the textmate users mailing list archive at Nabble.com.
So TM2 awesomely and finally displays non-English, non-Latin text well.
Unfortunately, Input Methods are broken without using a mouse to click.
Japanese input (Kotoeri) definitely does not work right.
Seems like TM2 is ignoring or misusing Cocoa's concept of "marked text" (input marked for completion/conversion, where some form of phonetic input is done on a qwerty keyboard and is then converted to CJK, cycling through choices using space bar, or arrow keys, selecting conversions by pressing enter/return or the number of the numbered list of conversion choices)
That is still a bummer. This is the one thing that TM and TM2 have not been capable of, but all the competition seem able to handle. I know it has to do with implementation, but still makes me have to try others...
Forgive me if this has been posted before, but I noticed a problem with TM2's
implementation of the wrap column.
In my ~/.tm_properties file, I have:
# File type specific configuration
#
[ text ]
softWrap = true
[ text.{haml,html} ]
wrapColumn = 100
[ text.plain ]
wrapColumn = 80
And for the most part, TM2 respects this.
However, the wrap column setting is not respected when I'm creating a new
file:
When I create a new file, its type is text.plain by default, and the wrap
column is 80. This is fine. But then say I save it as an HTML file. I expect
that the wrap column should now move to 100, because the type of the file
has changed to text.html. TM2 does not do that. Instead, to see the wrap
column properly set, I have to close and reopen the file.
Should I open this as a ticket instead? Please let me know.
Thanks,
Richa
--
View this message in context: http://old.nabble.com/TM2%3A-Wrap-column-not-changed-once-new-file-is-saved…
Sent from the textmate users mailing list archive at Nabble.com.
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/>
I know this list is generally for reporting bugs and asking for help so it may be disheartening to those who work on TM2 to be reading about "this" being broken or "that" could be done better every day. I've been using TM2 for well over a month daily and I just want to congratulate everyone involved on what a fantastic program they've developed. I often forget that I'm working on an alpha release and this is certainly the best and most stable alpha release I've used in a long, long time.
So a tip of the chapeau to everyone and happy friday!
Ed Wong
this link helped me at least with saving by "Cmd+S" ...
http://blogobaggins.com/2009/03/31/waging-war-on-whitespace.html
david
> What I'm looking for is a way of hooking the Save command so that the whitespace stripper is run just before saving, regardless of whether I pressed Cmd-S, chose Save from the File menu, or selected Save in the dialog when closing a document with unsaved changes.
>
> I'm sure I read something on a blog which suggested it was possible, but the article unfortunately assumed a greater familiarity with bundle writing than I have :)
>
> --
> John Yeates
This terminal command should make the HTML output go back to displaying in a separate window:
defaults write com.macromates.TextMate.preview htmlOutputPlacement window
Good luck!
- Adam Jackman
> I use TextMate and the Latex bundle extensively. With version 1, when I run Latex (cmd-R) the output of the latex compiler pops up in a new window. With TextMate 2, the output instead appears as part of the editing window. I made the mistake of resizing the output window to 0 - dragging it all the way down - and now I can't get it back. This makes tracking down errors difficult. I can't drag the separator back up because the entire window resizes instead.
>
> Is there a way to make the output window either appear separately, as in TextMate 1, or get the drag handle back?
>
> Drew
I tried double-clicking the .tmbundle's for several programming languages
(e.g. Dart <https://github.com/k33g/dart-textmate-bundle>,
Rust<https://github.com/tomgrohl/Rust.tmbundle>).
When I open them with TextMate 2, the editor doesn't load the bundles but
opens them as if they were ordinary code directories.
What do bundle developers have to do differently in TextMate 2? Or is
TextMate bundling broken at the moment?
Cheers,
Andrew Pennebaker
I use TextMate and the Latex bundle extensively. With version 1, when I run Latex (cmd-R) the output of the latex compiler pops up in a new window. With TextMate 2, the output instead appears as part of the editing window. I made the mistake of resizing the output window to 0 - dragging it all the way down - and now I can't get it back. This makes tracking down errors difficult. I can't drag the separator back up because the entire window resizes instead.
Is there a way to make the output window either appear separately, as in TextMate 1, or get the drag handle back?
Drew
To reproduce, enter the following text on a new line, then hit ^r
"$TM_SUPPORT_PATH/bin/mate"
TextMate will open a new untitled tab, then become
unresponsive. However, the OS won't mark it as unresponsive in the Force
Quit dialog.
Tested with r9015 and r9028.
Cheers,
Martin
Hi All,
Noticed a rather worrying problem in the "Find" dialog of TM2. If you
select "In: Document" in the find box, it all behaves nicely, and only
shows you results from the current file. If you switch this to "In:
Selection", then it doesn't. Hitting "Find All" gives results from the
current directory (and actually sometimes this defaults to the current
directories of other TM2 windows), which is rather worrying if you are then
planning to hit "Replace All" and are just expecting it to replace things
in your selection. The "Sigma" button does however seem to obey the
selection directive...
I'm assuming this comes under the "work in progress" label, so I hope this
post will serve as a friendly warning for those using TM2 as their
permanent editor - it is after all still in alpha! Hopefully allan will
manage to sort this out soon :-).
David.
Hello.
I have used LaTeX in Textmate for years with no problem. Recently I updated my hard drive and did a clean install. Everything works fine, but when I run BibTeX I get this:
Traceback (most recent call last): File "/Users/cwimpy/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 570, in
texStatus, isFatal, numErrs, numWarns = run_bibtex(texfile=fileName) File "/Users/cwimpy/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 104, in run_bibtex return stat,fatal,err,warn UnboundLocalError: local variable 'stat' referenced before assignment
I am not sure what this means or how to fix my problem. I should also note that BibTeX doesn't even try to run adter executing "Typset & View," and I get the message above when I try it manually. The problem persists in Textmate 2 as well. I can run BibTeX in TeXShop with no problems. Any suggestions?
Thanks,
Cameron
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.
I have occasional need in LaTeX to edit several lines of variable length, usually for poems, and add the suffix "\\" to each of them.
In TM 1.5, I selected all the lines I wanted to suffix and I used Text → Edit Each Line in Selection (⌥⌘A) and the caret was placed at the end of the first line in the selection. The suffix was added to all lines in the selection.
What's the best way to do that in TM 2? Presently I'm using multiple carets (⌘T) and clicking on each line to set the multiple carets. I would very much appreciate suggestions how to do this in a more efficient way.
--Gildas Hamel
I am setting up the Blogging bundle with a WordPress blog and running into what looks like a known problem:
wrong dateTime.iso8601 format
when fetching posts
I am able to post to my blog from Textmate so the basic configuration seems to be working.
The discussion on macromates.com and in the archives of this list referred to mismatch between Ruby's XML-RPC parser and WordPress, but the versions listed are all well before what I have.
I am running:
OS X Lion
WordPress 3.3.1
Textmate Version 1.5.10 (1631)
Ruby 1.8.7
I ran getBundles to update the blogging bundle to the latest version and also verified that the version of Ruby TM is finding is 1.8.7
Any advice on how to track this down?
thanks!
George Wyner
When I click the menu for a bundle on the bottom of the window (next to where one changes the filetype/bundle), I do not get a menu, just a message saying "bundle item popup".
If I follow the menu bundles--> <some bundle> --> <some menu item> everything works fine.
Is this expected behaviour at this stage of development?
Thanks,
Christopher
Hi,
[tiny iussue]
drag actions are working but the action will only be visible if I set the key focus to that TM2 doc.
Scenario: Drag a supported drag action file to a TM2 window - nothing will be seen in the window unless I click at that window.
Cheers,
--Hans