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