We've discovered (naturally in an unpleasant way)
that TM (1.5.10) will translate CR (0x0d) in a file to
LF (0x0a) on save - even when the Line Endings setting
"Use for existing files as well" is not checked.
This seems like a bug, as it seems the settings are to
leave existing files alone with respect to potential
line ending characters.
Is this a known issue?
Thanks much,
-eric
Hello folks.
After an extended break from Textmate I am very happy with the TM2
alpha and looking forward to getting to grips with this app again.
There was a thread in mid-December about themes where Arlo was looking
to turn of anti-aliasing. Did an answer ever come out? I'd like to
change the default Markdown presentation as I don't like different
fonts in my text files - I've searched but can't find a description of
what can and can't be amended, or how.
Thanks!
Nigel
I've the same problem. I can confirm that folders expand when opening a new
tab under certain (unknown) circumstances.
I think that the folders expansion is what makes Textmate2 not responding.
It takes some minutes to return responsive, it depends on how many folder
levels has to expand.
Being not able to find a way to collapse all the folders back with a single
command, I'm using another way to create files.
Due the fact that neither Finder allows you to create new files, I select
the folder in the TM2 project drawer and open a new terminal from TM2 using
the shift+Ctrl+O shurtcut and operate from there (also because is easier to
add them to git then).
Of all the TM2 bugs this is absolutely the most annoying and work breaking.
--
View this message in context: http://old.nabble.com/TextMate-2-freezing-when-creating-a-new-tab-in-a-larg…
Sent from the textmate users mailing list archive at Nabble.com.
Textmate's Ruby grammar appears to get confused by the
foo = {
"bar" => 42
}
but adding a comment after the closing brace throws things off:
foo = {
"bar" => 42
} # comment breaks indentation
I tend to use "Indent Line" (⌥⌘[) quite a bit, and this behaviour makes it pretty hard to easily re-indent nested data structures, e.g.
data = {
"jim" => {
"name" => "James Jameson"
},
"bob" => {
"name" => "Robert Robertson"
},
"billy" => {
"name" => "William Williams"
}
}
The problem seems to be limited to Ruby mode; other language grammars (e.g. Java, Javascript) seem to be unaffacted.
Am I the only one experiencing this? Any bright ideas?
--
cheers,
Mike Williams
Happy New Year everyone-
I know "scope" probably isn't the right word here, but this is what
I'm struggling with:
I work with a fellow who uses TextWrangler, and for a bunch of legacy
reasons, has language files (Forth) that have no extension to indicate
their contents. I'd love to be able to open these and have them
automatically be parsed as Forth source. This is an obvious solution
for a folder:
[ "cocoa/*" ]
fileType = "source.forth"
But some folders also have other file types in them with extensions:
.txt, .prf ,etc.
So it'd be great to say something like this:
[ "cocoa/*" ]
fileType = "source.forth"
["cocoa/*.{txt, prf}"]
fileType = "text.plain"
and have any text or preferences file be treated as text, and anything
else be considered a Forth source file.
Is this the way that TM2 works? Or are all specifications assumed to
be mutually exclusive?
(And if they are expected to be mutually exclusive, how are glob
conflicts handled?)
Thanks! Charles
Hi,
I'm working in a large project (3000+ files and directories) and can consistently cause TM2 to hang up under the following circumstances:
* In the project file browser, expand a large number of directories, or a very deep directory tree (not sure exactly which, but appears to be related to the number of directories expanded)
* Create a new file in a tab using Opt-Cmd-N
* TM2 freezes.
I've noticed the following symptoms (in addition to the freezing):
* The cursor is not the regular text insertion cursor but is a crosshair.
* The scroll bar in the file drawer appears to periodically jump around
* Spinning beach ball comes and goes
I'm not sure if waiting it out would work, I've waited for a few minutes before force-quitting.
The freezing, etc., doesn't occur if all the top level directories are collapsed. I can create a new document with no trouble.
This is the kind of thing I'm looking at in my project drawer when the freezing happens: http://cl.ly/382p0Z124239253E1M3o. (You can see in that picture that pretty much every directory in the tree is expanded. I think this may have happened the first time I encountered the bug, as I certainly didn't expand all those manually.)
Hopefully that will help you reproduce the bug. Has anyone else experienced this?
Adam
Hi,
Just to say there is a problem with the snippet "Insert Color..." Of Css,
when you have the 2 version of TextMate on you're mac TextMate 2 Call the
"Insert Color..." of TextMate 1 and so you loose the focus, but in the most
of case i'm unable to get the focus back and i will force to "Force Quit"
TextMate 2.
:)
Thanks.
PS : Can you give me a link to convert Tm1 Bundle to Tm2, because i can't
use "Google Closure Compiler" and it's borring to do with Tm1.
Reminder :
- File Browser, Random Expand => http://www.youtube.com/watch?v=X75SprY6nKchttp://www.youtube.com/watch?v=X75SprY6nKc
--
View this message in context: http://old.nabble.com/Insert-Color...-Problem-tp33076043p33076043.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
Like many, I have been enjoying playing around with TM2, and have founds lots of things to like; for example, the use of .tm_properties files is great, as is the new file browser. I have, however, discovered a couple issues that prevent me from using TM2 for actual work, which in turn limits my ability to test it out seriously. One of these is probably a trivial issue and the others are minor and cosmetic, so this isn't really directed at Allan (who has more important things to do). However, I wonder whether others might be able to comment:
1) None of the bundle commands seem to work for me (e.g., TODO -> Show TODO List, Python -> Run Script, Mercurial -> Status, etc.) -- they all give the following error:
/Users/pschumm/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/escape.rb:23:in `e_url': private method `gsub' called for nil:NilClass (NoMethodError)
I am using a stock Lion setup (fully updated), with TM Version 2.0 (8971). I admit that I have not tried to look into this more carefully, in large part because I am completely unfamiliar with Ruby.
2) I can't seem to get the Wrap Column indicator line to show up, regardless of what I set Wrap Column to be; also, using the Wrap Column -> Other... menu item doesn't seem to work.
3) The font rendering seems a bit odd, or at least not like it is in TM 1.5, Terminal, etc. In particular, I typically use Monaco 9 pt. with antialiasing turned off. However, when I set TM2 this way, the letters are smaller than they are in an equivalent TM 1.5 or Terminal window and the interline spacing is much larger; in addition, the letters do not appear to be uniformly spaced. Can anyone comment on the possible reason(s) for these visual differences given the same font specification?
Any comments would be much appreciated.
Thanks,
-- Phil
Hi,
Not sure if this has been reported before, but here is how to reproduce the bug:
1. Open a file a.txt with TM2 Alpha.
2. Use another program, say Vim, to edit that file while it is opened by TM2, and save the changes.
3. Switch back to TM2 and the file name (window title) becomes a.txt~.
What should happen:
TM2 should prompt to reload the externally modified file instead of open Vim's temp file.
-Yi
Hi,
Not sure how to cleanly handle this, but I think when the "matching" field explicitly asks for an extension (eg *.xib), that should overwrite "excludeInFolderSearch".
Or maybe there could be a checkbox, or a magical prefix in "matching" that disables "excludeInFolderSearch" for the search in question.
Gerd
There is definitely a bug there somewhere. Just now I had a situation where any keyboard shortcut involving "Alt" would expand a set of folders (not all) in the file browser.
After changing selections a few times in the file browser it stopped as mysteriously as it started.
On at least on two occasions before "Alt" clicking a tab's close button had the same effect.
Gerd
Hello all,
I might be missing something or maybe this feature just didn't make it to the first alpha, but is the there a way to create file in the currently selected folder?
What I end up doing is selecting folder, pressing Alt+Cmd+N to create empty file in new tab and then saving it to apply certain type. Used to be a lot cleaner in older version.
Thanks!
--
Sergey Kuleshov
Not sure if this is a problem with TM2 or the Python grammar, so I’m asking here first.
If I have something like this in a Python script:
# temporarily commented code # followed by an actual comment
the indentation when wrapping is based on the second ‘#’. For example:
I don’t see this behavior with lists in Markdown, so I suspect it’s a problem with the Python grammar. Should I open an issue on GitHub? Thanks.
--
Rob McBroom
<http://www.skurfer.com/>
Hi Adam,
Thank you for your answer. The thing is that the function name is arbitrary(determined by the programmer just like freely named variables)
I can define a function with:
function xyz_any_function_name
...code
end function
The word function and end function are defined as reserved keywords and as such get a color blue(or whatever)
What I was hoping to have is have the arbitrary name of the function "xyz_any_function_name" have a color red when it's defined(after the word "function") or when it's called(after the word "call".
Is that possible?
Thanks
John
________________________________
From: Adam Strzelecki <ono(a)java.pl>
To: John Relosa <john.relosa(a)yahoo.com>; TextMate users <textmate(a)lists.macromates.com>
Sent: Thursday, December 29, 2011 8:55 AM
Subject: Re: [TxMt] Coloring for a function call
> How would I make it so the "my_function_name" has a different color after the "call" keyword ?
I guess you need to group the function name via your lang grammar regular expression and assign some scope to it like "support.function.any-method.yourlang", similar way as you already do keyword scope assign for `call`.
By default themes expect "support.function" scope prefix for standard built-in functions (like time() free() malloc() for C), and "support.function.any-method" prefix for other non-standard, non-built in, user defined functions.
Regards,
-
Adam Strzelecki
Message: 9
Date: Wed, 28 Dec 2011 08:45:02 -0800 (PST)
From: John Relosa <john.relosa(a)yahoo.com>
To: "textmate(a)lists.macromates.com" <textmate(a)lists.macromates.com>
Subject: [TxMt] Coloring for a function call
Message-ID:
<1325090702.17456.YahooMailNeo(a)web121902.mail.ne1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
Hello,
I am trying to create a bundle where in the particular language after a function definition you would call that function with:
[code....]
function my_function_name
.
.
code
.
.
end function
...more code...
call my_function_name
[/code....]
Now for the question to the TxMt gurus:
How would I make it so the "my_function_name" has a different color after the "call" keyword ??
I have already made the "call" to be a reserved keyword colored blue but if would be nice to have the "my_function_name" function colored red or some other catchy color after the word "call"
Is that possible and what would be the syntax for the bundle?
Thanks in advance.
John
I found Softwrap in Textmate2. This is very useful but for me it is better to have sudo tabs in adjacent line as follows.
before soft wrap
---------------------------------------------------------
class Textmate
def initalize(options = {})
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
if yyyyyy
ooooooooooo
else
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
end
end
----------------------------------------------------------
after soft wrap
----------------------------------------------------------
class Textmate
def initalize(options = {})
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
if yyyyyy
ooooooooooo
else
ccccccccccccccccccccccccccccccccccccc
ccccccccccccccccccccccccccccc
end
end
----------------------------------------------------------
I think this should be idealy as follows
----------------------------------------------------------
class Textmate
def initalize(options = {})
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
if yyyyyy
ooooooooooo
else
ccccccccccccccccccccccccccccccccccccc
ccccccccccccccccccccccccccccc
end
end
----------------------------------------------------------
How do you think guys?
I have changes now for the Lilypond and LaTeX bundle that I'd like to share.
Are the TM2 "Managed Bundles" at <https://github.com/avian> the
correct place to target?
I didn't see my bundle for Forth there, and I've also made changes to
it. Where's it located?
Thanks!
Charles
Is there a way in Textmate to easily promote or push files from a
development folder to a live folder? Both folders are mapped as network
shares on my Mac, and I just want a way to easily copy the file I am
currently editing in development to a mirrored folder on the live share.
Dreamweaver has this type of "put" functionality built in. Seems like
this would be a common task that many devs would like to automate, so I
have to assume there is a way, but I have not come across it yet.
In TM2 when I open a new window and then open the file browser for that
window, the file browser shows my home directory at the top and then
proceeds to churn away (I guess it is indexing the folders?) and it expands
each and every folder recursively which takes a long time. While this is
happening TM is not usable as I get the spinning wheel. Plus when it has
finished all of the folders are expanded which makes it quite difficult to
browse files without manually collapsing each folder.
I'm first time on TM mailing lists, so don't kick me hard.
I'm wondering if it is possible to add hotkey to switch between File Browser and File View Window?
Also would be cool to be able to open file with a hotkey from File Browser.
Maybe this is odd, bud I didn't find it in archive.
Thanks!
One thing I am missing in TM2 is "Save files when focus is lost".
I'm finding it very difficult to teach myself to edit > save > test in
browser....
Am I missing where that can be set?
If it's not a current feature then I'll toss it on the request pile.
Thanks,
J-
Since C grammar is intended to be the base for other grammars such as C++ or Obj-C it uses `include = '$base'` instead of `include = '$self'` for all recursive sub-block parsing to point back to original grammar (if possible). This works perfectly well for standalone C or C++ file, however when trying to embed C source into other language we get a problem, i.e. for Ruby grammar:
# trying to embed something into Ruby
variable = <<-C
/* we are parsed by C grammar here */
enum {
/* ooops this comment isn't parsed anymore by C grammar but Ruby again! */
}
C
Problem is on '{' which starts new C block, that does `include = '$base'`. Unfortunately $base is Ruby here not C. Same if we change C into CPP in the example above, $base is still Ruby.
I can see two solutions here:
(1) caller should be able to block/change $base i.e. using some new keyword:
{ safeInclude = 'source.c'; }
or
{ base = 'source.c'; include = 'source.c'; }
(2) callee should be able to specify language grammars that are allowed to be base for it.
Or maybe there's already some undocumented solution?
Cheers,
--
Adam Strzelecki
Hello,
I am trying to create a bundle where in the particular language after a function definition you would call that function with:
[code....]
function my_function_name
.
.
code
.
.
end function
...more code...
call my_function_name
[/code....]
Now for the question to the TxMt gurus:
How would I make it so the "my_function_name" has a different color after the "call" keyword ?
I have already made the "call" to be a reserved keyword colored blue but if would be nice to have the "my_function_name" function colored red or some other catchy color after the word "call"
Is that possible and what would be the syntax for the bundle?
Thanks in advance.
John
> I should have mentioned that if I turn soft-wrap on, then the right margin indicator becomes visible; it's only when soft-wrap is off that it's invisible. Unfortunately, that's exactly when you need it.
I have the exact same issue and it seems small but it's pretty much the only thing stopping me from using TM2 full time. Any clues how to turn this on or when it might be implemented/fixed?
Hi all,
Just downloaded and started using TM2, and I've found an issue when opening a new tab.
When hitting Option + Command + N, a new tab is opened, but also all of the folders in the file view on the left become expanded. After this TM2 becomes unresponsive and I have to force close it.
Has anybody else experienced this issue?
I'm running TM2 v2.0 (8956) on a MacBook Air with Lion 10.7.2.
Cheers,
Gaz.
First time posting to the list - please be gentle....
So, I open a folder into Textmate2 (8971) and set View...Soft Wrap to off
(unchecked).
Do some work...open another file...go back to the original file, Soft Wrap
is now checked without me doing anything to turn it on.
Am I missing something? Is this a case where I need a .tm_properties file
in the folder I'm working in?
(Otherwise I'm really liking how TM2 is working so far)
J-
Hi,
since the first "official" Alpha version, TM2 allows themes to resize text in certain scopes (headers, etc.). The markdown bundle does this, for example. Is it possible to completely disable this feature, as I generally don't find it very pretty (which seems like a tuning issue) and it does have some weird issues with code blocks (erratic resizing of single lines)? I couldn't find it in any of the tm_properties guides.
Best regards,
Florian
Hiya
Is there a setting to tell TM2 to always highlight the file in the
project pane which corresponds to the currently active tab? (In TM1
you could trigger this with a menu command, but personally, I'd prefer
to have this done automatically since it's very handy in bigger
projects which contain identical file names.)
Cheers, -sven
Hi,
just started to look at TM2 and I am getting some problem.
Whenever I click on the wheel in the status line at the bottom of the window I get this popup window:
and nothing else happens. What am I doing wrong?
JF
With TM2, it doesn't seem to honor my KeyBindings like 1.5 did, specifically, my emacs-like settings.
For instance, ^v and meta-v do not pageup/down as is specified in my DefaultKeyBinding.dict file. Another, ^k will delete the text on the line, but ^k on an empty line will not remove that line (this is particularly annoying because the only way to remove a line is select and delete it). Furthermore, I used to use ^w and ^y for yanking and putting text, but these don't seem to work any longer.
Anyone else seeing behavior like this? Is there something I am missing? I haven't changed my DefaultKeyBindings, and the behavior is fine in other Cocoa apps and TM1.5.
For now, I will assume it is just an alpha bug...
Thanks,
Brian
Hello,
I supposedly have TextMate 2 bound to a single Desktop, but when I
launch TextMate, or run `mate file` to open a file in an existing
session, then that it will open on the current Desktop, ignoring the
setting. Essentially, TextMate always behaves as if the Desktop
affiliation is always None.
OSX 10.7.2.
-MinRK
>
>
>
I'm using python 2.7.1
I can duplicate your result with your script. But if you edit the script
to:
if __name__ == "__main__":
"""docstring for main"""
assert 1 == 2
I see a result of: (also attached)
Assertion Error:
My expected behavior is the output your original script produces.
Thanks
First, I'd like to congratulate Allan on an amazing job on TM2. It is truly
a pleasure to discover / re-discover textmate.
I was wondering where the mate command went in the 8956 version. When I
install mate into ~/bin it symlinks to
mate -> /Applications/TextMate.app/Contents/Resources/mate
except when I look in Resources I don't see it in there.
-bakki
.--.
|o_o | -Bakki Kudva
| :_/ | Navaco, LLC
/ / \ \
(| | )
/'\_ _/`\
\___)=(___/
Greetings. Does anyone know a way to get TM2 to display the full Traceback
for the Python bundle "Run Script (cmd r)". Example:
assert 1 == 2
Traceback is:
Traceback (most recent call last):
File "~/Desktop/test.py", line 1, in <module>
assert 1 == 2
AssertionError
But in Textmate 1 & 2 is converted to:
Assertion Error: (adds colon)
Any guidance would be greatly appreciated. Happy holidays.
How does one create new bundle items within a menu structure? I'd like to
organize my personal bundle with top-level categories like ("HTML Tools",
"Text Tools", "Perl Tools", etc.). When I imported my personal bundle from
TM1, most of the structure was preserved, but whenever I create a new
command, a new snippet, etc, the new item always goes at the top-level, and
I haven't figured out any way to move the new item into my
existing/preferred structure.
Thanks for any help/suggestions.
Loving the new TextMate!!!
-----
--
Jake Coughlin
(coughlin_jake(a)yahoo.com)
--
View this message in context: http://old.nabble.com/TM2-Bundle-structure-tp33037064p33037064.html
Sent from the textmate users mailing list archive at Nabble.com.
On one of my two machines, TextMate 2 silently fails to load a number of
bundles. The LaTeX bundle was the first culprit I noticed.
As is visible here, it purports to be installed, but does not appear in the
file mode popup:
https://skitch.com/jrk/gu97u/screen-shot-2011-12-25-at-4.09.54-pm
(Similarly, if I select the LaTeX bundle when prompted on first opening a
.tex file, the sheet stalls forever with a full progress bar and the window
never renders the contents of the file.)
A few related oddities:
- A string of logged errors which seem to relate to the bundle installation
12/25/11 4:01:18.309 PM [0x0-0xd10d1].com.macromates.TextMate.preview: ***
swap_and_unlink(‘/var/folders/b0/j00c1y2j07ncwjgr2kmfw6bc0000gn/T/TextMate_dl_save_filter.BOPNSn’
→ ‘/Users/jrk/Library/Application
Support/TextMate/Managed/Cache/org.textmate.updates.default’): No such file
or directory
12/25/11 4:09:41.050 PM [0x0-0x35035].com.macromates.TextMate.preview:
error with swap_and_unlink:
/var/folders/b0/j00c1y2j07ncwjgr2kmfw6bc0000gn/T/TextMate_dl_bytes.omR0lQ →
/Users/jrk/Library/Caches/com.macromates.TextMate/Bundles/LaTeX
(2011-11-13).tbz
- Installing the LaTeX bundle on this machine automatically installs Java
and JavaDoc first, and R after. On my other machine (with a largely
identical configuration, but where this works), it installs one or two
random, seemingly unrelated dependencies, but not all three. (In
particular, it didn't seem to install the R bundle.)
This happens on a bare guest account, after wiping all settings and caches,
rebooting, etc., and happens identically in all 3 alpha builds I have seen
since the release.
Ideas?
Hello all, I was playing around with the new indented soft wrapping feature
in TextMate 2, and I'm a little confused with how this is supposed to work.
In http://article.gmane.org/gmane.editors.textmate.general/33488, Allan
said that the `format` value is expanded and prepended to each wrapped
line. However, try doing this: go into the bundle editor and edit Source >
Settings > Style: Line Comments - Slash, change the format string to
'${0/./a/g}', and save. Then open up a blank document with the language set
to C, hit tab a few times, and type a comment that extends past the
wrapping marker. When I do this, it appears that the `format` string is
being expanding and *appended* to each wrapped line, but that a number of
whitespace characters equal to the length of the `format` string are also
being *prepended* to each wrapped line. Is that what's supposed to happen?
Here's exactly what I see if I set the wrap column to 40 and put 8 spaces
before the beginning of the comment:
// Lorem ipsum dolor sit amet, aaaaaaaaaaa
consectetur adipisicing aaaaaaaaaaa
elit, sed do eiusmod tempor aaaaaaaaaaa
...
Is anyone else seeing this behavior as well? I ran across this while trying
to change the settings so that soft-wrapped comments had some sort of
"ghost" comment marker placed at the beginning of each line, for example
some kind of vertical ellipsis like a tricolon ⁝. Is it possible to achieve
that kind of effect with the new soft-wrapping system? Thanks for any
comments!
-Daniel
Hi,
Is it possible to bring back "Replace & Find" and "Replace" buttons in the
search window of TextMate 2.0?
Actually, there're only "Find All" and "Replace all" which is not
sufficient.
Thank's
--
View this message in context: http://old.nabble.com/TM2%3A-%22Replace---Find%22-button-tp33026608p3302660…
Sent from the textmate users mailing list archive at Nabble.com.
On Monday, December 26, 2011 at 12:13 , textmate-request(a)lists.macromates.com wrote:
>
>
> And how do you open the selected file in the file browser using the
> keyboard? ('enter' (or any combination of modifiers + 'enter)' just points
> to a renaming the file.)
>
> --
> Ja'far ibn Richard Railton
> +44 (0)7 85 79 85 426
> ibn.richard(a)gmail.com (mailto:ibn.richard@gmail.com)
>
After I upgraded to Lion, which has Ruby to 1.9 instead of Ruby 1.8, the
command "Environment Closer – \end{…}" (⌥⌘.) in the LaTeX bundle fails
with the following error:
TextMate.app/Contents/SharedSupport/Support/bin/checknest.rb:44:
syntax error, unexpected ':', expecting '}'
when /^-l(\d+)$/: levels = $1.to_i
I'm using TextMate 1.5.10 (1631).
Here is diff that fixes this error:
--- checknest.rb 2011-03-15 08:57:48.000000000 +0100
+++ checknest.rb 2011-12-23 10:17:00.000000000 +0100
@@ -40,11 +40,11 @@
debug = false
ARGV[3..-1].each {|e|
case e
- when /^-n(\d+)$/: num = $1.to_i
- when /^-l(\d+)$/: levels = $1.to_i
- when /^-e(.+)$/: error_text = $1
- when /^-p$/: pass = true
- when /^-d$/: debug = true
+ when /^-n(\d+)$/ then num = $1.to_i
+ when /^-l(\d+)$/ then levels = $1.to_i
+ when /^-e(.+)$/ then error_text = $1
+ when /^-p$/ then pass = true
+ when /^-d$/ then debug = true
end
}
Regards,
Freek Dijkstra
Hi,
- How about allowing a bundle command to run when a user opt and/or shift clicks on a file in the file browser sidebar? That would enable bundles to show an alternate view, for example the git bundle could show a diff when I opt-click a file in the file browser sidebar.
- I think a "Reveal in file browser sidebar" command would be useful.
Thanks
Gerd
>
> On Sunday, December 25, 2011 at 16:43 , Randy Ridenour wrote:
> > Quick question: is there a keyboard shortcut to make the file browser
> active? It can be opened with the keyboard, but I've yet to find a way to
> make it active except by clicking on a file with the mouse.
> >
> > --
> > Randy Ridenour
> >
> Never mind -- I found it in the latest release notes. Control-tab.
> Thanks,
> --
> Randy Ridenour
And how do you open the selected file in the file browser using the
keyboard? ('enter' (or any combination of modifiers + 'enter)' just points
to a renaming the file.)
--
Ja'far ibn Richard Railton
+44 (0)7 85 79 85 426
ibn.richard(a)gmail.com
Dear all,
First, thanks to Allan and everyone at Macromates for an amazingly
stable alpha release, with lots of new goodies/features to use.
Second, a couple of specific queries:
* I note that the emacs binding C-k deletes from the caret to the end
of the line, but C-y just inserts "TODO"; I assume that's a message from
the developer, but I want to check...
* Another emacs-related keybinding I miss is using C-s to continue
searching after the first use of C-s. Now, it seems that you have to use
<tab> after you first use C-s to bring up the search-in-doc box at the
bottom of the window.
Finally, more generally, is there any documentation for what can go into
a .tm_properties file, either official or just samizdat?
Thanks, and appropriately happy holidays to all,
Andrew
Quick question: is there a keyboard shortcut to make the file browser active? It can be opened with the keyboard, but I've yet to find a way to make it active except by clicking on a file with the mouse.
--
Randy Ridenour
Hi,
I think that the theme menu item could be moved to its own tab in
Preferences. There a radio button choice list could show the theme
immediately when chosen. It would feel more natural there. What do you all
think?
bakki
.--.
|o_o | -Bakki Kudva
| :_/ | Navaco, LLC
/ / \ \
(| | )
/'\_ _/`\
\___)=(___/
Hello,
I'am now using TM2 as my main editor, and I am quite happy with it.
I noticed a annoying problem :
I edit a lot of HAML files, where the indentation id syntactically relevant.
Sometime when I edit a line, the line step back by one tab left.
I can reproduce it easily :
- @countries.each_with_index do |country, index|
>
> - unless
>
>
Making a backspace at the end of the "unless" line make the line go left by
2 chars.
I have setup soft tabs of 2. This is using the Ruby Haml bundle.
Any idea ?
++
David
Finally having a go at TM2 and I may have miss any tips on this in the past flurry of emails on this subject so sorry if it has already been posted. I've set up both alias' and symbolic links of directories I frequently use into a "Working" directory. However I find I can't keep that directory as the root (or home) directory. The alias/linked folders are not expandable. Clicking on them takes me to the original folder which makes setting up a "Working" directory less than useful.
Is there a .tm_properties I can set or another way to keep allow alias/links to drill down like a regular folder?
Ed Wong
Hi all,
I was wondering whether something like the Live Web Preview
available in TextMate 1 will be present in TextMate 2?
I was (ab)using this functionality (and its `Pipe text
through (command)' option) to implement live LaTeX editing
and previewing with TextMate 1 (the preview would basically
update after every keystroke, no need to save the document).
This worked so well, it became my primary use case and killer
application for TextMate.
In TextMate 2, I noticed a `Show Web Preview' command in the
HTML bundle, but the preview would neither update automatically
nor is a `Pipe text through' option provided.
It would be more than sad to see this functionality go away...
Cheers and keep up the good work,
--Torsten
--
| Torsten "Teggy" Grust
| Torsten.Grust(a)gmail.com
Hi All,
In TM1, this command:
mate path/to/dir1 path/to/dir2
used to open both dir1 and dir2 within the same TM main window
In TM2, this command:
mate path/to/dir1 path/to/dir2
opens two distinct windows, one for dir1, one for dir2
How to restore the behaviour from TM1?
Thanks.
Another unrelated question:
What is the rationale that defines where the textmate configuration is
set? For example, the antialias font settings is defined system-wide
with the user "defaults" command, while the font family is defined
within a .tm_properties file. From a very high level, this seems quite
weird - although I'm sure there is a good reason to do so, it does not
seem easy to remember where each setting should be set.
Cheers,
Manu
Hi all, I have the following line and nothing else in ~/.tm_properties :
softWrap = false
However, when I launch TM2 (with no documents previously open in the
workspace), it shows an untitled document with Soft Wrap enabled, set to
wrap at the window edge. Is that supposed to happen? If it is supposed to
happen, is there some other way to have soft wrap turned off by default?
Thanks!
-Daniel
Show Scope (HTML) in the "Bundle Development" bundle appears to be broken, it always displays an alert "Could not locate your theme file!" independent of the chosen theme.
Gerd
Hi,
I heard that Michael Sheets is coordinating bundle development. Could you or somebody who knows some detail give a short information on the status and future of the LaTeX bundle for TM2.
Best
--
Christian
-We've really achieved the ideal of what I wanted Microsoft to become.-
Bill Gates, June 2008
Hi All,
Some observations and comments regarding the output window:
- It would be cool if each command could select it's placement (window, right, and consequently there should be left and bottom as choice as well, plus a choice to use a truly individual window instead of reusing the same output window). This could be handled via the "Output" drop down in the bundle editor.
- long running commands (I have an Xcode build & run command that produces "clickable" log messages) prevent switching to another 'tab' in the output window (eg the little arrows in the bottom left don't work)
- randomly a command seems to clobber another output window instead of opening a new 'tab', have not figured out the exact circumstances. Also maybe real 'tab's instead of just the little triangles at the bottom of the window.
- I often run multiple targets from the same project. With TM1 I simply had multiple output windows to track their output, TM2 no longer lets me do that: I can't have multiple windows, and it seems to only allow one task running at the same time.
- I seem to recall that in TM1 I could target a specific window by using a specific title, doesn't seem to work in TM2.
Gerd
Hi,
Firstly, loving the new Find in Project interface, particularly the live preview for Replace All.
However, having a problem where Find All makes some really wacky selections. For example:
As it turns out, lines 90 and 94 can't possibly exist in this file—it only has 59 lines! If I re-run Find All it then selects the correct lines and marks them with a star in the gutter.
Consequently, if I run Replace All when the weird or non-existant lines are selected, I get some incredibly strange results, like my replacement text being inserted at a random place in a line I never selected.
This is a large project with 3000+ files and directories.
Is anyone else having problems like this?
Adam
Anyone else having trouble saving files on remote file systems using
macfusion sshfs?
On save I'm getting "The document could not be saved. Setting extended
attributes: Attribute not found" though the file is saved.
I tried the old "defaults write com.macromates.textmate
OakDocumentDisableFSMetaData 1" from TM1 but that didn't seem to work.
Any thoughts? I've got "Ignore Apple double Files" check in macfusion
which is probably causing the problem, but unchecking it makes things
much too slow when using macfusion.
Cheers
Alex
--
-------------------------
http://zero-dev.co.uk
alex(a)zero-design.info
mob. +44 (0) 785 216 7005
hello,
is it ok to do some shameless advertising for a little shell script i
wrote? i've ported the rmate script to a shell script (bash). it's not
my intention to replace the original ruby script, however: i needed
something with as few dependencies as possible, because i do not want
-- or am even unable -- to install ruby on every machine i would like
to have this functionality on.
i am no expert in shell development, so my script may contain serious
flaws (use with caution ;-) ). i have tested it on ubuntu 10.x, irix
6.5 (with nekoware bash) and osx. requirements are a bash with support
for the "magic" device "/dev/tcp" and some standard unix tools.
feel free to fork it on github and improve it :)
https://github.com/aurora/rmate
thanks,
harald
For textmate2 I do like how the bundles have been centeralized, but I am
wondering how do I import either 3rd part bundles such as the html5 bundle,
and / or bring back in a lot of my old tab triggers.
Take for example, since using textmate for so long I don't remember how to
make a UL list. So I would type ul ->(tab) and it would give me a ul with 1
li event.
Then for the rest of the list I would go through and type - li ->
The same would work for template -> img -> a -> etc.
Really you guys are doing a great job with the textmate2 alpha, and I love
rmate!
-Thanks,
Tony Spore
When I'm opening even small files (~200 lines), I can see each line change
from default color, to the color of the selected scheme. Any chance that's
going to improve?
The Bundle Development command "Show Source (HTML)" dies if it can't find
the TextMate plist. I added a check for the TM Preview plist, which fixes
the bug for me. Here is the git repo (should be ready to go in your
Avian/Bundles folder):
http://github.com/SSSSSmokey/Bundle-Development.tmbundle
Let me know if there are any problems.
Brandon
Hi,
latexmk does not work properly when checked in the prefs. Having a document with biblatex/biber it does not run as much as needed.
What are the plans to update the provided latex bundle? Does any other bundle exist for latex?
Best
Christian
Hi,
I want to duplicate each line where a certain string occurs.
* I select the text I want to search for and type Cmd-E
* Cmd-F to find all in the document
* Shift-Cmd-L to select the entire line for each occurrence
At this point, I typed Shift-Cmd-D expecting a duplicate of each line to be inserted below their respective selections. I received this error message:
I assume this is because the command doesn't (yet) support duplicating lines with multiple carets.
Adam
hello,
while the new "smart folder" feature where you can see uncommited/
untracked files is a great addition to TM2, it's very unconvenient to
use, if your project follows a modular approach. my projects for
example are always built from several generic modules, which have
their own git repositories. so the directory layout i am using is
something like:
work
|
+- module1
| + .git
| + ...
|
+- module2
| + .git
| + ...
|
+- module3
| + .git
| + ...
...
i've opened my "work" folder in TM2's file browser, but i cant use the
"smart folder" functionality here, because there is no ".git"
directory here, but each module has a ".git" directory. now to see the
uncommited/untracked files, i apparently have to navigate to each
module first to have the "smart folder" functionality. any chances
that this could be expanded, that you could have a summary of all
uncommited/untracked files from the parent directory ("work" in this
case)?
thanks very much!
harald
Failure running “Duplicate Line / Selection”.
Duplicate Line / Selection:16: undefined method `[]' for nil:NilClass
(NoMethodError)
@Adam Sharp, I couldn't see your error message but this is the error I get.
Brandon
Hi,
I don't know whether I'm missing something or just trying to use
something not yet implemented, but I can't seem to set any http_proxy
settings. I've tried:
TM_HTTP_PROXY = ****PROXYSERVER***:3128
http_proxy = ****PROXYSERVER***:3128
in my .tm_properties file and as variables in the preferences pane.
But neither seem to work - I can't for example connect to the macromates
download server to check for new releases.
This has the side effect that when I try to enable a theme I get the
message 'Installed Birds of Paradise' but the check box instantly
un-checks it's self and I get the message:
19/12/2011
12:20:15 [0x0-0x13b13b].com.macromates.TextMate.preview[25857] *** error
downloading
‘http://updates.textmate.org/Bundles/Birds%20of%20Paradise.tbz’:
couldn't connect to host
in the console log.
As a text I checked and unchecked the 'Theme' option in themes and that
then became disabled too. Obviously it's pretty easy to fix all the
symptoms, but it'd be great to get the core functionality working.
Any hints?
Cheers
Alex
p.s. (yes my .bash_profile has "export http_proxy=....
I'm getting Error moving current version. Error: Permission denied when I get
prompted to install and replace to the latest build of Textmate 2. I even
tried in a user account that has admin privileges and still get the same
error. Any advice?
--
View this message in context: http://old.nabble.com/Unable-to-update-to-newer-builds-of-TM2-tp33012846p33…
Sent from the textmate users mailing list archive at Nabble.com.
Is it possible to fill .tm_properties with (my/user defined) default values instead of an empty file?
(And maybe somewhere a visual notification so you can see a .tm_properties file is parsed and/or applied it's variables
regards,
Jasper van der Meulen
I've add the Java.tmbundle and Scala.tmbundle to ~/Library/Application
Support/Avian/Pristine Copy/Bundles but they won't show in Textmate 2. Oddly
the groovy.tmbundle added in the same manner works as expected.
What could be wrong here? The permissions look OK. The bundles show a check
next to them in Preferences, but they have no listing under the Actions
menu.
--
View this message in context: http://old.nabble.com/Bundles-won%27t-install-in-TM2-tp33005251p33005251.ht…
Sent from the textmate users mailing list archive at Nabble.com.
TextMate 2 looks awesome! Just got to play a little with it ... :)
I really like the way bundles are installed from Prefs.
I tried enabling the ReStructuredText bundle, and I found an error, it seems.
It showed up when I tried to launch preview, I got:
Failure running "Preview".
This command requires ‘rst2html.py’ which wasn’t found on your system.
The following locations were searched: /usr/bin, /bin, /usr/sbin,
/sbin, /Users/phil/Library/Application
Support/TextMate/Managed/Bundles/Bundle
Support.tmbundle/Support/shared/bin.
If ‘rst2html.py’ is installed elsewhere then you need to set
TM_RST2HTML in Preferences → Variables to the full path of where you
installed it.
I'm not sure this needs to be reported here, maybe it's just something
in the readme of that bundle or something the right person is aware
of, but just in case, thought I'd report it ... :)
BTW: The .tm_properties file, where do I put it if I want to define
something to be default everywhere?
Or is this file just for folder properties that deviates from the
default settings?
Some of the possibilities looks really nice. If people need this
project functionality back, maybe a gui/drag&drop frontend to
.tm_properties could do the trick? (Drag&drop excludes etc, turn
on/off different settings.)
--
Phil
In TM1 "Open Recent" would not collect any file opened from the project viewer. I found that more useful, as it accumulated all my projects over time while in TM2 it has all the useless individual file entries.
And as others mentioned:
- I'd rather have single-click than double-click to open a file
- Closing the last tab should not close the window
Not seen this mentioned: how do you add a new file to a given folder? "New File" is missing from the context menu...
Gerd
Probably all known, but just in case:
- Disabled item can no longer be selected, so it can't be re-enabled...
- If Grammar A includes Grammar B, and both bundles define a folding setting with the same scope selector, B's folding rules are picked up. I had expected that to be A's folding rules, so it is easier to overwrite a stock bundle's rules without having to modify the stock bundle itself by disabling the folding setting.
- Support files can't be edited in the bundle editor.
Gerd
Hi,
When selecting a line via triple-click, then extending the selection by shift-clicking on another line, the behavior changed.
TM1 (and other OS X apps like TextEdit) would select everything in between plus the ENTIRE clicked line.
TM2 only selects up to the clicked point.
Same for double-click selection (select word): TM1 and others select the entire word when shift-clicking, TM2 only up to the clicked point.
Should probably be changed to behave like TM1 did to be in line with expected behavior on OS X.
Gerd
Hey, it's great to see TM2 out in the wild, but I have a question: I've
always used TM's open-folder-as-project approach, and now in TM2, when I
have a folder open and I close out the last open document, it automatically
closes the project view.
Is there some way to stop this behavior? It's very frustrating.
Thanks.
--
Wells Oliver
wellsoliver(a)gmail.com
Hi,
Not sure if this is a known issue. Could not find it searching for it..
It seems to be TM2 related (as far as I know). When using (':') in JS code the colors get messed up using every theme.
See screenshot: http://i43.tinypic.com/w9wmyp.png
Pretty annoying. Any way to fix this?
Rolf
Is there a way to delete the current line like CTRL+L in Geany. (Im coming
from Geany on Ubuntu to TextMate on Mac)
---------------------------------------------------------
Thanks & Regards
Anjanesh <http://anjanesh.com> Lekshminarayanan <http://anjanesh.co.in>
Hi,
I really like the TM2 alpha. Lots of great stuff, and it has generally been pretty stable for me.
I'm having some weird behavior with saving in textmate 2. Some files I save seem to magically acquire executable permissions (i.e. the file mode gains +x on user, group and other) when I hit save. This is a little annoying (nosetests doesn't pick up files with executable permissions by default) and possibly a security hole. However, it only seems to happen to *some* files and *some* saves. I can't even seem to reproduce it regularly.
Has anyone else seen this behavior or been able to reproduce it in a given context? I'd love to at least be able to track this behavior down and understand when/why it happens.
Thanks,
Alex
You can call upon the ?mate? shell command available via %x{
> "$TM_SUPPORT_PATH/bin/mate" ?file? }.
Thanks, guess I couldn't see the tree for the forest on that one.
> You can run scripts from other bundles. You need to setup a requirement in
> the plist and then you get the TM_?bundle?_SUPPORT_PATH which you can then
> use to access the script ? I believe exact details are in the help book.
Thanks, I am interested in this as well but my main goal here was to get
output into both the document and the web preview. If I could run, for
example, build and then preview as html, I was hoping to sneak around the
'one output' idea. I would love to be able to build some sort of highly
interactive debugger / TextMate management tool written in javascript and
accessed through the web window. Especially intriguing to me was the idea
that I might be able to simultaneously run a command and without affecting
it's operation provide statistics or debugging information in the web
window. Once I get more familiar with the UI scripting features I'll see
how far I can take that idea.
---
I have created a simple bundle (just 1 command) that will add some support
for tm_project files to TextMate 2. Right now, it will open up a folder
from the project if it finds one that exists, and the files that were open
when it saved. Any information regarding issues installing or using it or
suggestions for improvement are much appreciated.
http://github.com/SSSSSmokey/TM_Project.tmbundle
---
Brandon
TM2 bug report; I haven't seen this one go by yet.
Repro steps:
1) Open a TM2 window on a directory, e.g. via 'mate somedir'
The file browser should be open at that directory
2) Open a second window on another directory, e.g. via 'mate somedir2'
3) Open a few files in each window for good measure
4) Close the file browser pane in the first ('somedir') window,
via View -> Hide File Browser or shortcut
5) Exit TextMate
6) Start TextMate
7) Observe: TM2 reopens windows that were present when it last exited.
8) Open file browser in the first window (aka 'somedir')
Expected result:
The file browser for the window with files from 'somedir' should retain its
state from the prior session, opening to 'somedir' or the last directory it was
viewing.
Actual result:
The file browser in question opens to the user's home directory.
1) Help issues with current beta
I noticed this morning that help appears to be broken in Version 2.0 (8956).
When I asked for Textmate help in TM2 in the help menu it said that help
wasn't available.
Then I typed something into the search box in the help menu, which showed
some matches, and then I selected "show all help topics" and the help for
TM 1.5 was displayed, and now when I ask for Textmate help in TM2 the TM
1.5 help comes up.
The previous version seemed to have separate help, albeit rather brief, and
a bit cryptic.
2) File open dialog
I was playing with the dialog box that comes up when you cmd-T. I've been
using Geoffrey Grossenbach's PeepOpen for 1.5, I like the new dialog which
allows you to do things like putting in partial directory paths in the
search box.
But I'm a bit confused by the tabs at the top. I'm seeing three tabs. The
first two always seem to have the same name which is the name of the
top-level directory in the file browser, and the third says open files. I
suspect that the double tab is a bug. Also it seems to be 'indexing' that
top level index when I bring it up, which is taking a LONG time when that
top level directory is my home directory, it seems to be scanning all my
music, my mail.app mail folders etc.
--
Rick DeNatale
Google+: +Rick DeNatale <https://plus.google.com/102541178931067955550>
Blog: http://talklikeaduck.denhaven2.com/
Github: http://github.com/rubyredrick
Twitter: @RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
I just update tm2 to the new version i can't do a pull/fetch/push using
git because he don't take my privatekey ! But in the previous version this
working ^^
I check the path of git, it's ok a commit for example work, if i push
myself in the terminal it's working.
Maybe someone have a idea ?
Is it just me who hates the new tabs in Textmate 2?
The new tabs are:
1. Black on dark grey, which makes it hard to read the name of the file.
2. The click area for the tabs are also much smaller.
3. It starts from the top of the file browser.
Images are attached for comparison (new tabs.png and old tabs.png). The old
tabs, in comparison:
1. Black on light grey, much easier to read.
2. The click are for the tabs are much larger.
3. Starts at the top of the editor.
Anyway, I photoshopped something up, for your consideration, Allan. It's
the new Textmate with the old tabs (please don't read the bad code).
See attached (textmate-photoshop.png) - I don't know if I should post this
here or elsewhere. If the mailing list does not accept attachments, see the
photoshopped version here: http://rickchristie.com/textmate-photoshop.png
Best,
Rick
Hi,
I know that TM2 currently does not support Lion-only features like full
screen.
I'm working with Lion and a US keyboard and I don't manage to open the
characters popup. When long-pressing a key, the letter is just repeated
like before Lion.
I hope there is a workaround for this or there will quickly be a fix
because the characters popup is really handy for everybody working with non
english text...
Sincerely,
--
Nicolas Blanco, Web developper
http://www.nicolasblanco.fr
Jabber/GoogleTalk : slainer68(a)gmail.com
Twitter : http://twitter.com/slainer68
Github : http://github.com/slainer68
Skype : slainer68
Hi, I like to have a project rooted at ~ only showing hidden files and
directories, so I can manage my unix profile stuff easily. However I'd
prefer those settings to not reach down to the subdirectories where they
don't make much sense. I'm curious, is there a way to take care of that
without needing to change the includes in each subdirectory .tm_properties?
Like make a scope that only affects my home directory, and put my include
settings in that scope? Thanks for your help.
Special thanks to you Allan for making this wonderful program, every part
is greatly improved (I've even switched to it for work since it has been
remarkably stable for an 'alpha'). I've been eagerly looking forward to it
since the alpha release was announced and it has not disappointed in the
slightest.
Brandon
Hello,
After the compilation of try.tex, if I click on try.log in the HTML output, I get this message
File does not exist
The item "(null)' does not exist
Best regards
Alain Matthes
I'm writing a command to open tmproj files and I've narrowed it to opening
a folder from the project, and opening the files that were open when the
project was saved. Anything else is too messy to transform into the Avian
equivalent. I do have a couple questions before I will be able to complete
it:
*How to manipulate the file browser from a (Ruby) command?*
*How to open a file from a (Ruby) command?*
Also, a couple general purpose questions:
*How to run a bundle from another bundle (if possible)?*
*How to output to both document and web preview with a command (if
possible)?*
Bugs:
Found a bug in the File Browser: Renaming a favorite to the same filename
with a changed case (e.g. myfavorite -> MyFavoRite) causes "Failed to
rename the file at “MyFavoRite. Error: File exists"
---
The new Ruby support scripts look fantastic. I see some cool bundles in
TextMate's future.
Brandon
Hello,
Have been trying out Textmate 2 alpha since it's public release. First off,
well done!
I've been trying it out on a project I work on and so far haven't had any
crashes. The stability is excellent!
Also, the right hand sidebar and Git SCM integration in the file browser
was a much needed feature that works well!
The only relatively minor (but annoying) issue I've run into so far has
been with the speed of source code highlighting.
When I open several files in quick succession, most of them big (100+
lines), the source code highlighter takes a fare while to process them all.
It seems like it parses the files in the order I opened them? In any case,
a file could take up to 10s-20s before it finally gets colouring.
I never noticed this issue in Textmate 1, so it seems like a regression.
Also, it would be nice to close the last tab without the window closing as
well.
Other than that, going well so far. Keep it up!
Regards
Kieran Pilkington
----------------------------------------------------------------
http://twitter.com/k776 - http://k776.tumblr.com
In the new version files that are open are highlighted by a small cross (x) to the right in the file browser. Occasionally I close all the windows just to get back to everything closed and a blank editing window. This was the behaviour in version 1.5. If I now close the last one it closes the whole window. Please can you consider reverting the functionality back to that of 1.5 i.e. that closing the last open file leaves the file browser open and also a blank editing area
Thanks
David M Walker
Data Management & Warehousing
0118 321 5930
davidw(a)datamgmt.com
http://www.datamgmt.com
Probably not a surprise.
I was playing with TM2 to see if the integration with RVM for switching
ruby versions for different 'projects/directories' would work with TM2
using the rvm-auto-ruby approach documented here:
http://beginrescueend.com/integration/textmate/
It took me a while to get around TM not finding rvm-auto-ruby until I
finally figured out that the spaces around the = are crucial in this line I
added to .tm_properties
TM_RUBY = "/Users/rick/.rvm/bin/rvm-auto-ruby"
However, TM isn't using the .rvmrc file in the 'project' directory so it's
always using the default ruby 1.8.7.
It looks like a partial workaround would be to have a local .tm_properties
file which sets TM_RUBY for each 'project' directory, but I don't think
that this will handle other rvm aspects such as gemsets.
--
Rick DeNatale
Google+: +Rick DeNatale <https://plus.google.com/102541178931067955550>
Blog: http://talklikeaduck.denhaven2.com/
Github: http://github.com/rubyredrick
Twitter: @RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
I'm confident this is a stupid question but I'm stymied, as someone would say.
I would like to experiment with using the feature
'pipe through command' of the html preview in TM1
in combination with pdflatex.
1) I created a folder /Users/piero/Desktop/prova
2) in the folder there's a trivial latex file prova.tex, which
compiles just fine producing a pdf of one page
3) I added a file script.sh which contains the following:
if /usr/texbin/pdflatex -output-directory /User/piero/Desktop/prova
-interaction=nonstopmode
/dev/stdin; then
echo '<meta http-equiv="refresh" content="0; tm-file:///tmp/stdin.pdf">'
fi
(this approach is suggested in Allan's blog. The script file
has been suitably chmodded)
4) in the html preview window of TM I checked the button
'Pipe text through' and added the path to
/Users/piero/Desktop/prova/script.sh
5) But, when I invoke web preview, the html window shows only
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
restricted \write18 enabled.
entering extended mode ! I can't write on file `stdin.log'. (Press
Enter to retry, or Control-D
to exit; default file extension is `.log') Please type another
transcript file
name ! Emergency stop ! ==> Fatal error occurred, no output PDF file
produced!
What am I doing wrong? is this some permission issue in Lion
10.7.2 which I'm using?
Bonus question: in view of TM2 (thanks Allan - never lost the
faith), am I just wasting time since the feature will not work
in the future?
Thanks for help
Piero
>
> Also, would you please answer my second question from the original email
> which was to refer me to resources that are simple to learn as I am just
> learning how to code and I don't understand most of the emails people are
> talking about, including your blogs.
>
These are good resources to learn programming for a beginner. However this
really isn't the place for that, it is a support list for a text editor.
http://norvig.com/21-days.htmlhttp://www.reddit.com/r/programminghttp://stackoverflow.com/
I'm sure Allan is busy having just launched a product that took years to
develop, especially considering it is a week from Christmas. There seems
to be a lot of people saying "I need this feature now, otherwise TextMate 2
is unusable." Maybe he should have just kept it for another year to
satisfy everyone's desires?
Anyway if you are having an issue (especially .tm_properties problems,
performance/slow rendering problems, bundle problems, and folder problems),
before posting here I recommend backing up all your custom
bundles/settings/themes, deleting both TM and Avian and all related support
docs (App Support/plists), and install a fresh copy of Avain, then
selectively put back the stuff you actually use. I had several of the
issues intermittently and that fixed several of them.
Brandon
Hi,
I'm on 10.6.8, 2.93Ghz Core2Duo, 4Go ram
All the file i open take time to be parse for syntax coloration, and if i
open like 10 file it take more than 2sec to open or switch to a previous
open file.
Also to close a file.
Like this TM2 is just not usable.
All working fine with TM1 with the same project.
Also the bundle PHP Cake doesn't work when i check the scope
text.html.php.cake as not present.
Thanks,
Mickael
TM2 performs some automatic actions on save, for example making new scripts with a shebang executable after save.
Is this configurable somewhere? Two reasons:
a) for hysterical reasons a lot of my sources start with a shebang but I do NOT want them to be made executable
b) I'd like to add some automatic testing/verification for certain file types upon save. in TM1 I'd overwrite the "Save" shortcut for this, I wonder if above is more appropriate.
Thanks
Gerd
Trying to get to grips with TM2...
Using any command from the git bundle I get this alert panel:
Failure running “Show Uncommitted Changes”.
[31mFail whale detected![0m
TM_SUPPORT_PATH is not set. This is probably because you are running
specs from outside of TextMate.
You can set TM_SUPPORT_PATH using something like...
export TM_SUPPORT_PATH='/Applications/TextMate.app/Contents/SharedSupport/Support'
I checked the recent posts but can't find a solution. Amy suggestions?
Also while the file browser sidebar does show the SCM status (eg the circle for files with changes), the "purple folder" icon does not do anything for me. Did that break in 8949?
Thanks
Gerd
HI,
I'm new to TM2 and am trying to save a simple font change in .tm_properties, but each time I do, I get a popup menu stating that it couldn't save and to look at the 'Console output'. When I looked at the console, there was nothing about TM2.
Any ideas?
Also, as I am new to the coding world, what is a good resource to learn about what stuff means, especially in relation to TM2?
Thanks,
Paul
1) I'd like the indication(s) that a file has unsaved changes to be more
visible.
I think that the first release just indicated this by changing the
'saturation' of the icon in the file browser. The new beta release seems
to have brought the 'dot' back to the tabs, but it's still hard for to see
with the eyes of someone who has been programming for 40+ years.
While I'm on the subject of unsaved changes, one of my fears is that
Apple's new approach to versioned files, while it might work well for
things like word processors and spreadsheets and the like will be a
disaster for editors used for programming. I want to have control over
WHEN changes to a file are visible outside of the editor. I use things
like guard to automatically do things like running tests when I save a
file, and I don't want the editor (or OS X) deciding when a file should be
saved.
So I'd like to have TM2 either not do autosaving, or allow it to be
turned off.
2) I was hoping that TM2 would treat text insertions/replacements as a
whole to be the unit of undo. (Like TextEdit does). One of my long term
gripes with TM1 is that I have to hit Cmd-Z ones for EACH keystroke. I
hope that this is just something that the developer(s) haven't yet gotten
to.
3) I see that someone pointed out the lack of highlighting the selected
line. This is one of those things which my old eyes need help with. I do
notice that the latest beta is highlighting the selected line number(s) in
the gutter, which I might get used to.
Thanks for finally getting Avian out into the light of day!
--
Rick DeNatale
Google+: +Rick DeNatale <https://plus.google.com/102541178931067955550>
Blog: http://talklikeaduck.denhaven2.com/
Github: http://github.com/rubyredrick
Twitter: @RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
I've imported the SCSS TM1 bundle (https://github.com/kuroir/SCSS.tmbundle.git) to TM2, and .scss files load correctly as source.scss files. However, I do not have access to the CSS bundle's snippets when editing an SCSS file.
I worked around this on TM1 by adding source.scss as a scope selector for EVERY snippet in the bundle, which took an absolute age — and the multilevel design of the TM2 bundle editor means it's probably going to take even longer!
Adding .scss to the file types for the CSS bundle means I lose the use of the SCSS bundle with these, as .scss files now show up as source.css rather than source.scss. (Incidentally, when I hit the + button under file types, should the cursor not go to the just-added entry so I can start typing the extension? As it stands, TM2 just adds a blank line and it looks like nothing happened…)
What I really want is a way to cascade definitions in the bundle editor — to set up SCSS files in the SCSS bundle so that they get all the benefits of being source.scss AND source.css.
Is this even possible? Hacking the CSS bundle seems like an ugly and labour-intensive way of doing this…
Thanks
--
John Yeates
Hi,
Sorry i don't know how to do for reply to a topic in the textmate digest,
But i would like to tell you about slow things on TM2, i have found a issue
:
Open textmate on a directory where there is more than 5 or 6 folder do not
expand them on the file browser try to open file with ⌃T, all working fine
and fast, now expand directory you have now like 30-40 folder maybe more,
double clic on a file or just ⌃T a new file and see what's append take like
0.5sec to open and be parse, and more if you open more file, i think it's
because the file browser search the file to add the little cross on the
right to close it.
Maybe this can help or not :D
Sorry for my english i'm french :)
... but has the annoying nag message:
`/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/process.rb
:194: warning: Insecure world writable dir /usr/local in PATH, mode 040777`
every time you run a script been fixed in TextMate 2 (can't upgrade at the
moment, too busy)?
Cheers,
Phil...
--
Nothing to see here... move along, move along
Can I please suggest we have the option to position the navigation bar in the
file browser at the bottom? Aesthetically, I think this would look much
better, besides being what I'm used to in TM1. I will never use the
backwards and forwards buttons, because I open other projects in a new TM
window. If I did traverse multiple projects/files in the one TM session, I
could see how having the nab bar at the top would make sense; but since
there is no way to tell which folder an open file belongs to except by
floating over the tab, it makes it quite confusing.
Also the icons in the navigation bar the final version? I find them a little
fuzzy.
--
View this message in context: http://old.nabble.com/Testmate-2%3A-File-browser-navigation-bar-tp32996378p…
Sent from the textmate users mailing list archive at Nabble.com.
Tab Bar - Position
I think the tab bar should be placed only above the right-hand edit pane,
not above the file browser sidebar. This would mean that the file browser
would be the full-height of the window.
I think this would make more visual sense...
The tabs relate to the files open in the edit pane, so should be attached to
this part of the screen, not sneaking out over to the left. Also, when the
sidebar is opened/closed the tabs would always be above the edit pane,
whatever the state of the sidebar.
Tab Bar - Text Colour
The non-selected tabs are quite hard to read (with black text on a dark grey
background). Maybe a lighter text colour would be clearer
File Browser and Gutter - Theme
Please allow the file browser and the gutter (containing the line numbers)
to have an optional dark 'theme' - the white/light grey background is quite
jarring when you're using a dark theme for the editor
Indentation Level Markers
It would be great to have some indication of the current indent level (to
help line things up vertically).
(Sublime Text 2 does this really nicely, with feint, visible lines
indicating the indent levels, that brighten in the area that the cursor is
positioned in - thus being both subtle and visibly useful when editing an
area of text)
Regards
SC
--
View this message in context: http://old.nabble.com/A-couple-of-UI-suggestions-tp32995036p32995036.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
I follow the instruction at http://blog.macromates.com/2011/locating-bundles/ to get my fav Wombat theme working. I have done exactly as the #Converting a Theme section describes.
I didn't get it to work as the theme is not showing in View - Themes.
Any idea on what I am doing wrong?
In case you need to look at the theme, it's here Wombat.tmtheme (http://ttanh.us/3n1c3e2T0V001r133B3s)
Thank you in advance.
--
Tuan Anh Tran
Hello guys!
I recently switched to os x from ubuntu and now I miss a gedit's like
autocompletion. It shows a popup with suggestions along with typing without
pressing some special keys and it's really comfortable. The way it finds
suggestion is similar to textmate's. It show all possible variants found in
current open documents sorted by distance from current position.
I was roaming over internet for a few hours and couldn't actually find how
to archive something like this in textmate.
Is it possible? Maybe there's some ready to use bundle?
I had this same issue, it results from pasting the script into your
terminal window which will sometimes cause newlines to be inserted before
the end of a long line. Use sftp or something to upload the file rather
than pasting it and you should be fine.
Brandon
Turns out that this was a problem with my version not liking
the --ignore-submodules=dirty flag that Textmate was using in its git diff
command to find files to flag. Updating the version of git to the latest
with the marvellous homebrew did the trick.
I think this flag was brought in in version 1.7.2 of git.May be worth
listing as a requirement.
Liking what I see of TM2 so far.
Anthony
On 17 December 2011 22:10, Anthony Underwood <email2ants(a)gmail.com> wrote:
> >* When I open a folder which is a git working repo the SCM status icons do not*>* show and the go to SCM status folder does not work either by pressing the*>* puprple cog folder or the menu item. I’ve fixed a previous git issue where*>* TM2 was not finding git by adding TM_GIT = "/usr/local/bin/git" to a*>* ~/.tm_properties file. However the SCM status problems still persist.*
> Due to an unfortunate default setting of TM_GIT in TextMate.app/…/Defaults.tmProperties you MUST set TM_GIT in ~/.tm_properties to override (in r8930) — that the Git bundle works is no indication of TM_GIT having been set properly as Git bundle is more forgiving (and use the new shell command requirement system to find required commands).
>
> If you have verified that TM_GIT is set in ~/.tm_properties then another issue could be that you are using a non-standard file system. One user was reporting missing Git badges and SCM status view on his AES-encrypted folders (using Espionage).
>
> I suggest you a) try a git repository on your startup (HFS+ formatted) drive and b) try a subversion repository as well (since this should work w/o any setup required).
>
>
>
If I may add to the wish list for TM2:
My fork of the TM1 "ProjectPlus" bundle[1] shows some additional SCM states (for git at least) that I believe are quite useful. Best explained with a screen shot:
Additional info shown:
- Repository roots (the folders saying "git")
- Local repository ahead of upstream repository (the black bar behind "git" in the C-Tools folder)
- Folders reflect if they (or a subfolder) contain any files with uncommitted changes (purple folders)
- Untracked files (the orangish "UntrackedFile.h")
- Ignored files (the white "SVNVersion.h")
This helps me greatly to remember where I was, to be more diligent wrt source control etc.
Thanks
Gerd
[1]: https://github.com/gknops/projectplus
Hi,
My .tm_properties looks like this:
TM_GIT = "/usr/local/git/bin/git"
fontName = "monaco"
fontSize = 16
But nothing is being taken from it (the file is writable). Font is still 10
and the git status icons are not displaying. Anyone else having these
issues.
Using r8949.
Thanks.
--
View this message in context: http://old.nabble.com/Nothing-being-read-from-tm_properties-tp32994855p3299…
Sent from the textmate users mailing list archive at Nabble.com.
Been a hectic week here with all the user feedback and at the same time
our christmas celebrations which served as a nice distraction, but
yesterday I found time to address some of the initial feedback and r8949
is now available as a “beta build” — in retrospect this option is
mislabeled — though go to Preferences → Software Update and switch
to beta builds to see the update. Release notes below.
I haven’t devised a strategy yet as for regular vs beta builds, but I
expect most updates to also be pushed out as regular builds — it’s
more that beta builds could have some overlooked issue that prompts a
quick re-release of a proper build, where the “regular builds”
option should hopefully never see such issues (but still be alpha
software).
- - -
# Release Notes
## 2011-12-16: r8949
* HTML output can open in its own window: `defaults write
com.macromates.TextMate.preview htmlOutputPlacement window`.
* Anti-alias can be disabled: `defaults write
com.macromates.TextMate.preview disableAntiAlias -bool YES`.
* File browser can be placed on the right side: `defaults write
com.macromates.TextMate.preview fileBrowserPlacement right`.
* With multiple carets, ⌘-clicking one of them removes it (i.e. it’s
a toggle).
* Carriage returns (`<CR>`) on the general clipboard are converted to
regular newlines when pasting.
* Rename help book to “TextMate 2” which fixes issues where _Help
→ TextMate Help_ showed TextMate 1.5’s help book.
* TextMate 1.x and 2.0 can run at the same time.
* Setting `TM_HG` and `TM_GIT` in Preferences is no longer eclipsed by
the default properties (which set them to point at `/opt/local/bin`).
* Fix potential crash when deleting bundles on disk (`rm -rf`).
Hello
Firstly I would to say that TM2 seems great. We will certainly need some time to get used to new methods but first tries are fine.
I would to know if it's actually possible to use a personal bundle. It's about LaTeX with my language grammar and my theme.
Best regards
Alain Matthes
In 2.0 alpha, the "Anti alias" option is gone. Please keep it. I am one of
those unlucky people who cannot work long in front of anti alias fonts
(probably before there is a retina display Macbook).
--
View this message in context: http://old.nabble.com/Please-keep-the-option-to-turn-OFF-%22Anti-alias%22-t…
Sent from the textmate users mailing list archive at Nabble.com.
Hi Charles,
I solved my Citation (Ref-TeX Style) completion command problem in the latexbundle. It didn't have anything to do with BibDeskTMCompletions or the BibDesk DO Completions command, but with LaTeXUtils.rb. Sorry for the noise about BibDesk. I needed to change a couple lines in LaTeXUtils.rb to adapt it to biblatex method of bib input. I had to change line 244 to
addbib_regexp = /^[^%]*\\addbibresource\s*\{([^\}]*)\}/
and line 248 to
scanner.extractors[addbib_regexp] = Proc.new do |filename, line, groups, text|
--Gildas
* Charles Turner (vze26m98(a)gmail.com) scripsit:
|> On Thu, Dec 15, 2011 at 10:16 PM, Gildas Hamel <gweltaz(a)ucsc.edu> wrote:
|>
|> > I have a question re Citation (Ref-TeX Style) completion or BibDesk. The completion doesn't occur in TM2, while it continues to work fine in TM1, without having to open BibDesk, via the BibDeskTMCompletions script which I put in a ~/bin folder.
|> >
|> > Any suggestion as to why it doesn't work in TM 2 alpha? Is it because tooltips might not be working yet, or do I need to point the LaTeX bundle towards my bib files (and how?)? Any hint greatly appreciated by this non-coder.
|>
|> You mean the completions script available here?
|>
|> <https://public.me.com/amaxwell>
|>
|> I'll take a look at it on Tuesday after the semester is done if you
|> don't get a response on the TM list.
|>
|> Best, Charles
Hello,
I was able to get the bundled rmate script that comes with the just released alpha version of TM2 to work great on one of the servers I am often on which is a really nice thing. The other server that I do a lot of work on is being more of a pain however. Whenever I run the script I get the following error:
/cluster/home/jstjohn/bin/rmate:45: syntax error, unexpected '=', expecting '}'
= v }
^
/cluster/home/jstjohn/bin/rmate:47: syntax error, unexpected '=', expecting '}'
= v }
^
I have not made any modifications to the script.
Here is my ruby version:
ruby --version
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
It is a centos 5 server if that means anything to anyone.
Thanks for your time!
John
hello, recommend me pls a dark color scheme like "All Hallows Eve" or
"IR_Black" but in which will be different backgrounds to determine which
block is where for the:
php code
javascript
html
css
so all these document parts will have a bit different background, so i can
visually determine where one of these blocks ends but not all in one black
background or
Thanks.
--
View this message in context: http://old.nabble.com/recommend-me-color-scheme-tp32988808p32988808.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
this is a quick list I've made after half a day of TM2 usage, hope it can
be helpful:
1. Wrap Column with Soft Wrap deactivated doesn't show any wrap marker (on
TM1.5 we got a vertical line and a ligher or darker background color on the
right side of it, which was a very nice 'hint').
2. I don't know how to reproduce it, but sometimes when you open a folder
dragging it over the icon, the file browser opens all the folders in it
(and it takes a lot of time!)
3. Double clicking a file in the file browser to open a file? Why not a
single click as before?
4. Chosen font is not preserved.
5. The bookmark flag icon replacing the simple star icon is plain horrible
:) Moreover, if you have an old bookmark from TM1, you can still see the
star icon.
6. The new search is very, very nice. Non the less, a button to batch check/uncheck
results would be appreciated when you have to do mass replace.
7. Personally, I found the last two icons on the top bar of the file browser
kind of useless (the Home and the Computer), while the smart folder with
SCM status is pretty cool, but why not adding SCM badge
directly in the main file browser view (a-la XCode)?
8. Selecting some chars and then Folding Current Block causes the selected
text to be replaced by a three points char and is not possible to "unfold"
it, even if you close and reopen the file.
9. As far as I can tell, there's no way to add a new file to an existing
folder within the file browser (You can double click an empty space in the
tab bar, but it's not obvious and if you have a lot of
open tabs, there might be no empty space). Even the New Folder command is
rather hidden. The old icons to add a new file and a new folder from the
project drawer were much better.
10. If you have a single file opened, you can't close it without closing
the whole application.
11. Projects are gone, still you have a Go->Project Folder command
I will update the list as I find other issues, meanwhile thank you very
much for this alpha :)
Hi,
I try to mark a task as complete by get the following errors:
/Users/tomd/Library/Application
Support/TextMate/Managed/Bundles/Taskmate.tmbundle/Support/lib/taskmate/file.rb:7:in
`initialize': can't convert nil into String (TypeError)
from /Users/tomd/Library/Application
Support/TextMate/Managed/Bundles/Taskmate.tmbundle/Support/lib/taskmate/file.rb:7:in
`open'
from /Users/tomd/Library/Application
Support/TextMate/Managed/Bundles/Taskmate.tmbundle/Support/lib/taskmate/file.rb:7:in
`readlines'
from /Users/tomd/Library/Application
Support/TextMate/Managed/Bundles/Taskmate.tmbundle/Support/lib/taskmate/file.rb:12:in
`line_at'
from /Users/tomd/Library/Application
Support/TextMate/Managed/Bundles/Taskmate.tmbundle/Support/lib/taskmate.rb:169:in
`toggle_completed'
from Toggle Completed:10
Thanks.
--
View this message in context: http://old.nabble.com/Taskmate-Errors--TM2--tp32987898p32987898.html
Sent from the textmate users mailing list archive at Nabble.com.
Each time I try to compile a LaTeX document, even in a newly creaated user account, I receive the following message. Any ides on what I might be doing wrong?
Traceback (most recent call last): File
"/Users/admin/Library/Application
Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texMate.py",
line 465, in tmPrefs = tmprefs.Preferences() File
"/Users/admin/Library/Application
Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/tmprefs.py",
line 45, in __init__ self.prefs.update(self.readTMPrefs()) TypeError:
'NoneType' object is not iterable
Regards,
cme
Chad Michael Eyer
eyer(a)eyer.us
http://www.eyer.us
T: +1-321-422-3428
F: +1-219-228-8882
download vCard
Please see the example in the link below:
http://cl.ly/CfIT
Chinese characters are not wrapping correctly. You can paste in some 中文 to try. I doubt this happens to all CJK cases.
Lucifr
>
> If by event you refer to the ?event specifier? then this is a legacy thing
> that I wanted to have removed before the public alpha.
Gotcha, now it all makes sense.
Most appropriate would be ?callback.document.binary-import? ? commands with
> that (semantic) class are called prior to TM doing anything with the file
> attempted opened.
So the "callback.document.binary-import" is called on any file regardless
if it is marked as 'binary' (i.e. vs plain text) by TextMate? I was under
the impression tm_proj files are plain-text plist files.
Furthermore you want to use attr.rev-path.tmproj as the scope selector so
> that your command is only invoked for *.tmproj files.
Could I ask what "rev-path" stands for? Just curious.
This however being an import filter, TM expects your command to provide the
> file?s content on stdout, so this isn?t designed to do exactly what you
> want.
> I don?t know if you can take it all the way with the info above, but I
> figured this info would be useful regardless of this specific situation and
> it might not require many tweaks to support your desired behavior (e.g. TM
> could be made to act on an ?exit_discard? from your command, and trust your
> command did the proper thing).
Oh I sure hope I can figure it out from that! :) Thank you so much, I
have quite a few plans for bundles so pretty much any info at all regarding
the new features is helpful at this point. A list of semantic classes that
are internally recognized by TM would make my day but if it's not easily at
hand or it will be changing a lot don't worry about it.
I'll post to the list when I have something working to my satisfaction. If
I have something worth committing how do you recommend I go about that?
Brandon
In TextMate 2 I'd like to exclude the contents of a number of folders from my project-wide searches. I'm using the following in my project's ".tm_properties" file:
excludeDirectories = "{$excludeDirectories,log,vendor,tmp}"
However, it doesn't seem to be excluding files from those directories in my project-wide searches. What am I missing?
-Tyson
In the Find results window, after e.g. a Find in Project search, I really miss (in TM 1.5 too) not having a panel within the same results window that shows the relevant section of code when any results line is selected.
In normal use, I have one or more other windows open, and for a reason--I'm looking at them or soon will be. I find it a nuisance that clicking on a Find results hijacks the project window just to show me the relevant code. Frequently, I need to have both that window and the search result visible at once. I can see that this could be a personal preference, so it would be wonderful to have this as a user pref.
Also, I don't find it useful to display a results line twice when the search process has found two matches in the same line. It is adequate (even less confusing, less clutter) to display the results line once, but bold-facing the multiple matches in that single line.
Jerry
I've not looked at TM2 yet, however there is a ton of Q & As hitting the list currently and I suspect lots of wheels are going to be re-invented, tips re-discovered etc...
Any chance of starting a wiki or similar for TM2 so that this stuff can be recorded there and found without needing to sift through the archives of a suddenly very high volume list...
[One way to start one up quickly is to make a blank github project and add a wiki to that...]
Nigel.
--
[ Nigel Metheringham ------------------------------ nigel(a)dotdot.it ]
[ Ellipsis Intangible Technologies ]
I have a question re Citation (Ref-TeX Style) completion or BibDesk. The completion doesn't occur in TM2, while it continues to work fine in TM1, without having to open BibDesk, via the BibDeskTMCompletions script which I put in a ~/bin folder.
Any suggestion as to why it doesn't work in TM 2 alpha? Is it because tooltips might not be working yet, or do I need to point the LaTeX bundle towards my bib files (and how?)? Any hint greatly appreciated by this non-coder.
N.B. Two "likes". I very much appreciate TM2's highly configurable browser window from which I can start TeXShop on whatever file I want to work on, with latexmk giving me automated processing. And the input of Greek, Hebrew, etc. is working beautifully. No need for other editors for that purpose now.
--Gildas
>
> Not in the Bundles directory, but I do sync my TexMate directory with
> Dropbox. ~/Library/Application Support/TextMate is a symlink to
> ~/Dropbox/Library/Application Support/TextMate
Well, that explains why Avain never picked up any of my TM bundles
(although I didn't symlink TextMate, only the subdirs, to avoid syncing the
.pid file). I actually prefer it though since I've collected quite a few
useless and outdated bundles over the years and this gives me a fresh start.
This might be something to mention somewhere since it's probably a pretty
common practice and not something I had considered might be causing an
issue.
Brandon
Hi,
In followup to this posting:
TextMate Blog » Locating Bundles
http://blog.macromates.com/2011/locating-bundles/
Please consider changing (or removing) the "Copy" part in the folder name component of this pathname so it's not confused with Finder's Duplicate suffix:
~/Library/Application Support/Avian/Pristine Copy/Bundles/
Something like "Pristine Versions" or "Pristine Copies" or simply "Pristine" (my choice) would be preferable.
Thanks,
-sjk
I have been testing the TextMate 2 Alpha the past couple of days and have had
issues with bundles being loaded. I can install the bundles via the app
preferences, but the bundles are not loaded. As per Michael's recent blog
post (http://blog.macromates.com/2011/locating-bundles/), all bundles should
be installed to ~/Library/Application Support/Avian/Bundles. Instead, they
are installed to ~/Library/Application Support/TextMate/Managed/Bundles and
are not loaded. Moving bundles to the ~/Library/Application
Support/Avian/Bundles alleviates the problem with the bundles being loaded,
but I don't believe updates will work correctly at this point. Is this
intended behavior for alpha or is there something else going on? I am
running 10.7.2.
--
View this message in context: http://old.nabble.com/TM2%3A-Bundles-Not-Loading-tp32982201p32982201.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
it is great that finally Japanese is shown correctly in TextMate but the input has some problems and differs from the rest of the system.
When I enter only one character like 私 (watashi), I type "watashi", hit space, select the character and hit enter. The final result is 私 and the cursor is set after the character.
In TM2 the enter will delete the character, as if it is selected and do a line break.
When I enter a whole sentence, I press space when I am ready and the system will do some auto-conversion. Then I will get to to the first sentence-element and can press space to change the conversion to something different (loads of homonymes in Japanese). With cursor left and right I can go through the text elements and narrow the selection what a certain text element is with shift+left or widen it with shift+right. I end conversion-mode with pressing enter, when everything is in the state as I want it.
When I press left or right in TM2 the conversion-mode ends and the cursor goes to the right but conversion-mode should only end after pressing enter (and only an extra enter should create the line-break).
Niels
Hi, I'm going to give a whack at transforming a .tm_proj file into
'Favorites' and .tm_project files upon opening them (or if they exist
navigate there). Couple of questions:
This seems like an event thing. However, in the Avian bundle, all the
similar commands define themselves as a callback in the semantic class
field, rather than specifying an event. I'm not understanding the
reasoning behind this, since it seems to blur the distinction between
'events' and 'classes'. Is there any way to determine whether we should be
targeting an event or adding a class of 'callback'?
Which semantic class (or other options) do I need to use to target only
opening tm_proj files by extension?
Thanks!
Brandon
Hello all,
we encountered two main issues using TM2 alpha:
- First of all, I'm unable to globally set TM2 to use soft tabs, "Edit -> Mode -> Soft Tabs (Use spaces instead of tabs)" menu is not selectable, I also tried exporting TM_SOFT_TABS = yes as in TM1 but it doesn't work.
- Trying to select text going down out of page to select more than one page text, produce a strange behavior, sometimes it goes at crazy speed (happened with python code), other times I see some video corruption: blue selection band persist after deselection, blue selection band seems interrupted inside selection (happened with C source code).
Moreover, Ctags bundle really need some improvements, for example I can't go backward as in vim, multiple tags selection window is uncomfortable, Help menu command doesn't work, there is no way to specify more than one tags file, and so on...
Another thing, is that there is no way to know who use some function, I can go to the function definition but if I want to know who use that I can't.
Thanks you very much for this alpha, rmate command make me very happy.
Giordano
>Clearly, its a mistake to delete TM1.
In my Console app, I can see Avain pulling bundles and other things from
App Support/TextMate as well as App Support/Avain, so I'd say it isn't
quite ready to stand on it's own yet. In my opinion this makes debugging
things way more difficult right now, but I'm guessing unless it is an
outright bug there is a good reason for it.
I think ideally TextMate and Avian shouldn't touch each other's files, but
I can't really judge considering I write primarily dynamic scripting
languages, the slow pitch softball of programming.
Hi,
I work with a lot of tab-separated files.
Now most of the times when I open a tab-separated file, the lines are unfortunately not properly aligned.
I get something like:
xx xxxxx
xxxx xxxxx
Is there a way to align this in textmate, so that I get a clean "table-like" view (without adding tabs of course)?
thanks for any help!
>
> to let you know that some TextMate users rely on projects and don't want
> to see it be cut
I believe that's been established a few times.
Something I just thought of: maybe a quick workaround would be to cause
opening a .tm_proj in TextMate to take the file browser to the Project
Directory (or the first one at least). Since a lot of my projects ARE just
one directory, that would definitely alleviate my current problem of all my
project data being contained in a lot of proprietary tm_proj files that
only work with one program. ;)
Maybe a good way for someone to test out the open file event handlers?
Seems doable within the current system depending on the scriptability of
the file browser.
Brandon
On 15 Dec 2011, at 12:25, Allan Odgaard wrote:
> As for the philosophy, which you questioned, you work with Git, LaTeX, and Dropbox which share the same philosophy: LaTeX use plain text files that all text editors understand and have done for 20+ years, Git works on a folder that all file browsers understand, Dropbox is just a folder that all applications understand.
That doesn't mean I have to use a workflow that is dictated by technologies from 20 years ago. I also no longer manage photos in folders by hand, even though I technically could. But managing and editing photos in Aperture is a lot faster and allows me to do things that were previously impossible.
In my alternate reality, instead of juggling with TextMate, GitX and FileMerge to recover the paragraph I've deleted, it'd be much easier to do all that efficiently in TextMate 2.
> I don’t want you to spend time managing your project in TextMate and [...]
Please don't worry about me or other users »wasting our time«. We know enough to take it upon ourselves to decide how to collaborate with others. I for one haven't run into trouble stemming from me using projects. (I did run into problems, because I wasn't adding hard line breaks by hand in my code, though ;-)
And as long as using projects is *optional* as it is now, I don't see a problem for anyone. Why not let us have the cake and eat it, too?
> As for precluding myself from future enhancements such as Versions: You are (technically) wrong here.
The point is not to have a feature, but to have a feature that people can find and use. (Apple's current implementation of how to browse versions is IMHO horrible since most people will not discover how to use them.)
> whether you think my philopsophy is narrow-minded or less modern than Apple’s is not worth spending time discussing.
I am not interested in a philosophical discussion. The only reason I see it worth my time is to let you know that some TextMate users rely on projects and don't want to see it be cut. And that there is a case to be made to for keeping them. Or to at least make sure that you design TextMate 2 so that someone else can add a Project add-on later. That's all.
Max
I've been trying TM2-alpha while continuing to work (mostly XeLaTeX-ing) with TM1. I have encountered two TM2/LaTeX issues relating to biblatex and latexmk which I've been using without problem with TM 1.x for at least a year now.
1. in my preferences/Variables, I set PATH as in TM1 and set BIBINPUTS (to) /Users/myname/Library/texmf/bibtex/bib where I keep my bib files. But when I try to complete a citation with Citation (Ref-TeX Style) by using ^{ , the completion doesn't occur in TM2, while it does in TM1. I tried to put BIBINPUTS = "/Users/gweltaz/Library/texmf/bibtex/bib" and that didn't help either. Is some other language needed?
2. this is regarding the LaTeX bundle: I loaded the latest latexmk.pl (Dec 2011) and slightly edited texMate.py in LaTeX.tmbundle/Support/bin bibtex to biber in a few places. This works fine with TM1, i.e., the biber engine is found, and latexmk does its thing, but nothing happens in TM2/LaTeX.tmbundle. Suggestions? [note: I normally use TM1 + TeXShop for automatic typesetting via (xe)latexmk, will gladly continue, but wonder how this can be accomplished in TM without having to set up and use TeXShop]
With much appreciation for TM1 + TM2.
--Gildas Hamel
Here's a solution:
. "${TM_SUPPORT_PATH}/lib/bash_init.sh"
"$TM_LILYPOND" "$TM_FILENAME" 2>&1 | pre
1) In TM2, bash_init.sh needs to be loaded?
2) In TM2, stdout and stderr are differentiated? (Lilypond writes to
stderr, so combining it before the pipe to pre works. Wasn't needed,
apparently, on TM1.5)
If anyone has better information or fix, please share.
Thanks! Charles
On 15 Dec 2011, at 11:00, Allan Odgaard wrote:
>> […] not gluing yourself to the file system layout also give you the opportunity to do things that go beyond what you can think of when relying on the filesystem alone.
> Given TextMate’s philosophy it’s the opposite.
I don't understand that comment: I reckon you mean to say that TextMate's philosophy is to rely solely on the filesystem?
> When you use the file system for your project then SCM works fine because it is told that “this folder is a project”, TextMate commands work fine with the project, because they have a single root project folder, backing up the project works fine because tar can be told about a single project folder, etc.
Still, me and many others prefer to use a different method to organizing work. And not every workflow can be like yours. After all, I do use the »filesystem view« for some things because that is easier when you add a lot of files on a regular basis.
Furthermore, as said before, many apps are moving away from merely »viewing files« (and this is encouraged by Apple!), including professional apps (such as Aperture) and apps aimed at developers. Gitbox, for instance, is a nice example: there you browse repositories and commits. Integrating some of that into TextMate would make a lot of sense to me. (Or at least keep the TextMate flexible enough so that someone else can program something like that as a bundle.)
Lastly, the focus on the file system would also make it harder for you to implement access to some of Apple's future technologies (e. g. Versions; while I use git professionally, I wouldn't mind having versions when writing letters and such, stuff where git is overkill).
So I think you exclude TextMate from a lot of innovation if you don't allow a project view that is independent from the file system.
> Anyway, I think enough have been said about projects. My initial letter may have come off too strong: I was listing what can be used now in the “project context”, I was not saying everything is frozen and nothing will change:
I'm not so sure whether you got it across the wrong way, everything you have written reinforces my impression that Projects (the way we have them in TextMate 1.5) will be axed as a feature and that you dislike working with them. (I remember posts of yours to this effect on this mailing in the past.)
It's quite natural that people who like Projects would object.
> But definitely I am of the opinion that one should work with the file system because that is the “portable” way to represent a project.
I think this view of this aspect is a bit outdated and narrow-minded: Portability can mean a lot of things, but in my experience the problems rarely lie with transferring files. Quite the contrary, that's typically the easiest part (I use Dropbox to collaborate with others). In my case it's mostly making sure LaTeX code compiles on my coworker's machines. Which usually means they have to install additional packages or alter the code a little.
Max
It seems that many many people have jumped on the TM2 alpha. The
consequence of this is that there has been a rush of TM2 questions,
some of which ignore Allan's request not to post general feedback,
some of which would be answered if the poster would read the message
on textmate-dev Allan linked in a post yesterday, some of which would
be answered in the blog or release notes.
I don't think I've seen a question yet that, bearing in mind this is
*alpha* software, is sensible to post or meets the criteria of being
what the devs want to know about.
Would the powers that be consider a new mailing list? "TM2
testers" (or similar) so that the "TM users" list can concentrate on
issues, or queries users have with only the current release of TM.
This would naturally migrate once TM2 is released to the world.
I'm not going to upgrade to alpha software, I'll also avoid early beta
releases too, as I'm sure many others, like myself, who do not have
time to deal with the inevitable problems of using such 'new',
software will do. Allan and the dev team have my full support, and
I'll be glad to test release candidates when they say it's almost
ready for public consumption. But in the mean time, this list is going
to become, at best distracting, at worst very difficult to use for
those trying to get help with TM1 issues if so many posts are related
to an unreleased version.
--
Justin C, by the sea.
Wow, just wow. Lots of awesome stuff going on. Every corner is packed
with new, exciting features. A couple of ideas:
I agree with keeping the file browser window (or formerly-known-as-project
window) open after the last tab is closed. I keep frustrating myself
by accidentally closing it, then I have to hit command+n, then rebrowse to
my folder.
Here's my suggestions for improving this behavior:
- Allow command+t to work without a window open. The list could be
populated with the files under File->Open Recent.
- Open the file browser to the last folder I was using, rather than home.
If anyone knows how to navigate the file browser / favorites using only the
keyboard, I would be eternally grateful for that information.
###
I'm also having some issues with the .tm_properties files. They only seem
to be working intermittently for excluding files/directories from my
project. Sometimes the files will disappear as soon as I save my edits,
somes times not. Sometimes they will come back later. I am not under my
home directory (I'm in /Library/WebServer/Documents/...) which I have a
hunch might be causing the problems. Anyone experienced anything similar
or have any info on that?
###
About Projects: I can understand not reintroducing projects if a few other
features are stepped up. One small feature I find improves the experience
quite a bit is when you open a project, it restores the tab state and puts
you in the file you left off in. If that could be replicated with the
existing features (on a per folder or per favorite basis) I think it would
go a long way towards reducing the desire to return to .tm_proj files.
Is it possible to only keep the file browser open when closing files?
If I close the last open file it automatic close the window with the file browser.
Also I would love to see an option to keep the Tab-bar visible even if I only have one file open in file browser view.
I just downloaded TM2 build 8930, but it seems that the projects are gone?
I can open old projects (.tmproject files), but it's just showing an XML and
also it's not possible anymore to create new projects..
Are they gone in TM2? If so, that would be a real bummer...
--
View this message in context: http://old.nabble.com/Projects-are-gone-in-TM2--tp32970824p32970824.html
Sent from the textmate users mailing list archive at Nabble.com.
For several of the bundles in TextMate 2, I am getting duplicate items
in the select dialog. For example, in the following screenshot, you
can see the Git bundle with double entries:
http://cl.ly/2B0E2i3E0D0e2g1L1T2N
Any idea as to the cause of this?
I've never much cared for the way TM populates the tab bar by creating a tab for every open folder. After only a few windows are open (over any interval of time, even days or weeks), the available space is used up and one must click on the "overflow" menu to see more tabs which partially reduces the effectiveness of the tab concept. It's even worse when a tab that you want has disappeared into the the menu. I am constantly closing many tabs at once just to clean up.
Also, the Command-1, Command-2 is really great, but once a window appears in another-numbered tab, suddenly you have to re-learn the new key combination.
Maybe a better organizer is a kind of favorites bar that can be populated manually (but keeping the Command-N concept) while keeping a file history list as a separate entity. In my view, merging the tab concept with a file history, which is pretty much the present situation, is awkward.
Lastly, it would be cool to be able to drag a window's proxy icon (I think that's the right name) to the project window's tab bar to cause that window to close but to then be accessible by a tab. (Merge All Windows is usually too aggressive.) OK too would be just a menu command, Merge Front Window, but this would assume that the program knows where in the tab bar to make the new tab, but it won't know, necessitating a separate drag operation within the tab bar.
Jerry
I am a new user (purchased yesterday) of TextMate. In the past, I used
a great program on Windows called Advanced Find and Replace. It
allowed me to search through multiple files within a folder (I see
that I can do that by a project in TextMate too). But, what I cannot
figure out is if it will allow me to replace things like:
1. Ignoring white space in HTML so that it will find all text to
replace even if it is on a separate line and with tabs.
Example:
<p>This is a paragraph</p>
vs.
<p>
This is a paragraph
</p>
If it cannot search and find both of these then it is not quite as
powerful as I had hoped.
2. Advanced Find and Replace also could find text *between* two
strings and either replace it or delete it. For instance, if I wanted
to search through this:
I want to replace the word that is between these question marks in
multiple documents. ?Delete Me? and ?Delete Me Too?
You would end up with:
I want to replace the word that is between these question marks in
multiple documents. ?? and ??
Sorry, not a great example :-( but it gets the point across.
This function though could allow you to delete all tables in an HTML
document without actually knowing what was in the table....or many
other uses. It can delete text before a string or after a string too.
Can TextMate perform these more complicated Search/Replace functions?
If not, I still love the app but does anyone know of a comparable app
that is similar to Advanced Find and Replace on the Mac since this
program is not available for the Mac OSX?
Thank you,
Linda
Isn't possible to move discussions regarding tm2 to a different list?
It's quite annoying to have lots about an alpha I don't plan to use, let
alone know anything about pop in all the time.
Br
Thor Erik
Allan Odgaard wrote:
On 14 Dec 2011, at 19:10, Dushan Mitrovich wrote:
>> Will TM 2 handle printing, including margins, more capably?
> Like with live preview, if it?s not there and was there in 1.x, it?s most likely that we haven?t gotten around to doing it yet. Of course 2.0 will get a printing feature.
Thanks, that's good to learn.
- Dushan
I of course want to play with the alpha and help improve it. Naturally I am still more productive with 1.5, but switching apps by quitting and lanching is cumbersome. ;-P
I'm on Max OS X 10.6.8 as well, if that helps.
> The problem is that both versions detects that TM is running already without checking the version, so it activates the running one instead of launching its own. Anyway what's the purpose of running them in parallel? ;) -- Adam Strzelecki
>
> Surely you don't edit in your live directory, do you?
>
Not usually, but my dev machine has a public_html all his own. There's
plenty to go around.
>
> Actually I don't have anything in public_html because I code in a modern
> language, but that's beside the point.
Ooo dig! :) I'm intrigued, however! Which language? I tend to keep my
CoffeeScript in a folder that is sometimes called public_html (or a
subfolder) but that crap's already 2 years old (ancient!), I'm ready to
move on to something modern. Although my answer is snarky I am genuinely
interested, if you don't mind answering. :)
Brandon
Is there a way to turn off antialiasing of text? This was under the Fonts &
Colors Preferences tab in TM1, but I do not see the option in TM2 anywhere,
and it does not appear in the preferences plist as far as I can tell. I
can't really use TM 2 right now since using aliased text gives me an almost
instant headache. :(
IJR
--
View this message in context: http://old.nabble.com/Turn-off-antialias-text--tp32975354p32975354.html
Sent from the textmate users mailing list archive at Nabble.com.
I know that printing from TextMate up to version 1.5.10, which I've been
using, is not implemented seriously, and that many of TM's users don't
much miss it. I'm one of the ones that do, and would be using TM
exclusively except for that. The work arounds suggested, such as
converting to html, have not helped (e.g. no margin control).
Will TM 2 handle printing, including margins, more capably?
- Dushan
Torsten wrote:
> I was wondering whether something like the Live Web Preview
> available in TextMate 1 will be present in TextMate 2?
This is also an essential feature for me in TextMate 1, which is now my default word processor as well as text editor; I save all my notes as HTML, which makes them easy to share over the Web. James Speth's WebMate plugin has been an invaluable utility for this, because it lets me edit text WYSISYG-style in the Web Preview.
I'm really hoping TM2 will support some variation on Live Web Preview + WebMate. I would hate to have to return to the bloated overkill of Microsoft Word/NeoOffice/Dreamweaver/etc.
jon
Just a quick question:
I have set TM_GIT and PATH correctly but my installation of git is still not found (it's under /usr/bin/git) when using the git bundle.
Badges in the file browser also don't show when I am in a repository.
Anyone experiencing the same?
Ideas?
BTW Allan: Avian looks amazing. So many brilliant new and improved features and possibilities! Thanks!
Is there a way to create a Vim like plugin for TM2? Specifically, can a
plugin intercept all keystrokes and invoke built-in commands? If reasonably
possible, would it be best done as a bundle or plugin?
With latex, I am not able to compile a single document. I always get the message
Can't find “kpsewhich” on PATH.
Theme:
The current PATH is:
/usr/bin
/bin
/usr/sbin
/sbin
/Users/chrisp/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/bin
Please add the directory containing “kpsewhich” to PATH in TextMate's Shell Variables preferences.
How could I solve this issue?
Thanks, Christian
[[ Well that worked well… hmm… let's try again]]
/usr/bin:/bin:/usr/sbin:/sbin:/Users/chrisp/Library/Application\
Support/TextMate/Managed/Bundles/Bundle\
Support.tmbundle/Support/shared/bin:/usr/texbin
Note the escapes for the spaces in the directory names.
Need breakfast now, coffee more particularly,
Paul
Take a look at this program: http://pqrs.org/macosx/keyremap4macbook/
You can map any of your keys to any other keys, and there are several
Vim-emulation settings. I'm not a hardcore Vim user so I can't vouch for
the quality or anything, but I've seen some with a lot of work put into
them.
Hi Allan, thanks for putting so much time and effort into this! I hope we
can all live up to your expectations when we are filling it out with
bundles and plugins. :)
Obviously now is not the time to nitpick features that may change, but
since you mentioned tmproj files were not planned to be supported I've got
a couple of concerns:
First off, I personally use QuickSilver for pretty much everything. I have
a big folder of tmproj files that QuickSilver indexes so any of my projects
are within a few keystrokes at any point. I'm unsure how this
functionality would be replicated with 'Favorites'.
Secondly, sometimes I'll add a separate folder or just a few other files to
the project, for reference (e.g. if I'm forking something, maybe I'll keep
some files from the original in there) or other situations in which I'd
like to have quick access to the files. I like the ability to group
discontiguous files in the file system without actually altering the file
system.
A third I just thought of: sometimes I will have 2 projects containing the
same folder (and other, non-common folders), but the per-project display
settings are different so I am viewing a different subset of the files.
Not sure if the current per-folder settings can accomodate that. This one
isn't very important to me but a use case nonetheless.
Just my thoughts on the subject before having actually used TM2 for any
length of time. :) Congrats on the bundle system, by the way! I think
the built in 'Get Bundles' UI, the automatic updating, and the command
dependencies are a very big win.
So...just one more question...when can we expect TextMate 3?
Sorry, I had to. :)
Brandon
Am 14.12.2011 um 16:32 schrieb Dave Baldwin:
> It may not work for you but I gave up on textmate's project feature a long time ago and just open the app's directory in textmate. [...]
>
> You can include any other directory in your apps directory using a symlink - not quite the same as how is would be done in a project, but achieves the same thing.
> I'd be curious to know what I am overlooking that makes projects so compelling.
I mainly use TextMate for larger LaTeX and very much prefer Projects over just loading directories. I very much like grouping files (e. g. content, misc, logs) in subdirectories that don't exist in the file system and cannot be put in that order in the file system (since LaTeX generates them in the same directory as the tex source files. Furthermore, I can arrange the files in the order I want them to appear in (the most important ones are on top of the list).
Also, LaTeX generates tons of files I'm never interested in, but share the same ending as other files (e. g. I may care about some log files, but not others).
Until a few years ago, Projects could be used to make certain settings stick (e. g. the location of the bibliography file or to set the TeX master file), but nowadays, you can add code to the top of the file which does the same things. On the other hand, co-workers do not always appreciate this extra »cryptic« code. Whenever I create a new TeX file, I have to put things like the TeX engine I use and the TeX master file in the first lines of the file. Putting these settings in the projects file makes managing things easier, though.
To me, projects offer a much cleaner and simpler way to work with large projects. Also, if you look at other pieces of software, e. g. Aperture, Mendeley or Papers, they revolve around projects rather than files and folders.
So I'd very much appreciate if Projects are implemented one way or another and that TextMate users are not forced to use the structure of the file system to organize their work.
Max
Is it possible? It seems that whatever name I give to either of the apps (eg. renaming one to "TextMate2"), when I start TextMate2 it appears to be loading (bouncing in the Dock) and then vanishes and focus is put to TextMate1, which is already open.
Running just one of the versions works.
- Matthias
First of all, thanks a lot for this alpha release. The new icon also looks brilliant. Now couple of problem reports (I do not want to call them bugs, as it may be know issues that have to be just finished).
• Turning on soft wrap does not make horizontal scroll disappear instantly. It does disappear after few scrolls though.
• Soft wrap sometimes mysteriously turns off after a while.
• Show Invisibles and Soft Wrap ON status is forgotten by TM2 after restored and reset to OFF regardless they were ON before.
• Show Invisibles does not have tick show enabled in menu (minor issue)
• Showing HTML output then dragging the status bar (bar dividing text editor and HTML output) completely down makes it disappear forever without a way to bring it back
• Folding C source file with 2000 lines at all levels (via ⌥⌘I) takes really long and lot of CPU (I can provide some test file upon request)
• Find in Files output pane tends to scroll a little horizontally, even there's no reason to do so (at least here on Lion)
Now couple of questions:
• How to disable wrap marker line at right margin?
• Release notes says that Soft Wrap shall respect indentation, but it doesn't? Is it somehow turned via settings or planned for later release?
• Release notes says that there's completely new folding system, would it be possible then to turn on folding on processor pragmas too? Especially on #ifdef/#if blocks?
• Is theme/color management UI planned to be restored/implemented in Bundle Editor?
• Does TM2 use Cocoa text renderer rather than ATS now? I like how the Markdown editor shows headers, however would it be possible to enlarge headers that are marked with ===== or ----- underlines too? Right now only headers marked with ### prefix are enlarged.
I hope this report will be useful somehow, and once again sorry for loosing my faith in TM2.
Best regards,
--
Adam
Hey Everybody, I'm new to this list and haven't figured out where I can
search it so I apologize if this has been mentioned before. I use TextMate
from several different computers but I maintain only one set of
Bundles/Themes that I store in Dropbox and then create a symbolic link to
them from the TextMate app. With the TM2 update I've noticed when I try
this trick, TextMate crashes on launch. I know this is a pretty specific
use-case but I can't imagine I'm the only one who's employing this trick.
When you get a chance (I'm sure there are many other more pressing issues),
could you look into this? Please let me know if there is any more
information you need me to provide to address this issue.
P.S. Great job on the new release, I'm excited to see it mature into a full
release.
On 14 Dec 2011, at 10:53, Allan Odgaard wrote:
> This is sort of a tough question because as of such, the things affecting development priorities are show stoppers (like failing input modes) ...
Ok, I'll do that.
> ... and to a lesser degree, what missing functionality people are finding it hard to live without.
May I suggest that you link to some examples or documentation on how to use some of the new features. E. g. I'd like to try how to use the new »file browser«/project replacement, but I have no clue what to write into the .tm_properties file. I don't need full-fledged documentation, but an example file would be nice.
If there are other areas of TextMate that are new and you want us to test, give us a hint how to use them or that they are there.
I think a blog post expanding on my question would help channel feedback and steer attention to the issues you're working on.
In any case, thanks a lot for the hard work. The fact that TextMate2 is *the* topic of Marco Arments' latest podcast (which was released a day after TextMate2 or so) tells you that the community still loves TM very much and is happy to see progress.
Max
Allan,
TextMate 2.0 looks really good. It's very exciting to finally have our hands on it after such a long wait. I love the new file browser sidebar replacing the drawer but have a couple items as food for thought. I know you aren't asking for feedback at this point so I hope you don't mind.
First, the "new file" and "new folder buttons from 1.x are gone. I hope you'll bring them back. I use them quite a bit.
Second, I always place the drawer on the right side in 1.x. If you can make an option for this that would be cool.
Finally, a couple of aesthetic items. I would prefer the toolbar on the bottom of the file browser as this would match the toolbar on the editor side and not compete with the tab bar visually. It would also be cool if the sidebar could be themed so it matches our text. I prefer a dark background when editing and the sidebar is currently bright white, while others might like the bright white or other light background.
Also, I assume the theme editor is missing because this is Alpha and will eventually return to 2.0. Is that correct?
Regards,
Matthew
First of all, I'm glad that 2.0 alpha is out and I'll put it through its paces over the course of the week.
I understand that a lot of functionality (e. g. UI customization) is missing, but it is planned to include it later. In order to avoid nagging Allen for things that are on his todo list anyway, what should alpha users focus on when giving feedback?
Max
I'd like to propose an extension to the multiple-selection functionality that makes it easier to use entirely from the keyboard. Currently you can perform a multiple selection using entirely the keyboard if you can use Find All (⌥⌘F). I think it would be nice if you could use the arrow keys to navigate as usual, then tap command (or some other key combo) to set a caret in the current location, keep navigating, set another caret, etc. Once you build up several carets you can begin editing via some other keystroke.
This would work kind of like TM1's rectangular selection using the option key. What do you all think?
While typing a filename in the 'goto file' dialogue, the autocomplete fails
to find files that contain additional periods before the extension period.
For example:
Filename: foo.bar.c
after you type the period in 'foo.' the file is no longer visible in the
list. If you completely type the name of the file 'foo.bar.c' then the file
is found.
Best Regards,
Arthur.
I am new to the world of TextMate, and I absolutely love this editor! I am very thrilled to see that version 2 is nearing release, and cannot wait to see it! My question for you is: I will be purchasing TM very soon; do you prefer that I go ahead and purchase the license for version 1.5 now, or is it better to wait until general release of 2.0? Either way, I am buying it!
Keep up the great work!
Greetings-
A small matter, but the Lilypond bundle can't find the shell command
"pre" in TextMate 2 (8930). I couldn't find it either.
I'm happy to fix this, but am unsure where/whether bash_init.sh is
used anymore in TM2.
Thanks! Charles
Hey Everyone,
Has anyone poking with TM2 figured out how to change themes? In the preferences window I see how to install/remove themes but not how to apply them.
Just wondering.
Thanks!
-William
Hi,
I'm trying to create a new TM2 bundle but can't find out where it should go or how to go about doing so. Can we currently create new bundles even if it's a bit hack and slash and where should we drop them?
-Robert
I'm very much looking forward to the prerelease of the next major version of TextMate. What day this month can we look forward to it?
Sent from my Droid Charge on Verizon 4GLTE
I've got a quick workaround for issue #1 (splitviews):
Open "~/Library/Application Support/TextMate/Session/Info.plist"
(the XCode plist editor makes it nice and easy, but you can open it in
textmate as well if you are comfortable editing plists).
You are looking for htmlOutputHeight. Mine was set to a negative value,
setting it to a positive value should fix the issue (it did for me).
-Amiel
> Hi Allan et al.
> first, TM 2 looks really good :) Congratulations!
> Here my first observations:
> 1) splitviews
> - open a file and display any of the file browser options (like SCM etc.)
> - then drag the grabber to resize both views inside the splitview
> - it is possible to resize them beyond the window's frame bounds
> - the same for HTML output
> - even show/hide file browser doesn't reset the views correctly
> 2) (I know very marginally :) Multibyte Input
> - open a window
> - change Apple's input method to e.g. Japanese (Hiragana) and type e.g. 't'
> - this is what I get:
> t{
> NSUnderline = 2;
> NSUnderlineColor = "NSCalibratedWhiteColorSpace 0.17 1";
> }
> - after type 'a'
> tた{
> NSUnderline = 2;
> NSUnderlineColor = "NSCalibratedWhiteColorSpace 0.17 1";
> }{
> NSUnderline = 2;
> NSUnderlineColor = "NSCalibratedWhiteColorSpace 0.17 1";
> }
> - whereby only 'た' should be displayed
> 3) main menu > Bundles > ... key equivalent and tab trigger overlap
> - as far as I see it if a bundle command has a tab trigger AND a key
> equivalent defined both info will be displayed overlapped in the NSMenuItem
> - e.g. JavaScript > Core > Language > Object Key - Key Value
>
> All the best,
> --Hans
-Amiel
http://carnesmedia.com
OMFG. We were so close, but someone just HAD to bring it up again. If you
have followed TM2 at all you would realize it's pretty annoying for Allan
to be asked every 5 minutes "Are we there yet?! Are we there yet?! Are we
there yet?!"
Someone ask a real question so we can get off of this garbage and start
helping with TM, that's what I thought this list was for.
Hey TM Community,
I'm excited to hear that we might see TM2, soon! Even if it's just in alpha. Progress is progress. When it's released, I'll do whatever I can to provide feedback and prepare the product for its beta release.
Let me know how I can help. In the meantime, I'll be thinking and sending good thoughts to the developers.
Best,
Jason
================================================================
Jason E. Miller, Ph.D.
Professor of Mathematics
Truman State University
Kirksville, MO
http://pyrite.truman.edu/~millerj/
660-785-7430 (work)
Allan,
Contempt for the customers? That always works out well. How about you guys either keep your promises, or just end the entire project altogether so we can all move on.
Sean
No, it isn't a gift, and we've been patient. We were promised a prerelease by the end of the year, and we would just like Macromates to keep their word.
It has come to the point now where other developers have created full blown replacements for the missing TextMate 2 (Sublime Text 2). We want TextMate 2 because we love thie product, and we're loyal -- but we're not feeling the love in return.
Sent from my Droid Charge on Verizon 4GLTE
What are the rules for what items from a language grammar appear in the symbol list?
Some of the scope's I've defined ( for class and function ) appear in the symbol list but not others.
I've looked for a list or documentation of what will appear in the symbol list by default and can't find anything.
> I'm trying to do a language grammar where i would do something like
Within the next month we should see some sort of release of TextMate 2.
Since a lot of grammar tweaking involves hacks or workarounds for current
limitations, I'm putting the fine tuning of things on hold since TM2 might
provide something to take care of it more intuitively or properly than can
be done currently. I'd suggest doing the same since what might take a few
hours now might take 5 minutes or be automatic in TM2.
***
*My own question:*
On that subject, are there any references for TM2 bundle development? Like
language grammar specs, environment variables in scripts, etc? I'm just
curious, I know that I usually write the documentation last but I thought
it couldn't hurt to ask.
I'm trying to do a language grammar where i would do something like
xxx start special section
lots of stuff
.. more stuff...
.. more stuff...
and have
repository = {
special = {
name = 'punctuation.section.special';
begin = '^xxx start special section';
end = '<END OF FILE>';
};
};
Is there a way to have an end rule of 'the end of the file'?
Thanks,
Sean
Hi List
I need to remove textmate but I don't see any information on how to remove
it so I can re-install it again with a version we got internally, could
anyone please send me some instructions?
Kind regards
Per Qvindesland
Hi there,
I use MacBook Air with OSX 10.7.2.
I try to create the following alias:
alias b="/usr/bin/mate -w ~/.bashrc; source ~/.bashrc"
However, it doesn't work. When I close TextMate the shell doesn't return (I
don't see the shell prompt), and nothing happens. Looks like TextMate is
still running.
Why is that happening?
How could I fix this?
Thanks,
Misha
Hi, all.
I've just installed GetBundles & it keeps failing. The log is telling me:
`sh: command not found git`
But in Shell Variables in Preferences I have `TM_GIT
/usr/local/git/bin/git`
& it's also set in my .bash_profile. The Git bundle works fine & recognises
my projects in TxMt & git also works fine from the CLI.
Puzzled...
Cheers,
Phil...
--
Nothing to see here... move along, move along
Hi, all.
I couldn't find anything that deals with this in the manual.
I've got a project in /opt/local & I can't edit it or make changes in TxMt
because of permissions.
Is there anyway 'round this?
Cheers,
Phil...
--
Nothing to see here... move along, move along
Hello
mate in command line doesn't fire up TextMate editor.
I added export
PATH=/Applications/TextMate.app/Contents/Resources/mate:$PATH to my
.profile file, and restarted terminal but it still doesn't load.
Is there another way ?
---------------------------------------------------------
Thanks & Regards
Anjanesh <http://anjanesh.com> Lekshminarayanan <http://anjanesh.co.in>
>
> Quitting TextMate altogether (Cmd-Q) doesn't seem to let `mate -w`
> return, which feels like a bug to me.
I can confirm the behavior on TextMate Version 1.5.10 (1623) / OS X 10.6.8.
Hi, all.
Am I correct in thinking that if I drag a folder onto TxMt's icon in the
Dock that upon saving the folder as a project, the resultant alias allows me
to edit files in that project which are then written to disk in the original
project folder?
Sorry if this is an entry-level question but I need to set up a workflow
involving said project, TxMt, git & heroku.
Any help appreciated,
Cheers,
Phil...
--
Nothing to see here... move along, move along
Recently, when I try to open TextMate, TextEdit opens up instead. I cannot
figure out how to launch TextMate. I think this started happening around
the time I upgraded to Lion, but I am not sure if there is any connection.
I rebooted one time and was about to launch TextMate, but now even if I
reboot it still brings up TextEdit.
Thanks for your help,
- Tad
--
View this message in context: http://old.nabble.com/TextEdit-opens-intead-tp32872810p32872810.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi.
Am I correct in thinking that the Ack in Project bundle is not compatible
with ruby-1.9 hence the fact TxMt throws the `fails with to_plist
ArgumentError` message?
Cheers,
Phil...
--
Nothing to see here... move along, move along