This is a from a file from Strava generated on an iPhone.
Is there a way to convert it to gpx?
I put in the beginning of the file when heart rate, hr, was 60, then later one once I was moving, and the end of the file. Obviously hr is sprinkled in from time to time. Often very close to every second, but then it drifts. The file just ends as shown here. paus is presumably pause which the program requires before stopping. I imagine if you paused and restarted it would have another strt.
I’m not yet requesting that this be added to GPSBabel, but Strava is popular. But don’t know how many people are digging out this file and want to work with it.
I would like to load it into Ascent, a good, but long unsupported program. Ascent handles gpx, but don’t know what it expects for heart rate.
strt: t:442274070.571564
hr: v:60.000000; t:1420581270.674859;
wp: lat:33.823775; long:-118.368278; hacc:1414.000000; vacc:10.000000; alt:46.013519; speed:-1.000000; course:-1.000000; t:1420581270.911244; dt:1420581270.916915, dist:0.000000
wp: lat:33.824481; long:-118.367274; hacc:1414.000000; vacc:10.000000; alt:46.013519; speed:-1.000000; course:-1.000000; t:1420581270.966093; dt:1420581270.971293, dist:0.000000
wp: lat:33.824835; long:-118.366772; hacc:1414.000000; vacc:10.000000; alt:46.013519; speed:-1.000000; course:-1.000000; t:1420581270.974278; dt:1420581270.980752, dist:0.000000
wp: lat:33.825011; long:-118.366521; hacc:1414.000000; vacc:10.000000; alt:46.013519; speed:-1.000000; course:-1.000000; t:1420581270.980927; dt:1420581270.986745, dist:0.000000
hr: v:60.000000; t:1420581271.674313;
wp: lat:33.812261; long:-118.383594; hacc:50.000000; vacc:96.000000; alt:56.578022; speed:0.000000; course:-1.000000; t:1420581272.162422; dt:1420581272.183868, dist:0.000000
…
hr: v:110.000000; t:1420581503.774007;
wp: lat:33.809755; long:-118.384701; hacc:5.000000; vacc:4.000000; alt:62.196552; speed:1.670000; course:165.937500; t:1420581504.230349; dt:1420581504.245299, dist:363.185229
hr: v:110.000000; t:1420581504.774005;
wp: lat:33.809738; long:-118.384692; hacc:5.000000; vacc:4.000000; alt:62.610554; speed:2.170000; course:161.718750; t:1420581505.294441; dt:1420581505.306045, dist:366.836077
hr: v:110.000000; t:1420581505.773943;
wp: lat:33.809721; long:-118.384684; hacc:5.000000; vacc:4.000000; alt:64.164448; speed:1.970000; course:161.718750; t:1420581506.280267; dt:1420581506.303622, dist:366.836077
hr: v:110.000000; t:1420581506.773943;
wp: lat:33.809707; long:-118.384677; hacc:5.000000; vacc:4.000000; alt:63.869831; speed:1.850000; course:159.960938; t:1420581507.223398; dt:1420581507.237045, dist:370.564706
hr: v:110.000000; t:1420581507.774318;
wp: lat:33.809692; long:-118.384670; hacc:5.000000; vacc:4.000000; alt:63.272663; speed:1.910000; course:159.960938; t:1420581508.217323; dt:1420581508.229643, dist:370.564706
hr: v:110.000000; t:1420581508.774003;
wp: lat:33.809677; long:-118.384664; hacc:5.000000; vacc:4.000000; alt:63.689411; speed:1.770000; course:164.531250; t:1420581509.230239; dt:1420581509.242228, dist:374.098707
…..
wp: lat:33.812128; long:-118.383533; hacc:5.000000; vacc:4.000000; alt:55.949909; speed:0.000000; course:351.210938; t:1420584602.268403; dt:1420584602.334073, dist:11365.188420
wp: lat:33.812123; long:-118.383530; hacc:5.000000; vacc:4.000000; alt:55.499897; speed:0.190000; course:351.210938; t:1420584603.257177; dt:1420584603.260663, dist:11365.188420
wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:55.349751; speed:0.190000; course:351.210938; t:1420584604.268731; dt:1420584604.274758, dist:11365.188420
wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:54.506855; speed:0.000000; course:351.210938; t:1420584605.225173; dt:1420584605.229791, dist:11365.188420
wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:54.519428; speed:0.000000; course:351.210938; t:1420584606.223511; dt:1420584606.228382, dist:11365.188420
wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:54.269184; speed:0.000000; course:351.210938; t:1420584607.233396; dt:1420584607.237641, dist:11365.188420
wp: lat:33.812121; long:-118.383529; hacc:5.000000; vacc:4.000000; alt:54.149799; speed:0.000000; course:351.210938; t:1420584608.406772; dt:1420584608.410853, dist:11365.188420
paus: type:0 t:442277409.220280
Greg
Dear Allan Odgaard, dear list!
I'm coming here with perhaps a strange request: I'm trying to sidestep one
"feature" of NSTextView and the only application which seems to implement
similar behavior is TextMate so I was hoping you would be so kind to share
the trick.
The thing is, when a window with NSTextView contains lots of text and the
users scrolls to, say, 1/4 of text's height, places the text cursor
somewhere, say, at the top of the window and then resizes the window, the
textview does scroll so that the cursor appears the middle of the textview.
In other words, by default, the window resize triggers NSTextView scroll
which puts the cursor in the middle of the view. Which is what I'm trying
to avoid, i.e. I want the cursor to stay where it was (if possible due to
reflow).
I tried to ask at cocoadev [1] and StackOverflow [2] but got no answer so
far. I tried Dux and Fragaria editors but they seem to auto-scroll as well.
The only editor which I can resize the window of and which keeps the cursor
at the same position is TextMate. I tried to search through its source code
but I could not find the piece of code responsible for it.
Please, could you, or someone else, help me out with this? What did you do
to avoid the default behavior?
Thanks a lot in advance!
Regards,
Ecir Hana
[1] http://lists.apple.com/archives/cocoa-dev/2014/Dec/msg00210.html
[2] http://stackoverflow.com/questions/27651948/nstextview-auto-scroll
I'm running TextMate version 2.0-beta.6 on OSX 10.9.5. Skim is my
preferred viewer but every time I render a latex file I get not only the
normal operation of Skim either opening or refreshing but also TeXShop
opens and displays a blank new file. I'm not sure why this happens, Skim
is the default in my preferences and I tried editing the default viewer in
latex_watch.pl but the behavior continues. One workaround that does stop
this from happening is to just delete the TeXShop commands from
refresh_viewer.scpt. Unfortunately this is only a temporary fix, that
script keeps reverting to it's original version and then the behavior
resumes. Maybe textmate keeps updating the latex bundle after I change
it? I'm not sure.
Does anyone know what the issue is here? Or can anyone suggest a more
permanent workaround?
-Jim
Hi!
Q1: I recently updated to TM2alpha, and I'm quite fond of it! I mostly use
TM as my LaTeX editor. However, when I compile documents the log window
doesn't close when the PDF is viewed in Skim. I have made sure the "Keep log
window open" option is not checked. Actually I would like the window to show
only at errors
Q2: I would prefer to be able to chose the log window layout to be more
minimalistic, kind of terminal-like, as I find the default layout to be
unnecessary graphical and heavy. I've tried to google about a bit, but can't
seem to find if changing it is possible or not.
--
Holene
--
View this message in context: http://textmate.1073791.n5.nabble.com/Compiling-LaTeX-log-window-tp25794.ht…
Sent from the textmate users mailing list archive at Nabble.com.
Hi James
I'm not familiar with shell scripts. Where can I find some guidance on how to create and execute a shell script?
Ross Ahmed
Ecologist
--
07875533906
Twitter: @RossAhmed
LinkedIn: Ross Ahmed
The R bundle includes the following command:
R > Execute Selection/Document In R and > Show Result as Tooltip
How can I get this command to work in .Rnw files?
The tooltips disappear after a few seconds—is there anyway of showing/hiding the tooltips with a keyboard shortcut?
Ross Ahmed
twitter.com/RossAhmed
Hi
I haven't received email replies to my posts to the list for a while. Furthermore, I haven't received the password reminder email I've just requested. I've checked my junk folder and the emails are not in there.
How can I fix this?
Ross Ahmed
twitter.com/RossAhmed
I seem to have inconsistency in being able to open files in tabs.
Right now, even with a new tab, when I open a file, it opens in a
completely new window.
How do I open files in tabs?
Thanks.
> textmate-request(a)lists.macromates.com
> <mailto:textmate-request@lists.macromates.com>
> December 16, 2014 at 4:00 AM
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. Re: Committing to git submodule (Allan Odgaard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 16 Dec 2014 14:32:07 +0700
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Committing to git submodule
> Message-ID: <AD99A230-5449-4EED-90A0-32AD799576B4(a)textmate.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
>
> Do you select the files in the file browser prior to comitting?
>
> For me, selecting files from a submodule and then running Git ? Commit
> works.
>
> The alternative would be to change the project folder first, as Ronald
> suggested. Both actions serve the purpose of directing the commit to the
> submodule. Without doing any of this, I don?t see my submodule?s
> files in the commit dialog (since we?ve initiated a commit in the
> parent repository).
>
>
> ------------------------------
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
> End of textmate Digest, Vol 79, Issue 14
> ****************************************
--
Sent with Postbox <http://www.getpostbox.com>
I made a simple shell script and a similar system service via automator to turn .txt files into .pdf via xelatex. They work well but require a couple steps outside TextMate. It would be a great convenience to have a command in the markdown bundle that would add this capacity. I tried it but failed even when giving full path to pandoc and pandoc-citeproc which are in /usr/local/bin, or to xelatex. I have little knowledge in these matters and would appreciate any help.
Here is my little shell script:
#!/bin/sh
pandoc -S --filter pandoc-citeproc --latex-engine=xelatex "${1}" -o "${1}".pdf
My similar automator service:
PATH=$HOME/.cabal/bin:/usr/local/bin:/usr/texbin:$PATH
for file in "$@"
do
output=${file%%.*}.pdf
pandoc -S --filter pandoc-citeproc --latex-engine=xelatex "$file" -o "$output"
done
The metadata at the head of my .md or .txt files give extra info, such as title, font, bibliography, as in:
---
title: My title
author: My Name
date: \today
mainfont: Hoefler Text
bibliography: /Users/me/Library/texmf/bibtex/bib/data.bib
---
Any pointers towards making a markdown bundle command that accomplishes what the scripts above do would be great.
--Gildas
Is it possible to set a keyboard shortcut/menu selection that open a specific set of files as tabs.
For example:
Keyboard shortcut 1 will open files x1, x2 and 3
Keyboard shortcut 2 will open files y1 and y2
Ross
Twitter: @RossAhmed
Is committing to git submodules supposed to work? I have a project which
uses a git submodule. I open the project in TM, make some changes in the
submodule and then commit. It looks like everything went fine but in the
result window I get "Changes not staged for commit" and "no changes
added to commit". Running "git status" in the submodule I see that the
changes are not committed.
--
/Jacob Carlborg
Latest textmate changed the CMD+T dialog to a 'view based' list
I'd really love a slightly more compact view personally (smaller icon size)
but I'm gradually getting accustomed to it
One thing I've noticed is the list selection resets sometimes while the
list is filling..
1) Type a substring which matches lots of entries
2) TM auto selects the first entry as expected
3) Now arrow down to the next item in the list
Now, if the search is still chugging away, as soon as it finds a new entry,
the new match is appended to the list, but this also resets the selection
to the top item
The net result is that quite often I am typing a filename, arrow down, and
in between that and hitting enter, its very quickly reselecting the first
item, and Im opening the file I didn't intend to.
I'm hoping this is something you can reproduce and fix please?
Thanks
I recently upgraded to Yosemite and these two commands do not work. I change
the key to Command+D
and type it when i have \ref{|}. In mavericks this would give me a list of
all the labels. However now I get
the following
/Users/stef/Downloads/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:204:in
`recursive_scan': undefined method `each_with_index' for
#<String:0x007fd96b06fcb0> (NoMethodError)
from
/Users/stef/Downloads/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:234:in
`label_scan'
from
/Users/stef/Downloads/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:57:in
`get_labels'
from /tmp/temp_textmate.Jyk2v5:8:in `<main>'
Has anyone encountered something similar?
--
View this message in context: http://textmate.1073791.n5.nabble.com/Label-and-Citation-Based-on-current-w…
Sent from the textmate users mailing list archive at Nabble.com.
I’m not sure this is the proper place to ask this, but:
SCM Diff Gutter bundle doesn’t show anything to me in the gutter.
I'm on the 2.0-beta.6.5, installed the bundle in Preferences, working on a project versioned with Git.
Is there anything else I should have done?
Caio
I have a suspicion this can’t be done, but perhaps I’ve just missed something.
I’m trying to write a snippet to insert operator declarations in Swift. The basic syntax is
(postfix|infix|prefix) operator <name> { }
But, if we are declaring an infix operator, we may also add
precedence <level>
associativity (left|right|none)
inside the curly brackets.
This is what I’ve got, based on the example at the end of section 6.8 in the manual.
${1|infix,prefix,postfix|} operator ${2:name} { ${1/(infix)|prefix|postfix/${1:+\n\tassociativity ${3|left,right, none|}\n\tprecedence${4:level}\n}/}}
As you can see if you can read that lot, I’m trying to use $3 and $4 as placeholders within the conditional insertion.
It doesn’t work of course. I assume this is because in that context $3 and $4 refer to captures from the regular expression. Is that so? Is there any way round this?
Thanks to anyone who can help
Nigel Chapman
There’s a neat feature in Find dialog. When you hold down ⌘ the file icon
for each file in results window changes to a number that you can press
to get to it.
Implementing something in similar fashion for file tabs would be
a great addition as it’s hard to guess the number when there’s
more than 5 tabs open.
Thanks.
In TM2, when a <script …> tag is prepended by any whitespace, the scope changes from `meta.tag.any.html` to `source.js.embedded.html`. This causes problems with the Comment Line command, as with the latter scope it prepends JS comments instead of HTML comments.
This problem exists when either HTML or PHP language is set for the document.
I don't think I've modified these language bundles. Any ideas for a fix?
Quinn
Hi,
I need to type special characters (ä, ü, ö, ß) quite often.
Normally on MacOS applications this is done by press-and-hold a key and
then select the special character. For applications where this gets in the
way (e.g. MacVim) this can be disabled.
TextMate 2 seems to have this feature disabled by default. I can't figure
out how to enable it. The command 'defaults write
com.macromates.TextMate.preview ApplePressAndHoldEnabled -bool true' does
not work.
Any tips?
I'm using TextMate 2.0-beta.6.3 on MacOS 10.10.1.
Best regards,
Markus
When I write javascript (in a .js file, bundle set to javascript) the behaviour when typing return after a curly bracket is different than when I write a shader (OpenGL bundle chosen) (the difference is the insertion of an extra line before the closing bracket). I see similar differences with indentation and where the cursor ends up after new line between bundles.
Is this behaviour something I can set or program myself? If so, how?
Kind Regards,
Bas
Hi,
I am finding that the Find in Project window stops responding (I cannot
type in the Find: field, though I can click checkboxes, etc.). This started
happening quite recently, I currently have Textmate v2 beta 6.
Thanks,
Anand
Running TM 2.0-beta.6.2 under Yosemite 10.10.1, if I open a file or project and click on the green button in the top left of the window, it switches to full-screen mode, as it should. However, if I have a window in normal mode, or no open file and I invoke the bundle editor, I still get the old pre-Yosemite behaviour, with the green button causing the window to toggle between the size I set it to, and some other size that is supposed to be the smallest that can enclose the content. If I’m already in full-screen mode and bring up the bundle editor, it opens at the full size of the screen, but the window title and traffic light buttons are visible, so it isn’t really full-screen. Also, the bundle editor is in the same space as the full-screen editing window, whereas if I open a new project from a full-screen window, it opens in its own space, also in full-screen, as I would expect.
Hardly a huge issue and I don’t know how far back it goes – I only just discovered it when I wanted more space to see a language grammar – but something doesn’t seem to be quite right.
Best wishes
Nigel Chapman
Using ⌃⌥⌘P to preview markdown text does nothing. To see the preview, I
must pull down from bundles to Markdown and select preview. That works
fine, but is slow. I am using 2.0-beta.6.3 on OS X 10.9.5. Can I get
some help?
--Lewis Overton
I know there is probably a very good reason for the Textmate team not to use GitHub Issues instead of this mailing list, but I saw at least three times duplicate things coming up by multiple people just in the past couple of weeks. I guess this email itself might already be a duplicate, someone must have already suggested GitHub Issues before. Anyway, I would like to ask the team to think again about this. Sorry for the possible inconvenience.
Caio
Greeting all.
I have a question regarding the highlighting of opening/closing brackets in
code. Currently they are highlighted momentarily when “passing” through the
brackets with the cursor. Is it possible somehow to have the bracket
continuously highlighted when the cursor is at the sibling bracket (and not
just flashing on then off)?
Some setting in tm_properties, or other way? This is how bracket
highlighting work in Netbeans and other editors. Personally, I find it very
helpful when looking at code (mainly C/C++ code).
Thank you in advance for any responses.
Best Regards,
S.P.
Just upgraded to Yosemite and when I try to use the git bundle it is asking to install Ruby 1.8.6. I really don’t want to have such an old Ruby version kicking around. Googling around the subject there doesn’t seem to be any alternatives, but maybe I have missed something.
I have my TM_RUBY variable setup to point to my installed version of Ruby 2.0 and I am using TM2 beta.6.2.
Dave.
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
Hi,
A very tiny request: would it be much trouble to make the click target for the double chevron button on the rightmost tab (visible when more files are open than there is space for tabs) extend till the edge of the tab? I mis-click 7 out of 10 times…
Thanks!
Best regards,
Bas
I have the situation where I have files with the same name (and similar content) in different sub folders and it is very easy to edit the incorrect file as the two tabs look the same.
A few ways to make this more obvious would be to change the background colour (of the edit window) or the colour of the tab (or text in the tab) based on something in the file path. Is there anyway of achieving such a thing?
I recall you can do something with the window title so this may be one way to help, but using colour would make it easier to see rather than having to read the full path name.
Dave.
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
I have a symbolic link to the bundle I'm working on in
~/Library/Application Support/Avian/Pristine Copy/Bundles
This is where Textmate put it when it was installed.
If I choose "Edit Bundles" and make a change to the language grammar, it puts a delta file in
~/Library/Application Support/Avian/Bundles
rather than changing the bundle itself. How do I get a complete language grammar back into my development copy for version control and distribution?
Thanks,
John DeSoi, Ph.D.
With Textmate 1.5 I used the parent process ID from my bundle script (PHP posix_getppid) in order to store some per-session variables. With 2.0, the same function returns a different value for each script execution in the same session. I realize I could query the system and find the Textmate pid by name, but there could be more than one instance running. Is there a better way to get a stable identifier that only changes if the application is relaunched?
Thanks,
John DeSoi, Ph.D.
Hi,
> Brian Powell <powellb(a)gmail.com> wrote:
>
> When I “Typeset and View” (CMD-R), it takes upwards of 5 seconds for anything to happen on a core i7 macbook pro (it initially brought up a dialog stating it was searching for Ruby 1.8, which took about 20-25 secs). Once the command output window appears, everything happens as normal very quickly with the final document appearing in Skim.
>
> If I close Skim, close the command output window, then press CMD-R again, it still takes 4-5 seconds to begin before generating the document.
the problem should be fixed in
https://github.com/textmate/latex.tmbundle/commit/5074427f585490148ee6641d9…
Allan already deployed the change. So most of you should have the newest version of the bundle by now. If anyone encounters any problems with the update, please do not hesitate to ask here, or open an issue in the bundle issue tracker at https://github.com/textmate/latex.tmbundle/issues.
Kind regards,
René
> Hello everyone,
>
> I just upgraded to beta 6.1 and it seems that pdfs open in Skim are no longer updated when compiling tex, and further, the view is no longer being brought to the correct position in the document. For example, when I expect the viewer to open to page 20, it brings up the first page.
>
> Any ideas...?
>
> Thank you and best wishes,
>
> Anthony
Hi,
there is a very high chance, about 100% :(, that I am responsible for the problem you and the others encountered. Sorry.
I hopefully fixed the issue in https://github.com/textmate/latex.tmbundle/commit/dd13898357fa874dd5dde7d9d…
If you want to try the changes you can use the following steps:
1. Uninstall the LaTeX Bunde inside preferences
2. Quit TextMate
3. Enter the following command inside Terminal
mkdir -p ~/Library/Application\ Support/Avian/Bundles/
cd ~/Library/Application\ Support/Avian/Bundles/
git clone https://github.com/textmate/latex.tmbundle.git
4. Open TextMate
I already mailed Michael (Sheets) about the update. Theoretically he will update the official bundle soon.
Kind regards,
René
something similar to vi's shift+%
is that available in textmate 2? I know highlight color may help but I
have hundreds of lines in between...
thanks
--
Sent from my mobile. Ignore the typos unless they're funny.
Hello everyone,
I just upgraded to beta 6.1 and it seems that pdfs open in Skim are no
longer updated when compiling tex, and further, the view is no longer being
brought to the correct position in the document. For example, when I expect
the viewer to open to page 20, it brings up the first page.
Any ideas...?
Thank you and best wishes,
Anthony
(In case it helps, I'm on Yosemite.)
When you cursor through a closing brace, TM highlights the opening one to
help you balance it.
Im assuming this feature is in TM Core and not provided by a bundle as such
Is there a way to also get TM to highlight the opening brace, when you
actually type the closing brace too?
Cheers
Hello there,
TextMate 2 removed the option of new-from-template, so with your help I
created a command. After updating to Yosemite and TextMate 2.0-beta.6 it
stopped working.
*Compressed version of the problem*
#!/usr/bin/osascript
tell application "System Events"
keystroke "p"
end tell
*Error:*
HTML5:63:122: execution error: An error of type -10810 has occurred.
(-10810)
HTML5 is the name of the command. I don't know what 63 and 122 refers
to, as there are only 18 lines in my command. Is it perhaps a
permissions problem?
All the best,
Rasmus
Does anyone have any SVG bundles they'd recommend? I am feeling a need to
get in amongst the SVG rather than staying in illustrator/omnigraffle and
on first inspection there are a number of bundles but all I've seen are
pretty aged and never had much activity.
Ken
Hi, I had two questions.
1- sometimes I cannot open a file in a tab. Even when I create a tab and press Open, text ate opens a brand new window. I would like to keep those files a tab away.
2- I want to create a bundle that will correct for the correct syntax (spelling and end brackets) for an XML like markup. I tried to look at how JSON and XML bundles were done but was overwhelmed. What's the best place to get started? The markup is called AIML 2.0
Thanks!
Matt Neuburg wrote:
> So what about the little arrow button at the bottom that opens the list of changed files and lets you show the diff as a separate window? m.
I've just received beta 6 (previously on beta 1), and it has changed a bit more. The drop-down to check/uncheck all has reappeared at the bottom of the Commit window: good change back to the previous UI - it was a bit hidden in the right-click menu on the grid. (Thanks to Michael Sheets for pointing that out to me).
The little arrow just hides and shows the grid. The cog drop-down only offers check/uncheck all. Maybe I'm missing something? Each file has a Diff button, but that opens the diff just for that file. If I've got lots of changes that's also a bit tiresome.
Ronald Wampler wrote:
> See http://lists.macromates.com/textmate-dev/2014-July/014989.html and https://github.com/textmate/textmate/pull/1249 for previous discussions.
Thanks for the pointers; they were helpful in understanding the aim of the changes. I see that the individual diffs are opened in a separate window but tied to the project, which makes sense. Following that idea, I guess what I would like to see is an option to open all of the diffs in one tab on that, i.e. the same as Command-Shift-A, Command-Y, "Diff with working copy (BASE)" and double-click the tab, which is my current dance that I have to remember to do before opening the Commit pane. Perhaps another option in the cog drop-down along with check/uncheck all?
I know that the "Previous Commit" messages are retained, which is a very useful feature that I've used for a long time. Opening and closing the commit pane to write a bit of a message in between reviewing code is still a bit tedious.
I saw also that Allan commented in the pull request:
> I’ve noticed that sometimes I need to include stuff from my source in the commit message, in which case I need to abort the commit (in order to get to the source), a downside of the sheet I hadn’t considered. But I’ll give it some more time, as it might not be that big of an issue in the long run.
This is basically the fundamental problem I am getting at. As I wrote above, the new pane in beta 6 is much better than it was in beta 1, and it could be improved further with an 'open all diffs' button, but in the end the modality means you cannot access the tabs. On the other hand, I also see Ronald's original point that you can end up with several Commit windows with the old UI. It happened to me occasionally too. Maybe we just need a preference setting to have it either way?
Allan Odgaard wrote:
> We already use an extenral window when showing uncommitted changes for Git which has the nice feature that line numbers (in that display) link back to the original documents. Additionally once TM supports re-running commands on changes, such output windows can be made ?live?.
Sorry Allan, I don't use Git so I don't understand what the links and 'live' windows means for the SVN Commit window, but it *sounds* good! :-)
Thanks all for your input and hard work.
Cheers,
Jonathan.
I joined the list just to say TextMate is looking great. Love the tabs,
love the direction the chooser windows are going in —it's all good.
Thanks for all the hard work!
I found the following bundle for Javascript's rapidly approaching ES6
standard:
https://github.com/Benvie/JavaScriptNext.tmLanguage
I like that it phrases things as being for Textmate *and then *Sublime but
the installation instructions are clearly Sublime centric. Anyway, just
wondering if there is going to be anything official for ES6 coming soon.
With transpilers reaching maturity the ability to program in ES6 has come
so I think having a good answer to this language choice will be important.
Ken
I have several favorites pointing to directories with very similar (or
even identical) names, so I usually rename the symlinks.
Since beta 5.4 the “Open Favorite” chooser window shows the name of the
directory the symlink is pointing to instead of the symlink's name. Was
this an intentional change?
Hi All,
I've been a Textmate user for a long time but I'm new here on the list. Recently the SVN commit pane changed from a dialog to a modal pane. I sent a message to feedback but was advised that I would be better raising it as a discussion here. I cannot find a previous thread that explains the design decision for the change.
I tend to open a full diff before starting the commit so that I can review my changes and write the commit message accordingly. Now I have to remember to double-click the tab of the diff file to move it to a separate window because the modality stops me from accessing the tabs. I also cannot browse the actual code on the tabs.
I presume that the modality change is to stop a novice from continuing to edit files before hitting Commit and therefore not necessarily committing everything? (I don't consider myself a novice). :-)
Cheers,
Jonathan.
hey,
i have a strange problem with file renaming in the file list:
right-clicking the file, "rename"
if i than want to open the renamed file, textmate will still try to
open the file with it's old name ... so: double click on the renamed
file opens an empty tab with the old name. the only chance to
workaround this problem seems to be restarting textmate.
in the screenshot i tried to rename "Args_tr.php" to "TArgs.php" but i
have no chance to open "TArgs.php" without restarting TextMate:
https://www.dropbox.com/s/peh32zkltd56ukn/TextMate-Rename.png?dl=0
i am not sure when this error occured the first time for me, but it
must got broken during some of the recent betas ... i am currently at
TextMate version 2.0-beta.5.3 on Yosemite
thanks!
harald
When and how is the “First Line Match” setting of language grammars
considered?
In my experiments it doesn't seem to have any effect at all: For
example, I'd like TextMate to use the RSpec grammar for all *.rb having
a first line matching '.*spec_helper.*', but it seems to always use the
Rails grammar instead (even for newly created files). I suspect TextMate
remembers some kind of manual override – if so, how can I reset this
override? Is there any way to see (debug) how TextMate choses the grammar?
Just spotted a little bug in macro recording, whereby it doesn't seem to
record undo operations.
1) Copy some text into your clipboard
2) Start recording, type something, paste clipboard, undo that, then stop
recording
3) When you replay the macro it applies to clipboard paste but ignores the
undo
Not a show stopper, but I recorded quite a big macro today and it threw me
for a while
Cheers
Has the ranking code for ⌘T changed recently? Im on v2.0-alpha.9561
I've noticed recently when I try top quick open "view.php" its instead
ranking "review.php" at the top, with "view.php" 2nd.
There are no files open when I attempt this, although Ive been working on
review.php the past few days, so I wonder if theres some meta data which
boosts the rank according to recent usage?
Thanks
Thank you for reemphasizing that. I missed it the first time since the time had past, but if I do it again I hope to remember to look in Transmit folder.
Greg
> On Nov 4, 2014, at 4:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> Date: Mon, 3 Nov 2014 14:23:54 +0200
> From: George McGinley Smith <george(a)gsgd.co.uk <mailto:george@gsgd.co.uk>>
>
> Yeah, not sure about Transmit, but with Cyberduck they are not in
> application support, but some weird temp folder which is why I suggested
> opening another file to see where it ended up.
>
> On Sat, Nov 1, 2014 at 4:04 AM, Greg <web(a)web.knobby.ws <mailto:web@web.knobby.ws>> wrote:
>
>> I looked in TextMate but forgot to look in Transmit folders. Nothing there
>> now (Application Support>Transmit), but maybe next time.
>>
>> Thanks
>>
>> From: George McGinley Smith <george(a)gsgd.co.uk <mailto:george@gsgd.co.uk>>
>>
>> You might also find that the files are still on disk somewhere (I know
>> CyberDuck keeps them on disk).
>>
>> Try opening another file and then the file drawer and you might see it's
>> still there.
>>
>> On Fri, Oct 31, 2014 at 2:22 AM, Allan Odgaard <mailinglist(a)textmate.org <mailto:mailinglist@textmate.org>>
>> wrote:
>>
>> On 31 Oct 2014, at 1:03, Greg wrote:
>>
>> I?m writing Ruby scripts for a Raspberry Pi (RPi) using TextMate
>>
>> v2.0-beta.1. The RPi is on my network and I?m accessing the files via
>> Transmit (OS X FTP GUI program). From Transmit I open, edit and save the
>> files. However I just opened the ReadMe.tm created by GitHub, did some
>> editing, saved and closed. I hadn?t seen that I had received a notice from
>> Transmit that I didn?t have permissions to modify the file, but the changes
>> were gone (RPi is slow).
I've been experimenting with some ideas for enhancing editing of code,
particularly Ruby and JavaScript, but this query is more general. I'm
writing scripts in Ruby and quite happy with ruby18 if it has to be that.
Can I get scope information from within a script? I realise that a scope or
list of scopes can act as a kind of guard for whether a script is
activated. But once a script is running can it take a look at the results
of the various scope definitions applied to the current code file?
07952130635
skype: rdrake98
blog <https://dl.dropboxusercontent.com/u/51971271/drake/index.html> -
twitter <https://twitter.com/rdrake98>
If I click on a TextMate window to select it and the tries to adjust a
split view divider (file browser or output view) the window moves
instead of adjusting the divider. I doesn't always happen but sometimes
it does.
I'm using TextMate beta5 on OS X 10.9.5. I made a screen recoding of the
behavior:
[1] https://drive.google.com/open?id=0B7UtafxGD9vEU2RPZHhXYlRCenM&authuser=0
--
/Jacob Carlborg
My "Paste Document / Selection Online…" command isn't working (TM2 2.0-beta.1). I haven't used it in awhile so not sure when it broke, but it is identical in content to https://github.com/textmate/textmate.tmbundle/blob/master/Commands/Paste%20…
The error I get is:
----
The script failed with the following exception:
NoMethodError: undefined method `[]' for nil:NilClass
At line 70 in ‘TextMate_command.z1Zsvt’ (inside method ‘get_destinations’)
At line 69 in ‘TextMate_command.z1Zsvt’ (inside method ‘each’)
At line 69 in ‘TextMate_command.z1Zsvt’ (inside method ‘get_destinations’)
At line 66 in ‘TextMate_command.z1Zsvt’ (inside method ‘each’)
At line 66 in ‘TextMate_command.z1Zsvt’ (inside method ‘get_destinations’)
At line 213 in ‘TextMate_command.z1Zsvt’ (top level)
At line 13 in ‘detach.rb’ (inside method ‘call’)
At line 13 in ‘detach.rb’ (inside method ‘detach’)
At line 8 in ‘detach.rb’ (inside method ‘fork’)
At line 8 in ‘detach.rb’ (inside method ‘detach’)
At line 212 in ‘TextMate_command.z1Zsvt’ (top level)
I looked in TextMate but forgot to look in Transmit folders. Nothing there now (Application Support>Transmit), but maybe next time.
Thanks
> From: George McGinley Smith <george(a)gsgd.co.uk <mailto:george@gsgd.co.uk>>
>
> You might also find that the files are still on disk somewhere (I know
> CyberDuck keeps them on disk).
>
> Try opening another file and then the file drawer and you might see it's
> still there.
>
> On Fri, Oct 31, 2014 at 2:22 AM, Allan Odgaard <mailinglist(a)textmate.org <mailto:mailinglist@textmate.org>>
> wrote:
>
>> On 31 Oct 2014, at 1:03, Greg wrote:
>>
>> I?m writing Ruby scripts for a Raspberry Pi (RPi) using TextMate
>>> v2.0-beta.1. The RPi is on my network and I?m accessing the files via
>>> Transmit (OS X FTP GUI program). From Transmit I open, edit and save the
>>> files. However I just opened the ReadMe.tm created by GitHub, did some
>>> editing, saved and closed. I hadn?t seen that I had received a notice from
>>> Transmit that I didn?t have permissions to modify the file, but the changes
>>> were gone (RPi is slow).
TextMate 2 beta 3 seems to be crashing after compiling latex code a couple
of times after upgrading to Yosemite. I've tried a few different latex
files, which worked before Yosemite. I compile two or three times, and
Textmate closes and sends a crash report:
https://api.textmate.org/crashes/259184
I'm on TeXlive 2014, but this happened before upgrading from TeXlive 2013.
Would anyone know what is going on?
> On Oct 31, 2014, at 1:37 AM, textmate-request(a)lists.macromates.com wrote:
>
> From: "Allan Odgaard" <mailinglist(a)textmate.org <mailto:mailinglist@textmate.org>>
> To: "TextMate users" <textmate(a)lists.macromates.com <mailto:textmate@lists.macromates.com>>
> Subject: [TxMt] Re: Lost file when didn't have permission to write.
> Message-ID: <8589BDAC-685B-4CAD-9327-382E352F7C47(a)textmate.org <mailto:8589BDAC-685B-4CAD-9327-382E352F7C47@textmate.org>>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 31 Oct 2014, at 1:03, Greg wrote:
>
>> I?m writing Ruby scripts for a Raspberry Pi (RPi) using TextMate
>> v2.0-beta.1. The RPi is on my network and I?m accessing the files
>> via Transmit (OS X FTP GUI program). From Transmit I open, edit and
>> save the files. However I just opened the ReadMe.tm created by GitHub,
>> did some editing, saved and closed. I hadn?t seen that I had
>> received a notice from Transmit that I didn?t have permissions to
>> modify the file, but the changes were gone (RPi is slow).
>
> TextMate tells Transmit that the file has closed, it does not remove it
> (this would be done by Transmit). It also does not know, that Transmit
> is unable to upload the file.
>
> So I don?t think TextMate can really do anything better here.
Afraid of that.
Thanks for responding.
Not sure if this is the right way to reply to a digest.
I realize that this is an edge case, but here goes.
I’m writing Ruby scripts for a Raspberry Pi (RPi) using TextMate v2.0-beta.1. The RPi is on my network and I’m accessing the files via Transmit (OS X FTP GUI program). From Transmit I open, edit and save the files. However I just opened the ReadMe.tm created by GitHub, did some editing, saved and closed. I hadn’t seen that I had received a notice from Transmit that I didn’t have permissions to modify the file, but the changes were gone (RPi is slow).
The RPi is a $35 computer with GPIO pins to access devices. The “drive” is a µSD card with some variant of Linux installed.
I can change the permissions and will do, but may not remember in the future.
Greg
Hi,
For the past couple of weeks, the log window hasn't been showing a link
to the LaTeX log after compilation. It just says "Complete transcript is
in " followed by empty space where the link used to be.
Any idea what might be causing this? Thanks.
Antonio
I've seen some different behavior and I'm assuming the gutter has gotten some love lately.
Unfortunately I've just found a bug where the gutter will fill half the window, over the text, its non-fatal and only triggers on the HTML drawer being resized, so its probably pretty low priority, but its easily reproducible on my system.
It seems to me the text content must be longer than the page window, and it must be scrolled some.
Gist of the markdown used is here:
https://gist.github.com/anonymous/d1b02248ac263b868f15
An Image here:
http://i.imgur.com/YnLrVBq.png
And here's a video of the bug:
http://screencast.com/t/ib7nlyVh
Im using Command + Option + Control + P to show and Command + Option + Control + H to hide the drawer.
If the app looses focus, the bug fixes itself when it gains it back.
Thanks guys. Keep up the good work!
--
Graham P Heath
I started trying out the new gutter mark functionality. I noticed when I
add a gutter mark with a value with a single line, the popover looks
kind of odd. It looks like a graphical bug [1]
[1] https://drive.google.com/file/d/0B7UtafxGD9vELTRJbkNJVm9md0k/view
--
/Jacob Carlborg
I have also had problems with Yosemite and Latex. Besides frequent crashes upon typesetting, I also found the following bug: If I invoke Zoom, either with a key command or by clicking on the green button in the upper left corner of a window, Mission Control awakens and moves the window onto a different level. The menu bar disappears, too. I disabled Mission Control ages ago, and never use it. I disabled it again via the terminal after installing Yosemite. But this "ghost" connection remains. I can enlarge a window by manually dragging a corner without encountering this bug.
Jenny
When i open TextMate is always open a blank file called 'untitled'. Is there a way to prevent this blank file being generated when opening TextMate? Therefore can I open TextMate without without any file being opened?
Ross
In Finder to create a folder one would use ⌘⇧N, but in TextMate ⌘⌃N . Why the difference?
I’m always getting confused.
Why not using ⌘⇧N to create a folder and ⌘⌃N to create a file?
I use the Open Terminal command in the Shell Script bundle to automate LaTeXing of files. When I give this command (Control Shift O), whether Terminal.app is open or not, a tab is correctly open in Terminal in the right directory for my LaTeX file, but when the focus is back in TextMate, a Go to File (command T) has also opened. How can I avoid this? I can see the following lines in the Shell Script Open Terminal command but don't know how to prevent the opening of the Go to File window:
tell application "System Events"
tell process "Terminal" to keystroke "t" using command down
end tell
Thanks in advance for any pointer.
--gildas
Greetings,
I am running Beta3 with Yosemite and have issues with the latex bundle.
First, I have it configured to use pdflatex and open in Skim while displaying the command output in a separate window.
When I “Typeset and View” (CMD-R), it takes upwards of 5 seconds for anything to happen on a core i7 macbook pro (it initially brought up a dialog stating it was searching for Ruby 1.8, which took about 20-25 secs). Once the command output window appears, everything happens as normal very quickly with the final document appearing in Skim.
If I close Skim, close the command output window, then press CMD-R again, it still takes 4-5 seconds to begin before generating the document. If I close the command output window more than 2 two times, the next time I bring TextMate to the front, it will crash. It states that it is submitting the crash reports, but I can submit one of them to Allan directly if he desires (see main snippet below).
Anyone else have problems with the latex bundle: slow response and crashing TextMate?
Thanks,
Brian
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Application Specific Information:
Key equivalent ‘@w’.
Performing @selector(_close:) from sender _NSThemeCloseWidget 0x608000389240
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
Theres a feature in TM to automatically keep bundles updated
How does this work exactly?
Is it just for the default bundles, and theres some web service on the TM
website?
I'm wondering if I can hook into it somehow and have my third party
git-based bundles updated also
Thanks
Hello,
building latest textmate after a long time, I am hitting this error:
$ ninja TextMate
[9/36] Run test ‘/Users/dusek/build/TextMate/Frameworks/network/test_network’…
FAILED: /Users/dusek/build/TextMate/Frameworks/network/test_network && touch /Users/dusek/build/TextMate/Frameworks/network/test_network.run
test_network: 1 of 1 test failed:
/Users/dusek/Documents/Projects/Contribute/textmate/Frameworks/network/tests/t_download.cc:58: Expected (network::download(network::request_t(url, &myFilter, NULL), &error) == 200), found (0 != 200)
[9/36] Run test ‘/Users/dusek/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate’…
FAILED: /Users/dusek/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate && touch /Users/dusek/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate.run
test_SoftwareUpdate: 5 of 6 tests failed:
/Users/dusek/Documents/Projects/Contribute/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:64: Expected (err == "Extracting archive."), found ("Failed to connect to localhost port 64762: Connection refused" != "Extracting archive.")
/Users/dusek/Documents/Projects/Contribute/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:73: Expected (err == "Extracting archive."), found ("Failed to connect to localhost port 64762: Connection refused" != "Extracting archive.")
/Users/dusek/Documents/Projects/Contribute/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:82: Expected (err == "Bad signature."), found ("Failed to connect to localhost port 64762: Connection refused" != "Bad signature.")
/Users/dusek/Documents/Projects/Contribute/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:91: Expected (err == "Bad signature."), found ("Failed to connect to localhost port 64762: Connection refused" != "Bad signature.")
/Users/dusek/Documents/Projects/Contribute/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:109: Expected (err == NULL_STR), found ("Failed to connect to localhost port 64762: Connection refused" != "")
ninja: build stopped: subcommand failed.
I tried ninja network/coerce and ninja SoftwareUpdate/coerce and they do skip the relevant tests, but these choices do not persist and after running ninja TextMate again, I hit the same failures.
System: Xcode 6.0.1 (i.e. 10.9 SDK) running on Yosemite DP8 (14A361c), happens even on a totally clean rebuild (git clean -xffd; git reset --hard HEAD; rm -rf ~/build/TextMate/; ./configure && ninja)
Is there please anything I can do to make TextMate compile?
Thanks,
Boris
OS X has support for auto save and reverting to older file versions since Lion.
Are there any plans to support this in TextMate?
Is it hard to implement or there’s some other reason why it’s not supported?
Maybe it’s just not on the priority list?
Thanks.
I'm currently adding gutter mark support to the RSpec bundle. It works,
but marks set by the SCM Diff Gutter bundle seem to take precedence: If
I try to set an error mark in a line thats already marked as “changed”,
it isn't visible. How could that be solved?
Stefan.
I use TextMate primarily for its Latex bundle. My pdf viewer is Skim. Everything I use is up to date, including my system and TextMate 2 revision. Something has changed in the last two weeks which slows my work flow. I normally use command-tab to switch between TM and Skim. I do this many times a day. But now, each time I return to TM, my active file is no longer the focus. I cannot even find it by cycling around with command-'. Instead, I have to go to Window in the TM menu to find it. The file seems to be in a different place altogether from the rest of my files, as everything slides to the left to make space for it. Furthermore, the menu bar becomes hidden. I do not want the menu bar to disappear. I would like to return to the way things were. It was clean and simple.
-Jenny
p.s. I apologize if I am not using the correct language.
„Recent Projects” (correctly) includes my local copy of “RSpec.tmbundle”
– but if I double click to open it TextMate tries to install the bundle
and gives me a “The bundle RSpec is already installed” dialog. (Same for
using enter instead of double clicking.)
Only a minor nuisance of course, but maybe it can be fixed easily?
Stefan.
Hi,
I’d like to have a way to disable autoclosing of overflow tabs. I know it has been asked before and explained why it works this way.
My problem is that closed tabs also loose undo-history so even if it’s easy to reopen them for me it’s not a solution. Of course I’m open to any other solution for the undo-history problem.
Thanks,
Elia
📢 twitter/elia
☕️ github/elia
It seems the "check all" and "uncheck all" menu options were removed from the
Git commit dialog.
Is there a reason for this? And could they be making a comeback at some
point?
Thanks
--
View this message in context: http://textmate.1073791.n5.nabble.com/Git-commit-dialog-Check-All-removed-t…
Sent from the textmate users mailing list archive at Nabble.com.
I'm not a programmer, but I would definitely like a simple way to control versioning. I use text mate for HTML, CSS, and basic PHP. I personally hate Apple's versions, and they have caused problems, so I disabled them in apps that had them on by default.
Being not very technical when it comes to certain things, I have never used Git, Mercurial, and don't know where to start.
If some simple versioning system was put into textmate, I would use it right away. The ability to show differences between versions would be great for things like HTML and CSS, and highlighting would make that easy. We would need the ability to control the highlight color (background color and text color) since we all use different syntax highlighting themes.
thanks
The size of bookmarks and arrows for folding blocks in the gutter seems larger to me in TM2.0-beta1. I prefer a very small size and do not know how to change that. Through gutterSettings in my theme (Mac Classic)? I would welcome any help with this.
Related: I don't see an option to toggle bookmarks and/or block-folding arrows in the menus. Is it possible via .tm_properties?
--Gildas Hamel
Hi,
Just wanted to let you know that since version 2.0-alpha.9567 the ‘File' -> 'Open Recent...' list has become pretty useless because it now keeps track of each and every file you open inside a project directory, rather than just keeping only the project directory entry in the list. Due to this older items (other projects I worked on yesterday for example) drop off the list very fast, taking the adjective ‘Recent’ a bit too literal… :-)
Best regards,
Bas
I experimentally set Textmate to show the pdf document of a LaTeX
document in TextMate's HTML window, but would now like to revert back to
having it show up in Skim. How do I go back?
Thanks,
Kyle
Hi,
I've just encountered that the TAB snippet "pl" executed at the very beginning of EACH document REGARDLESS of the set grammar inserts "#!/usr/bin/env perl".
Either the scope setting is wrong
<key>scope</key>
<string>L:dyn.caret.begin.document</string>
[What does "L:" mean?]
or the scope parsing is somehow broken.
OSX 10.9.5 - TM 2.0 beta 1
Best, Hans
I just installed the Yosemite preview and now there's a noticeable delay with I hit Cmd-T.
Now when I hit Cmd-T followed by return the app beeps, because the Go To File window hasn't fully loaded yet. I have to hit Cmd-T, pause then hit return.
This is on the same project, so nothing else has changed.
Anyone else seeing this too?
Peter
I've installed an EditorConfig plugin (
https://github.com/Mr0grog/editorconfig-textmate), but Im not entirely sure
its working.
Im assuming plugins are still supported in TM2?
Is there anything in TM which I can use to confirm its even being loaded,
or get some confirmation the plugin is actually kicking in when a file is
saved?
Thanks
I tend to work on projects by opening a textmate disk browser from
commandline, using mate <dirname>
Then when I open the first file, it doesn't have an editor tab anymore,
whereas previously it used to
When I open a 2nd file, at this point the tabset appears
Is this a bug, or an intentional change? I much prefer the old way, and to
be honest I preferred the fixed width tabs too
There's an odd behaviour with project windows disappearing when clicking the Zoom (+) button. When TM2 first opens, it reopens any preexisting windows. Then when I click on the Zoom button the window zoom shrinks and ultimately disappears. I cannot bring it back from hidden status after that.
Anyone else experience this behaviour? It only started happening recently, maybe within the last 2 or 3 builds.
Ed Wong
Hey, I don't mean to cause a stir, but for me TextMate's code folding is
generally just broken. I've spent a lot of time lately working on Jinja2
templates and it just doesn't handle them well at all and sometimes code is
removed accidentally. I've had the same thing happen with messier PHP
templates, etc.
Is there a way to just turn this off? Toggling folding levels at "All
Levels" does not address the problem, some "weirder" blocks of templates
(and other bits of messier code that I, of course, didn't write) still
remain folded weirdly.
Thanks,
--
Wells Oliver
wellsoliver(a)gmail.com
Hi,
I'm developing a new bundle for a scripting language. For the "Run" command I'd like to make usage of TM's TextMate::Executor library. Fine.
But I was confronted with two subjects for a discussion:
1) TextMate.save_if_untitled
In order to use TextMate::Executor one should execute "TextMate.save_if_untitled('foo')" in beforehand. But I'd like to allow to the user that s/he runs either the entire document or only a selection. With the current implementation this doesn't work, so I suggest the following change (adding of the first 6 lines of code and a new argument):
save_current_document.rb line: 33ff
def save_if_untitled(temp_ext='tmp', ignore_selection=true)
if not ignore_selection and not ENV['TM_SELECTED_TEXT'].nil?
ENV['TM_FILEPATH'] = nil
if not ENV['TM_SELECTED_TEXT'].nil?
ENV['TM_DISPLAYNAME'] += ' (Selection)'
end
end
return unless ENV['TM_FILEPATH'].nil?
ENV['TM_FILEPATH'] = TextMate::IO.tempfile(temp_ext).path
ENV['TM_FILENAME'] = File.basename(ENV['TM_FILEPATH'])
ENV['TM_FILE_IS_UNTITLED'] = 'true'
begin
......
This approach does't break the default behaviour. Only if the developer would like to add that functionality s/he has only set the second argument to "false". By adding "(Selection)" or whatever to TM_DISPLAYNAME the user will be notified additionally.
2) TextMate::Executor.run -> version
The interpreter I'm working with is an "hybrid". If you start it without arguments or with arguments which can't be interpreted as a file name the interpreter starts in the GUI mode, i.e. a real application with windows etc. pops up. Otherwise, if you pass as first argument a valid file path plus optional arguments, the interpreter works like Perl, Python, etc. in a command line mode.
The current TextMate::Executor.run implementation has a nice feature, you can get the current version number from the current installed interpreter or compiler as default BUT you are NOT able to avoid it.
In my case the interpreter doesn't catch these kind of querying, in other words I can set the ":version_*"-options to whatever the GUI is popping up and tells me stories about errors. Finally I ended up to write a special script which returns the version number and I call it via:
:version_args => ENV["TM_BUNDLE_SUPPORT"] + "/bin/version.praat"
but I believe one could solve this kind of problem quite easily, namely if the developer sets explicitly ":version_args => nil" the version querying won't be executed. To achieve that one has to change one single line:
executor.rb line: 99
version = (not options[:version_args].nil?) ? parse_version(args[0], options) : ''
Did I miss something?
Kind regards,
Hans
Hi,
I found a bug while argument parsing in several DIALOG2 commands:
[TM 2.0-alpha.9571]
E.g.:
"$DIALOG" x-insert --text "--Pitch"
"$DIALOG" tooltip --text "--Pitch"
if you execute theses commands (via CTRL+R or within a script) DIALOG2 will fail due to the fact that the text argument begins with two "-".
Cheers,
Hans
In Recent Projects window that’s opened by ⌘⇧O when one removes a project using ⌘⌫ a “Trash” sound is heard.
This scared the shit out of me and I immediately went to Trash to check if the actual folder was removed and not just the link in TM.
I don’t know if it’s an intended behavior but I’m pretty sure it’s a wrong one as I almost had a small heart attack :)
For some time I had been using the LaTeX bundle in Textmate 1.5.11 on an
old Mac running OS 10.6.8 with no problems. After migrating my whole
system to a new iMac running Mavericks (OS 10.9), all the keyboard
shortcuts that require Cmd-{ or Cmd-} for completion stopped working.
For example, when typing "frame" and Cmd-{ (in Beamer) I get an error
message like:
"/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/config_helper.rb:2:in
"
(and yes, it would just end abruptly there)
Completion with Esc or Tab works fine, for the shortcuts that use those,
as does toggling commenting with Cmd-\. But all of the ones with Cmd-}
or Cmd-{ produce an error message. Same thing happens on my new laptop,
likewise under Mavericks.
I've upgraded to TextMate 2, thinking that this might have something to
do with that Ruby thing I've been reading about. However, the problem
has not gone away, though the symptoms are slightly different. Now no
error message appears, but instead the "Cmd-{" and "Cmd-}" keystroke
combinations seem to be completely dead keys; nothing at all happens
when I press them.
Does anyone know what might be going on and how I can fix this? It's
having a pretty devastating effect on my productivity.
Thanks!
--Gunnar
Gunnar Ólafur Hansson
Associate Professor | Department of Linguistics
The University of British Columbia
2613 West Mall | Vancouver, BC Canada V6T 1Z4
Phone 604 822 4658 | Fax 604 822 9687
gunnar.hansson(a)ubc.ca <mailto:gunnar.hansson@ubc.ca>
www.linguistics.ubc.ca <http://www.linguistics.ubc.ca>
I would like code and markup inside certain tags to be indented. Currently, this occurs…
<style>
body { … }
</style>
Desired result:
<style>
body { … }
</style>
I’ve determined that this is because style, script, and other tags are marked as `source.*`. If I rename these language constructs to something that doesn’t start with “source”, then indentation works as expected. However, I do not want to throwaway the advantages of inheriting from source.
Does anyone know where I can begin looking to modify the `source` grammar so that code within certain tags is indented? I have not had any luck with `increaseIndentPattern` (yet).
Sorry if this is FAQ, but can you please point me to where I should go?
I'm using TextMate version 2.0-alpha.9561, but this issue persists for more
than a year and Googling didn't give me any resolution yet.
Simply, it doesn't fold/unfold for YAML file. In 'Edit Bundles', 'Settings'
doesn't include 'Folding' while other bundles such as XML does.
I guess foldingStopMarker might be wrong, but don't know if it's really
used since it doesn't show up in 'Edit Budles / Settings'.
Thanks in advance,
Toru