Hello,
Is it possible to arrange tabs with file names into multiple lines? I
often have dozens of files open and it really becomes annoying to
switch between them.
So, instead of (fixed width :)
+-------+-------+-------+-------+----
| file1 | file2 | file3 | file4 | >>>
+-------+-------+-------+-------+----
it would be nice to see:
+-------+-------+-------+-------+
| file1 | file2 | file3 | file4 |
+-------+-------+-------+-------+
| file5 | file6 | file7 |
+-------+-------+-------+
Here's a screenshot of what I have in mind with multiple lines (the
first screenshot that I have found; used in another context, but
nevertheless):
http://www.emeditor.com/images/emeditor7_virtual_space.png
Thanks a lot,
Mojca
I'm trying to open the rcov script file for a ruby code coverage tool.
Instead of opening for edit... Textmate appears to try and run the script.
I've tried removing the #!/usr/bin/ruby
at the beginning of the file to no avail.
has anyone seen behavior like this?
thanks
Jay
http://files.xhtmlthis.com/textmate.mov
I made a little movie to show you everything, obviously my permissions
are fine, because I can create folders!
Thanks,
Garrett
Hello,
I am using a slightly modified php bundle, and have lost the auto
completion on single quoted elements... parens, double quotes, etc still
auto complete, but not single quotes. I'm not very familiar with
working with bundles, or modifying them, but I'm wondering what I might
do to re-enable (or add in) the single quote auto complete feature in
the bundle?
Any advice is appreciated.
thanks,
Eben
Hi all,
Normally, when you execute the Comment Line command, it inserts a
single-line comment (e.g., // in C). That's true for Python, Ruby, C/C+
+, Objective-C, shell scripts, you name it... but not Java. For some
reason the Java bundle inserts multi-line comments (/* ... */). This
leads to problems when trying to uncomment lines. For example:
1. Select N lines
2. Hit Command+/ to comment the lines
3. Cancel the selection
4. Go back and select the same N lines
5. Hit Command+/ to uncomment the lines
This works in all the other modes, but in Java, it's impossible. The
problem is step 4. Instead of selecting just the same N lines, you
have to extend the selection to N+1 lines, but only far enough to
select the first two characters in the N+1 line (to capture the
trailing "*/"). And if you really want some fun, try uncommenting only
some of the lines. Again, works perfectly in every mode but Java.
So, basically, the Comment Line command seems only half-baked for the
Java bundle. I realize I could probably fix this myself by hacking
around in the Bundle Editor, but shouldn't the bundle be using single-
line comments by default? Even if there's some benefit of multi-line
comments that I'm missing, you'd think the Java bundle would still use
single-line comments for the sake of consistency. Why's the Java
bundle such an oddball?
Trevor
I know there are people who (for some reason) prefer mailing lists to actual
forums, but I'd like to cast my vote for a proper forum.
Nabble works surprisingly well, but it's still pretty painful compared to
any forum I've used.
--
View this message in context: http://www.nabble.com/Actual-Forum--tp18700957p18700957.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi there.
Is there a way to make TextMate right-trim lines (e.g., remove tailing
spaces in the end of lines)? I'm getting warnings from pep8.py (which
checks if your code follows the PEP8) and looks like TextMate leaves a
lot of spaces on empty lines inside and indented code.
Ideas?
--
Julio Biason <julio.biason(a)gmail.com>
Twitter: http://twitter.com/juliobiason
Eric Abrahamsen wrote:
>
> I was firmly in favor of mailing lists over forums until I started
> receiving all the messages in this thread.
>
> Now I'm on the fence.
Yes - you can get never-ending flame wars in either medium.
Could someone just accuse someone else of being a Nazi* so we can call
this a day?
Pete
* http://en.wikipedia.org/wiki/Godwin%27s_law
So I just heard about this awesome gitjour based collaborative tool:
Conspire[1],[2]
I was wondering if anyone knew if the plugin-api would allow this kind
of polling and updating of the currently open files.
-Brian
[1] <http://technomancy.us/113>
[2] <http://github.com/technomancy/conspire/tree/master>
I like to build and run my Xcode projects using the "Build & Run"
command from the Xcode bundle, both for convenience and because my
debug output and exceptions are formatted in such a way that it can be
clicked in the output window so TextMate jumps to that section in the
code.
With Xcode 3 that has become a little trying though: Every time the
underlying xcodebuild command is launched, it goes through a rather
lengthy "Checking Dependencies" phase.
Xcode itself seems to cache the results from that phase, it is only
slow the first time a project is built after opening it in Xcode.
Hoping that it might help others, I came up with with the command
attached below. It uses Xcode to build the project, and (upon success)
hides Xcode and launches the freshly built application in such a way
that the output goes to the normal "Build With Xcode" window.
If compilation fails, it leaves Xcode in the front. I set Xcode to use
the "Condensed" layout, positioned the "Build Results" window to be
the same size and location as TextMate's "Build With Xcode" window,
and set TextMate as external editor for all source files. So double-
clicking on an error message will still jump to that location in the
code in TextMate, just like the original Build With Xcode" window
would do with a single click.
Hope that helps someone, feedback welcome.
Gerd
On 2008-07-30, at 08:55 , textmate-request(a)lists.macromates.com wrote:
> Not everyone interested in TextMate wants to hack on it.
True, but all the discussions remind me that I can!
> Mailing list says "pre-web mentality".
One of the unfortunate tendencies amongst some technologists is to
push for the same kind of "next great thing" fashion mindset that we
rail against elsewhere. This comment suggests that those who aren't
interested in a forum are somehow luddites or old-fashioned. Some
technologies work better for some functions for some people better
than others. This particular group has cohered around this mailing
list. It's entirely possible that another group would cohere around a
forum. No one is stopping you from setting one up -- Google, Yahoo,
and scores of others offer such venues for free. Notice that the best
discussions about Apple technology are not in any Apple.com forum but
in places like Ars Technica or OS X Hints, etc.
It's possible that some here would join you in a forum. I certainly
like the fact that a well-designed forum offers me a good archive that
I don't have to maintain.
john
Hi,
please see the stack trace below that I get whenever I try to commit something
with the CVS bundle. I made a fresh install of both TextMate
(Version 1.5.7 (1464)) and the CVS bundle.
Because the error occurs in the builder.rb file is this in any way related
to a provious bug that prevented the Rails plugin to run focussed test?
Thanks,
Jürgen
Stacktrace:
Users/juergen/Library/Application Support/TextMate/Pristine
Copy/Bundles/CVS.tmbundle/Support/cvs_commit.rb:99: undefined method
`keys' for []:Array
(NoMethodError) from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:227:in
`call' from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:227:in
`_nested_structures' from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:149:in
`method_missing'
from /Users/juergen/Library/Application Support/TextMate/Pristine
Copy/Bundles/CVS.tmbundle/Support/cvs_commit.rb:99 from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:227:in
`call' from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:227:in
`_nested_structures' from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:149:in
`method_missing'
from /Users/juergen/Library/Application Support/TextMate/Pristine
Copy/Bundles/CVS.tmbundle/Support/cvs_commit.rb:97 from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:227:in
`call' from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:227:in
`_nested_structures' from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:149:in
`method_missing'
from /Users/juergen/Library/Application Support/TextMate/Pristine
Copy/Bundles/CVS.tmbundle/Support/cvs_commit.rb:25 from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:227:in
`call' from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:227:in
`_nested_structures' from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:149:in
`method_missing'
from /Users/juergen/Library/Application Support/TextMate/Pristine
Copy/Bundles/CVS.tmbundle/Support/cvs_commit.rb:19
I have about 45 files I'd like to combine into one, and short of
opening each one and copy & pasting it into the new one, I don't see a
clear way to do this in Textmate.
I'm certain there *is* a way, I'm just not seeing it. Suggestions?
Thanks!
--
All about me!
http://www.leroux.ca
Hi everybody,
I have very simple question being rather new to textmate:
How do I change the key binding of command-r from "compile xcode
project" to "run the makefile in the parent directory"? Any help would
be appreciated...
Greetings,
Nick
I realize there's some kind of workaround to make autocompletion work in a
vaguely pleasant way:
http://www.nabble.com/Autocompletion-to17643856.html#a17643856
But is there a more user-friendly option. (I happen to have XCode installed
on my machine, but I imagine there are members of the target audience for
TextMate who won't.) Are there plans to make autocompletion part of
TextMate's core functionality?
--
View this message in context: http://www.nabble.com/Autocompletion-tp18700987p18700987.html
Sent from the textmate users mailing list archive at Nabble.com.
Dear all,
I'm just writing a a tiny bundle
'Copy Formatted as'
RTF
(Xe)TeX
wordml
HTML
...
I was inspired by the bundle Copy as RTF by Max Muermann (kindly
hosted at github by Dr Nic Williams) [I found it with GetBundles ;)].
This bundle works fine for RTF but it lacks UTF-8 support. Thus I
went an other way to achieve that and it works perfectly also for TeX ;)
But back to my suggestion.
It often occurs to me that I'm to write a tiny paper, article or
whatever about a piece of source code I wrote. For that purpose I
often need doctohtml.rb with line numbering. Fine. But one thing I
cannot do with it. If I write something about a piece of code between
line 10 to 20 and I want to refer to line number in my text the
default doctohtml.rb produces line numbers between 1 to 10. Due to
that fact I thought it would be nice to have an option to produce
relative line numbers.
I modified doctohtml.rb a bit to achieve that.
Here's the diff (also attached to that mail):
--- untitled
+++ (clipboard)
@@ -189,10 +189,10 @@
return lines.join("\n")
end
-def number(str)
+def number(str, rel_numbering = false)
# number each line of input
lines = str.split(/\n/)
- n = 0
+ n = (rel_numbering) ? ENV['TM_INPUT_START_LINE'].to_i - 1 : 0
lines.each do | line |
n += 1
line.gsub!(/^(<\/span>)?/, "\\1<span class='linenum'>#{ sprintf("%
5d", n) }</span> ")
@@ -255,7 +255,7 @@
end
end
- code_html = number(code_html) if opt[:line_numbers]
+ code_html = number(code_html, rel_numbering = opt
[:relative_numbering]) if opt[:line_numbers]
html << "<pre class=\"textmate-source"
html << " #{theme_class}" unless theme_class.empty?
By doing so one can call document_to_html like that:
document_to_html( STDIN.read, {:relative_numbering =>
true, :line_numbers => true, :include_css => true }
If one leaves the new option out the line numbering starts at 1.
Hopefully this tiny improvement will be accepted soon ;)
Thanks,
--Hans
Hey everybody, don't ask why, but I have to do a small project in
Silverlight :) I have read a couple of comments on blogs from Textmate
users who are doing it, but the closest I've come to any kind of description
on how to do it was from John Lam
http://hex-dump.blogspot.com/2008/03/silverlight-2-sdk-mac-os-x-and-mono.ht…
He's using mono to run chiron.exe in the Silverlight 2 Dynamic Language SDK.
Is anyone doing it any differently?
Thanks
~sean
Hi,
I don't know how to install SVN_MERGE, can you help me ?
When I click on "Show available revisions for merging", I have this message :
"Couldn't find svnmerge
If you have installed svnmerge, then you need to either update your
PATH or set the TM_SVNMERGE shell variable"
I try with Svnmerge.py (http://www.orcaware.com/svn/wiki/Svnmerge.py),
and I added the path in shell variable, but it doesn't work.
Thanks,
Cedric
I'm sure this has been asked a number of times, but I can't seem to
locate any answers after searching extensively through the list
archives and online.
I'm trying to get the web preview window to a) display relatively
linked images and CSS files, and b) process all PHP includes referred
to in the file.
I've got the first one working by using Thomas Aylott's ruby script,
but I can't seem to get the PHP includes working at the same time.
Can anyone put me out of my misery and give me an idea of how to get
this working? I've got TM_PROJECT_SITEROOT and TM_PROJECT_SITEURL set
properly.
Thanks!
Neil
Hi all,
I know the tab overflow thing has been discussed quite a bit before, but I
had a question that I couldn't seem to find the answer for.
Is there any way to move tabs with a keyboard shortcut? I often have over 35
files open at a time as I work in a project on different tasks, but often
I'll have about 15-20 of those spilled over into the overflow.
The problem is, many times I'll have multiple tasks that overlap in file
access, and I would like to move one tab next to another so I don't have to
keep Command+Arrow-ing over multiple files (which often times I don't
remember which ones are hidden behind the overflow, or what order).
The only references I've heard to rearranging tabs is to use the mouse, but
I didn't know if there is some hidden way to do this, or some other type of
work around.
Any help is greatly appreciated.
Thanks!
--
View this message in context: http://www.nabble.com/Moving-tabs-with-the-keyboard-tp18671843p18671843.html
Sent from the textmate users mailing list archive at Nabble.com.
I'd really love to be able to split the working area to allow side by
side viewing of 2 documents. I've looked and looked through the
documentation / posts / tutorials, and it seems like all that's
available is navigating between tabs?
Any ideas?
Thanks!
Michael Larkin | http://pixallent.com | mikelarkin(a)pixallent.com
> The completion command picks the current word (rather, gets the
> current word from textmate), looks that up and completes based on
> that. In this case, since - and/or : are not considered word
> characters, a label such as "here-is-a-label", if we are at "here-
> is", will be completed as if it as only showing the "is" part. So TM
> passes to the completion command the word "is", gets back the label
> "here-is-a-label", and inserts it in place of "is", resulting in
> "here-here-is-a-label". The quick fix from your side is to go to
> Textmate -> Preferences -> Text Editing, and add whatever characters
> you need in "Word Characters" box. You gain proper completion in this
> case, but you lose alt+left/right moving you through each part.
I see.
The whole point of using the colon was, of course, the ability to
navigate quickly via alt+left/right within the label/citation (e. g.
to fix something or so). It's a pity the fix is difficult,
autocompletion really rocks and has improved my workflow a lot. Now I
just stop short of the first colon, but the list is usually not short
(I'm into mathematical physics, so I have to label sections, theorems,
formulas, etc.), so it would be nice to have. But if it's just not
possible with the current methods, I guess we have to wait for the
programmer to add what we want and need ...
But in any case, thanks for the explanation. And I know now that this
is a pet peeve of others as well and not just myself :-)
> However, Ctrl+left/right should still do the right thing.
Huh? Ctrl+left/right switches spaces on my system.
Max
I'm having the same problem, I prefer using colons to logically
separate labels of any kind (including citations) so I can jump back
and forth easier (with alt + left/right), but I'd always get duplicate
parts.
A fix would be much appreciated :-)
Max