I haven't been editing any PHP for several weeks so not sure when it
stopped working but I use the "out of the box" PHP bundle which has a
*doc* autocomplete
that now is giving the following error:
[image: Inline images 1]
As far as I know I haven't made any changes. Is there any way I can get
this back to working? I use this function all the time.
Ken
This list has become somewhat painful to read because the email threading is not working properly. For example Allan's responses almost always break threading. MailMate problem? Something else? Can we fix this pretty please?
Thanks
Gerd
Hi there,
I just upgraded to TextMate 2, and noticed that script and style tags don't
fold. The HTML bundle settings for folding seem sensible, so not sure why
this doesn't work. Is there some special pre-processing of such tags that
causes folding to not work (or is it working for everyone but me)? It
worked fine in the previous version I was using.
Best,
Linda
Hello,
Is the e-mail address that’s listed in the crash report dialog recorded in an accessible location?
I’d like to make use of it in a bundle.
Gary Ash
12946 Beresford E-mail: Gary.Ash(a)icloud.com
Sterling Heights, MI 48313 Phone: (586) 731-1744
Cell: (586) 201-0610
Fax: (586) 731-7016
Hi guys,
I'm hoping you can help. I've somehow managed to turn off code coloring, so
my code now appears the same color no matter what. I also created two
snippets in the PHP bundle that I can't figure out how to remove.
I've tried changing themes, uninstalling, quitting, then re-installing the
themes bundle, opening HTML, CSS and PHP files, changing the selector at the
bottom of the application to specify what language I'm using, all to no
avail.
I've also completely uninstalled/removed TM2 using AppZapper and then also
manually the Avian directory in Application Support and "re-installed" but
it still remembers the incorrect snippets in the bundle and doesn't
re-instate code coloring. TM2 remembered my preferences even after
completely removing the application, I had to remove, restart, then
"install" it again to get rid of those. Even still, the snippets remain (I
have no idea how, I'm deleting the app, remove the TextMate & Avian
directories in Application Support and the com.macromates files in
Preferences) and code coloring doesn't work.
I'm using the latest Nightly Build of TM2 in Mavericks Build 13A603.
If no one has any ideas, if you could tell me how to fully remove the app
and any/all associated files, I can have a shot at starting fresh and fixing
whatever I broke, I'm obviously missing something but I don't know what.
Thanks!
--
View this message in context: http://textmate.1073791.n5.nabble.com/I-ve-somehow-broken-TM2-code-coloring…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I just updated to TextMate version 2.0-alpha.9489 and Max os X 10.9.
I have some trouble with the Subversion bundle. The reason is, that the bundle is not up to date.
The checkbox „Keep bundles updated“ under Preferences -> "Software Update" is activated. The bundle list under Preferences -> Bundles tells me, that the Subversion bundle has been updated 3 months ago.
But that is not correct: the git repository has been updated 3 days ago.
I also tried to follow these „Reverting to default“ steps: https://github.com/textmate/textmate/wiki/Reverting-To-Defaults
But i did not solve the issue.
Is there anybody who can give me some advice?
Thanks.
Jens
Yes, that happens here as well (OS X 10.9.0 and TextMate 2.0-alpha.9493), and I have also recently reset the LaTeX bundle. TextMate also jumps after doing searches, it will get stuck on another occurrence of the search term and only after I press another key it would jump to the actual place where the caret is.
Max
Apologies if this has been addressed before.
I would like to use the Control-Option-Shift-P shortcut to set the language of my document to Python, and never anything else.
Currently, I get all 6 grammars that start with P displayed, and so I can go on to choose #6, for example.
I know that if I unselect language support in the preferences, then that language is uninstalled and doesn't show up in the "P-list" anymore.
Is there a way to remove languages from the shortcut list but still have support for that language grammar if I open a file of that format?
Thanks...
Hi,
I have created a bundle (https://github.com/peeyush1234/reek.tmbundle),
that looks for any code smell in ruby file. The bundle uses reek (
https://github.com/troessner/reek) for smelling code. I would like to add
the bundle to the TextMate organization on github (Or where ever all the
TextMate bundles are kept).
What should be my next steps for the bundle?
Thanks,
Peeyush
Is there a keyboard command to bring up the find dialog where the 'In:'
dropdown is set to selection. Or a key command that works while the dialog
is in focus?
Thanks.
I don't recall this being an issue before, but it seems that the underlying
search (IIRC it uses ack?) is no longer ignoring binaries as of build 9491.
This is causing the dratted beachball on every search I do in my project,
as well as severely polluting the results.
The binary is accessed via a symbolic link, if that matters.
Hi all,
As suggested I've upgraded to 2-0 to keep compatibility with my new
Mavericks OSX system.
I've noticed some changes, in fact some missing features I found useful on
previous textmate's versions:
1. no more transparency
2. when coding in Python, indentation is no more cancelled when typing ":"
(I explain: when introducing an if statement, you type if test: then after
the return your code is automatically indented, that's normal but when you
type else: the ":" is expected to cancel the indentation of the else so it
is well aligned with the if... that was the behavior of the previous
versions)
Do I miss some configuration or is it a known bug?
Thanks for answers,
--
Sébastien Hoarau
The recursive scan in the LaTeX bundle Insert Citation command was working with TextMate 9489 until I tried OS 10.9. It doesn't work any more when I hit Control-Shift-{ or Option-Escape. Anything I could do to fix this issue?
Here is the message from the bundle:
/Users/gweltaz/Library/Application Support/Avian/Pristine Copy/Bundles/latex.tmbundle/Support/lib/LaTeXUtils.rb:204:in `recursive_scan': undefined method `each_with_index' for #<String:0x007fd7019781e8> (NoMethodError)
from /Users/gweltaz/Library/Application Support/Avian/Pristine Copy/Bundles/latex.tmbundle/Support/lib/LaTeXUtils.rb:256:in `cite_scan'
from /Users/gweltaz/Library/Application Support/Avian/Pristine Copy/Bundles/latex.tmbundle/Support/lib/LaTeXUtils.rb:63:in `get_citations'
from Citation Based on Current Word / Selection…:8:in `<main>'
Gildas
Hello all,
I've been cleaning up the JavaScript grammar and as I get started on
this next round of cleanups, I've run into some inconsistencies in the
grammar that have led to the following questions:
* When adding a language specific implementation of a grammar group, like
comment.block for JavaScript, should the name of the group be comment.block
(expected) or comment.block.js (What's there now)? (I can't tell if I use
the name that corresponds with the root group, comment.block, or if I add
the language name to the end like comment.block.js.)
* Is there a way to have certain grammar features enabled based on the
existence, or lack of, a certain "enabler" in the file? (For example,
JavaScript has a strict mode to mark extra words as keywords due to
potential plans for supporting them as keywords in the future. That being
said, if you have "use strict;" in your file, certain keywords should be
scoped that wouldn't be otherwise *and* variable names with those keywords
should be marked as invalid.)
* Why isn't 'null' treated as a constant like undefined/Infinity/NaN?
Right now it's constant.language.null.js but I'd expect it to be
constant.language.js.
These questions, while specifically about JavaScript's implementation, are
really general questions about naming, feature enablement and what defines
when you break away from root groups and define your own groups. Any help
would be appreciated.
--
Take care,
Jeremy Whitlock (@whitlockjc on Twitter)
http://www.thoughtspark.org
Dear Users,
After I upgraded from the previous version to 2.0-alpha.9487, I noticed
that the Textmate log windows remains open even when we don't check the box
"Keep log window open" in the Latex Preferences.
Is there any adjustment that I am missing?
Best,
S.V.
--
View this message in context: http://textmate.1073791.n5.nabble.com/Latex-and-TM2-version-2-0-alpha-9487-…
Sent from the textmate users mailing list archive at Nabble.com.
I¹ve just noticed that its possible to fold TODOs using the little arrows in
the margins. Is it possible to fold all TODOs in a document using a keyboard
shortcut?
Thanks
Ross
Lets say I have a list of code like this
foo <- "test"
foo <- "test"
foo <- "test"
foo <- "test"
foo <- "test"
foo <- "test"
foo <- "test"
foo <- "test"
foo <- "test"
foo <- ³test"
Is it possible to automate the insertion of columns of numbers. The output
should be this:
foo1 <- "test1"
foo2 <- "test2"
foo3 <- "test3"
foo4 <- "test4"
foo5 <- "test5"
foo6 <- "test6"
foo7 <- "test7"
foo8 <- "test8"
foo9 <- "test9"
foo10 <- ³test10²
Is there perhaps a regex or other automation that could be used? I¹m aware
that it is possible to insert line numbers but this will only be useful if
the 10 lines of code happen to be on lines 1-10.
Thanks
Ross
I noticed that source code files in preview look very similar to the way
TextMate displays the same content.
Did TextMate 2 add the feature or was it always part of Finder?
Preview I am talking about is triggered in Finder when you press a space
on a keyboard.
I am using TextMate to write some R code. At the moment, I have R code that
looks like this:
foofoofoofoofoofoo <- NULL
foofoofoofoo <- NULL
foofoofoofoofoo <- NULL
foofoofoo <- NULL
foofoofoofoofoofoofoofoofoofoo <- NULL
Is there a way to automate aligning all <- within a block of code, like
this:
foofoofoofoofoofoo <- NULL
foofoofoofoo <- NULL
Foofoofoofoofoo <- NULL
foofoofoo <- NULL
foofoofoofoofoofoofoofoofoofoo <- NULL
Many thanks
Ross
I created a snippet for graphviz for subgraphs as follows:
subgraph cluster_${1/[[:alpha:]]+|( )/(?1:_:\L$0)/g} {
style = filled;
bgcolor = lightgrey;
$0
label = "$1"
}
With it in TM1, I can quickly create snippets such as:
subgraph cluster_subgraph_label {
style = filled;
bgcolor = lightgrey;
label = "Subgraph Label"
}
In TM1, after expanding the snippet, the cursor moves to the 'label = "$1"'
location of the $1 placeholder. However, in TM2, the cursor jumps up to the
subgraph_cluster_ line, where I'm unable to take advantage of the text
transformation there. I guess this would work if reworked the
transformation to be on second $1, but wanted to know what the consistent
behavior is or will be.
Thank you for your help.
Hi,
I want to create a snippet which takes takes the filename, removes the extension and converts the remaining string to uppercase, i.e. "filename.txt" -> "FILENAME".
So far I have ended up with
${TM_FILENAME/(.*)[.](.*)/\u$1/g},
but the \u only converts the first character of the string to uppercase, i.e. I get "Filename". Is there any way to convert the whole string to uppercase?
Regards,
Carsten
I trying to make a regular expression to find ³this is a test² is the
following string:
<a href="index.cfm?action=search.listings&test=6&view=names">this is
a test</a>
This is the regular expression:
(?<=.+).+(?=</a>)
The regular expression is not matching anything. Is there something I¹m
doing wrong here or does TextMate not support the regular expression flavour
I¹m trying to use?
Thanks
Ross
I just discovered another way that line numbers are not displayed correctly.
With line numbers visible. Press Cmd-Option-L to hide line numbers.
Then press Cmd-Option-L again to show them. When I do this the line
numbers always start at 1 regardless of where I currently am in the
file.
Anyone else seeing this?