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