Hi,
I am new to wonderful textmate and facing a problem. I am not sure
where I am going wrong.
When I try to "undo" using keyboard shortcut (command + z) I get
something like this on screen.
----------------------------------------------------------------------------------------------------------------
File: /Users/venkatesh/Documents/test.php
Word: </title
Selection:
------------------------------------------------------------------------------------------------------------------
Any suggestions?
Thanks,
--
Venkatesh. K
I don't know a way to solve your problem, but one trick that'll make
your current behavior a little nicer is Control + Option + W, which
closes all open tabs, rather than jamming on Command + W.
On Thu, Feb 14, 2008 at 1:13 PM, Steven Rowat <Steven_Rowat(a)sunshine.net> wrote:
> Hi,
>
>
> Daniel wrote:
>
> >Unless I'm living in a parallel dimension, the name of the currently viewed file is always at the very top of the window, next to the file icon above the tab bar. Is this not the case?
> >
> >Command + T (Go To File) is also your friend, as is Command + Option + (L/R) Arrow (Go to Previous/Next Tab, respectively).
>
>
> Thank you; the Command+T I knew, the second I didn't.
>
> They will be useful, but don't solve the issue I tried to describe.
>
> Again: what I want is to be able to make a file display in the tabs at the top, when the tab list is already full, and the file is further down in the drop-down list.
>
> The only way I can do this at present, that I know of, is to hit Command-W twenty or more times and unload everything so I have a blank project, and then reload the files I want to have as tabs at the top.
>
> I find working with visible tabs, when I'm passing data between four or five files repeatedly (ie., several includes and a main php file) to be much faster and easier than finding them in the drop-down list over and over as I switch back and forth between them. So I'd like to put them at the top each time, before I begin editing them. I'm currently working with hundreds of files that often have only a single digit or number different, and it's very easy to get them confused unless all my ducks are in a row (in this case, literally, a row across the top).
>
> And sometimes there's only *one* that I'm missing from the top - but still, if it's way down the list, then there's no way to get it up there without unloading everything else before it (if I'm right about this).
>
> It's not a big deal; I can just unload and reload and it's quick. But still I think it would be cleaner if the file listing gave this option - to have a file tab become visible when this is preferred, so that the chosen file would change its position in the file listing and become the final visible tab.
>
> steven rowat
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate(a)lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
Hi Steven,
it's much easier than that for Bundle items! Just open the bundle editor
(control-option-command-b) and then find the item whose shortcut you wish to
change. In this case just look in the HTML bundle (filter on "Command" using
the pull down at the top left if you like) and it's there. There's a field
at the bottom right for setting the key equivalent.
Cheers,
Paul
Hi there,
This may be a bit of a newbish question, but hopefully someone can answer it
for me.
I have quite a few JSP files, but a couple of them contain almost solely CSS
information (with some serverside info sprinkled in).
So, of course, I'd like those couple of files to be highlighted as CSS
files, with the CSS bundle to be active for those files.
However, the issue I am running into is that whenever I select the language
for that file, it sticks for all JSPs.
So what would be the best way to get those few files to be read as CSS, but
keeping their same file names, etc?
Thanks in advance for all of your help,
--
View this message in context: http://www.nabble.com/Changing-language-for-a-specific-file-tp14630274p1463…
Sent from the textmate users mailing list archive at Nabble.com.
When defining "static variables" in Preferences->Advanced->Shell
Variables, is it possible to include the values of static variables in
the values of others?
For example, I tried defining:
P1 /some/path
P2 $P1/subdir
But the value of P2 is "$P1/subdir", not "/some/path/subdir" as I wish.
--
Daryl Spitzer
Hi,
One additional note: as recommended in the TM Help, I tried
downloading MenuMaster but still no joy. Even though it easily
allows me to add a key binding for "Strip HTML Tags from Selection",
using the keycommand still does nothing.
Other (core) commands can be changed and work afterwards, so I
suspect it's a bundle communcation issue. Another test seems to
confirm this: when I change the "Insert Close Tag" command (in the
HTML bundle), it visually shows a change, but the keyboard continues
to work with the original default command. Restart TM, the change
persists in the menu, but still uses the default from the keyboard.
So I'm stuck, I think. Is there a way around this, that anyone knows of?
steven rowat
Hi,
I attempted to assign a key-binding to "Strip HTML Tags from
Selection". A command installed via System Preferences doesn't work,
and I assume this is as explained in the TM help:
"Dynamic menu items i.e. those which change title depending on the
programs state (like Fold Current Block / Selection) should be
specified with their initial title. The initial title can be found by
opening the MainMenu.nib file in Interface Builder (use Show Package
Contents on TextMate and navigate to Contents ? Resources ?
English.lproj)."
So I have installed Interface Builder, found the MainMenu in the TM
package, double-clicked it to open it in IB, and then double-clicked
the MainMenu icon, which opens. However, the Bundle Menu item only
drops down the first four global items; none of the Bundles show up.
(Also, a small yellow tooltip opens on hover over the MainMenu icon,
saying "One of the children has a bad/missing connection".)
Is there a way to find out what name I should be using to bind "Strip
HTML Tags from Selection"? Apparently the bundles aren't connected in
IB - ? - or is there another way to access them?
steven rowat
timetrap-2 wrote:
>
>
> On 2008-01-26 14:27:39 -0600, Sebastian said:
> And just to confirm that the reverse is actually true, could somebody
> confirm if you are running RakeMate tasks in the Rails bundle with 2.0
> projects without any trouble? Thanks.
>
I have the same setup as you do, Rails 2.0.2, Rake 0.8.1 and RakeMate r6193
and it works fine. A colleague has the same setup on his mac and he gets
the error you do. Go figure...
--
View this message in context: http://www.nabble.com/Problems-with-Rails-Bundle-and-RakeMate-tp15112223p15…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
A couple weeks ago GetBundle stopped both Installing and Updating
bundles. I can list installed bundles and view the bundles in the
repository but when I try to install or update I see the dialogue
come up that say "This may take a while..." which then just
disappears with no error whatsoever. I've tried removing all of the
bundles that I'd previously installed via GetBundle as well as
removing and reinstalling GetBundle itself. Any ideas?
Erik Jones
DBA | Emma®
erik(a)myemma.com
800.595.4401 or 615.292.5888
615.292.0777 (fax)
Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com
Greetings,
I'm working in a TM project with dozens of files, and there are only
room for about 5 or 6 names in the tabs across the top of the project
window.
This is creating an interface problem for me - if I select one of the
files that's not across the top, by using the ">>" symbol to get to
the list, I'm expecting it to move into the tab window (as the last
item), but it doesn't. It stays invisible (i.e., no tab).
So I'm working on a file that doesn't have its tab at the top. It's a
small issue, but I've repeatedly found it confusing and/or
frustrating to have to go to the ">>" window to see which file I'm
currently working in, rather than just looking at the top and seeing
which one is the 'clear white' tab.
Is there any way around this? Or if not, can it be added as a future
feature (that selecting a file would automatically make it visible as
the last tab to the right, replacing whichever one is there)?
Thanks
Steven Rowat
Hi,
OK, this is a very tricky crash. I try to describe it as precise as
possible:
-TM runs for hours
-I open the Find Dialog; regular expression is checked
-I type something into the search textfield containing among others '\t'
-I selected something '(.*?)' within the search textfield
-I copy the selection apple+C
-I move the caret to an other position within the search textfield
-I paste the pasteboard content apple+V
-I type something else
and then I press TAB to move the focus to the replace textfield. TM
crashes immediately.
I tried several times to reproduce the crash but without success. It
happens very sporadically and VERY VERY infrequently (up to now three
four times).
As attachment I send the crash report.
Hopefully this report can help.
G5 ppc, Mac OS 10.4.11, US keyboard, English environment, Input
Method 'U.S.', TM 1.5.7 rev1455
Thanks,
Hans
A 'pattern' I use frequently seems to be confusing textmate's
indentation of C++ code.
The problem comes from writing things like:
{ // Comment
If you simply write into textmate, you get something like:
{
{ // Comment
foo();
}
}
If I try to select and indent the code, I end up with:
{
{ // Comment
foo();
}
}
Now the problem is the other way!
I tried looking at the how the indentation works, but it was some way
beyond me I'm afraid. Any suggestions?
Chris
Hi,
I have a general question. Would it be possible to create a single
NIB (without external Xcode) as a table editor?
Given is a file containing TAB delimited data. These data should be
sent to a tm_dialog NIB as plist. In principal this should work but
the number of columns and rows can differ(?)
The NIB file should contain an editable NSTableView and two buttons
'Cancel' and 'Save'. By pressing the button 'Save' the current
content of the NSTableView should be outputted as plist.
Is this possible?
Many thanks for any hint in advance.
Hans
Hi all,
I'm using a TextMate to post to my blog based on WordPress 2.3.3.
Before I upgraded to WordPress 2.3.3, I was able to upload my post
using Blogging Bundle. But after updating to the WordPress 2.3.3, I
cannot do so.
Whenever I try to upload a post, I get the following message at the top.
Received exception:HTTP-Error: 412 Precondition Failed
Type: Blog Post (Markdown)
Is anyone having the same issue? I know I can try downgrading my
WordPress installation, but since it fixes some XML-RPC related
security issue, I'd like to keep it.
Are there any workaround for this issue?
Thank you and regards,
--
Takashi Yoshida
tyoshida [at] mac [dot] com
When I do a Status using the Subversion Bundle, it correctly shows
what has changed.
However, when I try to do a commit from the subversion popup page,
the spinning dial starts up and never stops. After waiting a while, I
killed the svn process at the command line. Once I did that, TM poped
up a window asking for my SVN password.
I have used svn at the command line for months to check in/out code
and it works perfectly. My username on the svn repository is
different from my username on my mac, but the first time I used svn
from the command line, it failed and then I was able to put in the
correct username and password. Since then (months ago), svn from the
command line has worked perfectly. I think when svn is started by TM
it must be using my mac user name rather than the cached name. Is
there any way I can control this?
After I type my comments and hit commit, in the status window the
following appears:
Authentication realm: PAC
but I can’t see any place that I can type to supply my credentials.
I don't think it's a problem with our subversion repository because
the developer sitting next to me is able to commit from TextMate with
no problems.
Thanks,
Steve
_____________________
Steven Chanin
steven_chanin at alum.mit.edu
(415) 377-7503
Hello,
I'm using a ConTeXt bundle (similar to LaTeX) from
http://wiki.contextgarden.net/TextMatehttp://dl.contextgarden.net/support/context-tmbundle.dmg
When "building" with
⌘+R
an extra window with "html" content opens with a long log of the run.
My question is: is it possible to scroll down to the bottom of that
window automatically as the log is written to it?
The command which creates that window looks approximately like that:
##############################################
#!/usr/bin/env ruby
$:.unshift "#{ENV['TM_SUPPORT_PATH']}/lib"
$:.unshift File.join(File.dirname(__FILE__), "..", "lib")
require 'scriptmate'
require "parse_texexec_output"
@file=File.basename(ENV['TM_FILEPATH'])
@dir=File.dirname(ENV['TM_FILEPATH'])
$cmd="texmfstart texexec #{xetex} --pass=\\'-halt-on-error
-file-line-error\\' #{@file}"
class CommandMate
def emit_header
puts html_head(:window_title=>"texexec", :page_title=>"typeset" ,
:sub_title=>"#{$cmd}")
puts "<pre>"
end
end
cmd_mate($cmd)
##############################################
Thanks a lot,
Mojca
To be honest, I can't tell if the failure to apply a style sheet is
something odd in my TM set up or something flakey going on with my
hosted set up. Would someone mind reminding how to make the call to a
local style sheet so that I can test what's going on?
Is it "file:///path/to/file.css" or is it "http://localhost/path/to/file.css
" -- and with the latter I assume I have to have the built in web
server running, yes?
john
I uploaded an Ant bundle to the review's section of the bundle
repository a couple of months ago. There have been a few tweaks but
it's now stable. I'm looking to getting it bumped up to the main
repository so am canvasing here for some feedback.
<http://macromates.com/svn/Bundles/trunk/Review/Bundles/Ant.tmbundle/>
On top of the obvious build and run commands it's main features are
integrated help, auto completion, document validation, and - the
handiest for me - build target selection from a dialog pop-up, bound
to ⇧⌘B. As Ant's a build system, and therefore language
independent, you will have to configure the commands by adding the
scope/s of your languages of choice, alongside possibly setting up an
environmental variable to target your build.xml file of choice.
Anything that helps/improves/patches, is more than welcome.
Cheers,
Simon
I take exception to the C syntax gobbling up whitespace at the
beginning of a line. It screws up my tab guides, as seen in the
example below (before EXCEPTION).
Gerd
Hello everyone,
I have a probably silly question for you concerning tabulations:
Yaml can't stand tabulations, it says it requires spaces instead. How
can I get TextMate to insert spaces instead of tabs?
Regards,
Xavier
Hi all,
Would anyone happen to be working on an Xdebug bundle? I'm thirsty for
a PHP debugging environment as an extension in TextMate. Was just
curious if something is available or if someone is in progress with
this effort before I attempt to reinvent the wheel.
Cheers!
/sf
Something like Autotext is def what I'm looking for. I have a problem and a
question however.
Question: is there a way to integrate this so it's globally accessible so I
don't have to change the language of a Java or Javascript file in order to
use it?
My problem is I'm receiving an error and it's not working. I've attached a
screenshot. I looked through the files for Autotext and don't see where (or
even what) the problem might be, maybe someone can help?
Thanks again for all your ideas and help...
On Feb 1, 2008 11:49 AM, Hans-Jörg Bibiko <bibiko(a)eva.mpg.de> wrote:
>
> On 01.02.2008, at 18:59, Daniel Stockman wrote:
>
> > On Feb 1, 2008, at 9:42 AM, Jamal Johnson wrote:
> >> I'd like to be able to put my cursor on a word (in a JS file let's
> >> say) and have that word highlighted _everywhere_ else in the
> >> document making it very easy to find / see where it is. [...] Is
> >> this possible?
> >
> > I dislike the idea of making the mouse cursor integral to a
> > function of a text editor, so here's how you could approximate the
> > behaviour via the keyboard (with menu path parenthesized):
> >
> > 1. With the caret inside or bordering the target word, press
> > Control + W (Edit > Select > Word). Alternately, double-click the
> > word itself.
> >
> > 2. Command + E (Edit > Find > Use Selection for Find)
> >
> > 3. Command + G (Edit > Find > Find Next)
> >
> > Your selection will now jump to each instance of the desired word
> > on each subsequent Command + G. It's not as whizbang as Aptana, but
> > I often feel IDEs do a lot more than necessary for certain tasks.
>
> I agree with Daniel.
>
>
> But as a short note: By using TMTOOLS (an 'unofficial' hacker tool ;)
> one could do this.
> see my mail: http://comox.textdrive.com/pipermail/textmate/2007-
> October/022827.html
>
> Cheers,
>
> Hans
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate(a)lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
--
---------------
.: Jamal :.
I am currently a user of BBEdit. I'd like to be able to use TextMate if I
could find a combination of an SFTP client and TextMate that would allow me
to edit multiple files remotely as a project (grouped in the same window,
with the drawer). Is there a combination of programs that will allow this?
Working locally is not an option because the dev environment includes a huge
MySQL database, among other things. But if I could work locally in a way
that immediately and automatically updated remotely, that might be OK.
--
View this message in context: http://www.nabble.com/Remote-editing-of-projects-tp15053548p15053548.html
Sent from the textmate users mailing list archive at Nabble.com.
Greetings,
I've been using TextMate for several months, and I'm now starting my
first multi-file project using the TextMate project interface.
I've encountered what appears to me as a substantial bug (see title).
I opened a ticket with a full description last week, but have
received no reply so far. Here's the "Summary" from the start of that
ticket:
"Summary:
At first, TM's Web Preview reads linked css stylesheet in the HTML
header correctly, but then will not update when the stylesheet is
changed. Browsers don't have this problem and show the new data as
expected. (TM Web Preview seems to get 'stuck' using its original
cached value, even when those values no longer exist in the css file.
) "
Here's the full description, including my Troubleshooting attempts
and exact steps to reproduce the bug:
http://macromates.com/ticket/show?ticket_id=79950679
In addition I'm puzzled by the fact that I've found an exact
description of the bug reported in this list in 2006. And there are
no replies to that report either! Strange.
Doesn't anyone besides me need to use the (wonderful) Live Web
Preview with linked external style sheets?
Or am I missing some hidden command or path configuration that will
allow this to work?
Best Regards,
Steven Rowat