I'm getting a bit more into textmate, and, that has brought me to some less
newbie questions, but, things that have been bothering me:
1) Where can I find a list of keyboard shortcuts? The other day I wanted to
comment out a block of text, but had to google to figure out ⌘-/
2) I'm ready to start playing with projects some -- and, from my lurking on
this list, it seems that the default project stuff isn't very capable. What
is a good project bundle to start playing with?
Thanks in advance,
-Dave
How come when println is executed within the Groovy script, the output does
not show carriage return?
println "hello"
println " world"
The output window shows hello world in the same line.
I am using TextMate 1.5.8.
--
View this message in context: http://www.nabble.com/println-has-no-carriage-return-in-Groovy-bundle-tp224…
Sent from the textmate users mailing list archive at Nabble.com.
Let's say I have a project folder open in TM. The folder has already
been initialized with Git, and all the files that are supposed to be
under source control have been added. Let's further say that I've made
some changes to the files "sample.html" and "sample.css," and it's
time for a commit. The sample.css file is the current tab and is the
file I've been editing most recently. I hit Control-Shift-G, the Git
command menu pops up, and I choose Commit. Up pops a browser/message
window with the words
Committing Files in ‘sample.css’ on branch ‘master’
In front of that is a two-paned window. The top pane has a place for
me to type in the commit message, and the bottom shows a list of files
to commit. Even though I've changed both sample.html and sample.css,
only sample.css is in that list.
If I click in the project drawer before pressing Control-Shift-G,
things work the way I think they should: The browser/message window
says
Committing Files in ‘./’ on branch ‘master’
and the two-paned window has both files in the list of files to commit.
Is there a way (apart from clicking in the project drawer) to get the
commit to apply to the entire project instead of just the frontmost
tab?
--
Dr. Drang
I'm sure this can be accomplished with a regular expression but I'm
looking for an easy way to find a whole word. For xample, if I have
these types in a file:
Listener
ClickListener
And I do a find on "Listener", I'll hit both of these, although more
often than not, I want to match only the "whole" word, so just match
the first Listener.
I think this is easy to do by adding word boundaries around your
search (whitespace, ., [, (, {, etc), but I'm wondering if this
functionality is built in as an option that I'm missing.
Thanks-
Robert
I find TextMate's behavior when unindenting (text shift left or cmd-[)
text slightly annoying. Often times the cursor is pretty much at the
end of a line when I decide to unindent. If I need to unindent a
couple of steps, the cursor jumps down one line when the end of line
crosses the cursor position. To prevent this from happening I always
have to move to the beginning of the line before unindenting. I'd
prefer the cursor to simply stay on the line I'm unindenting (Xcode
works this way) no matter which column the cursor is positioned in.
Does anyone know if it is possible to modify/extend/whatever TextMate
to behave like Xcode in this respect?
Thanks in advance
Hello,
i discovered Textmate few weeks ago, and it is a relay great tool. For
drawing electrical circuits in Latex i use the M4 Circuit-Macros.
So i started to create a Textmate bundle for this purpose. Its working
now but i have some problems to set the right language grammar.
So if anyone is interested to help me with this pleas contacted me
br
Tobias
Using the reStructuredText bundle, I keep running into a problem with
TextMate "forgetting" the soft tabs settings I apply to the .rst file
extension.
When I quit TextMate, start it, open my project's folder, then open
a .rst file, it knows my preferred tab size, but it defaults to hard
tabs.
When I switch it to soft tabs, it remembers it for the duration of the
TextMate session. That is, when I close the window for the project,
then reopen it, it still remembers that I prefer soft tabs for .rst
files.
I've even closed TextMate, opened com.macromates.textmate.plist file
with the Property List Editor and made sure that Root/
OakTextViewScopedSoftTabs/text.restructuredtext/softTabs was set to
"Yes", saved it, closed PLE, reopened TextMate, and it still thinks
that I want hard tabs for .rst files.
It doesn't seem to be doing this for other file types. Very
frustrating! I'd gotten used to the habit of letting TextMate
remember my soft tab settings; now I seem to be getting into a
defensive habit of double-checking soft tab settings -- not exactly an
experience I enjoy having spent money for. :)
Any suggestions about what I can do to get TextMate to remember soft
tab settings?
Thanks,
--
Matthew Scott
gldnspud(a)gmail.com
Dear all,
I try to build a scope that matches a text block within a latex
document. The beginning of a text block should be given by a line
containing some text, which is preceded by a blank line (possibly
filled with whitespace characters). Likewise, the end of a text block
is a line containing some text followed by a blank line. So far I
tried to put
{ name = 'meta.paragraph.text.latex';
begin = '\n[^\S\n]*\n[^\S\n]*(?=[^\S\n]*\S)';
end = '(?<=\S)[^\S\n]*\n[^\S\n]*\n';
},
inside the latex language definition, but this didn't work out (simply
putting \n for both regexes works, but does the wrong thing). However,
the beginning regepx matches the beginning of a text block, that is a
line that is preceded by an empty line when I use it in the find
window (and the same for the end of a text block). Can anybody tell me
what I am doing wrong?
Perhaps there is another Scope already doing the job?
Best, Christoph
I've recently switched from subversion to git for my latex projects. I
find git a lot easier to use and it was absolutely painless to switch.
However, I miss the ability to use File Merge to graphically display
changes. (*Very* useful if you are working with multiple authors and
you want to see where text has changed.
The git bundle allows you to compare things, but I would like to use
File Merge instead of the standard window comparing the changes.
Is it possible to set File Merge as default viewer for diff files as
you are with subversion?
Thanks a bunch!
Max
On Mar 5, 2009, at 2:19 PM, textmate-request(a)lists.macromates.com wrote:
> On 3 Mar 2009, at 17:33, Claus wrote:
>>
>
> Yes, the environments (shown via the ?env? command) can differ in many
> ways, in your case it could be that TZ is setup differently for the
> Terminal than TextMate, or maybe it is related to the LC variables?
>
> Can you provide a small example which reproduce the problem?
I've run into this with other applications before. One solution, at
least short term, is to quit out of TextMate and open it using the
Terminal, for instance:
open /Applications/TextMate.app
It should then inherit your shell's environment. See if your script
runs that way.
Hope this helps,
-berto.