I'm using the TextMate version 2.0-alpha.9551 build and wanted to make sure
I had the latest version of JSLintMate. I deleted the existing bundle from
within Textmate and then downloaded and installed the latest bundle by
double clicking the bundle file/package. That seems to work in the sense
that it pops a dialog to install the bundle and the bundle file is then
locatable in:
Application Support → Avian → Pristine Copy → Bundles
The problem is it doesn't show up in the bundle menu. I've tried a restart
but that didn't help. Any idea why I'm not getting the bundle registered?
Ken
Hello,
I'd like to know if there's a setting to free File Browser and HTML panes
width limits relative to editor's space.
*The use case:*
I often find myself with narrow window in which I hide those panes by
default and just bring up them at need (e.g. to create a new file or read a
rendered Markdown)
Thanks,
Elia
☁ @elia <http://twitter.com/elia> ✎ elia(a)schito.me
Is it possible to make a word a clickable hyperlink within .R, .txt, .tex
files? For example Author2014 within a .txt file would allow me to click to
a PDF stored on my mac called Author2014.
I¹m aware of the hyperlinks bundle, but this doesn¹t do what I need. I need
clickable hyperlinks within my code files.
Thanks
Ross
I'm in kind of a bad situation, and I lost a few days of work (no fault of
TextMate). I did most of my work with TextMate. Are there any caches for
edits I might look at to maybe recover some of them?
Thanks
Hi all
I want to count the number of citations contained within a .Rnw file and
show the result as a tool tip.
My .Rnw file looks like this:
\section{Methods}
<<plot_mtcars>>=
plot(mtcars)
@
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat \citet{Author2014, AuthorEtAl2014}. \citet{AuthorAuthor2013} duis
aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt
in culpa qui officia deserunt mollit anim id est laborum.
\section{Results}
<<plot_iris>>=
plot(iris)
@
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. \citet*{Author1998} ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit
anim id est laborum \citep*{Somebody2014}.
Note that citation keys will be in one of these 3 formats: Author2014,
AuthorAuthor2014 or AuthorEtAl2014.
I would like to count the total number of citations within the .Rnw file and
the number in each section. In above example there are 3 citations in the
Methods section and 2 citations in the Results section.
Is this possible?
Thanks
Ross
From my - admittedly somewhat limited - experience with bundle grammars
I got the feeling that it’s often very hard to improve or fix a grammar
without accidentally breaking some other parts of it.
Has anyone already experimented with regression tests for bundle grammars?
I think to make this possible it would be necessary to somehow access
the “scope structure” of a parsed file, maybe yielding a data structure
like this:
[
{ start: 0, end: 123, scope: "source.sass" },
{ start: 7, end: 12, scope: "string.quoted.double.sass" },
…
]
Then a grammar could include both a “test source file” and its
known-good “scope structure”. After changing the grammar one could
(semi-)automatically regenerate the scope structure data and compare it
to the original to (hopefully) catch any regressions.
Any thoughts?
Stefan
If I do a project wide search in a project which contains static
libraries TM2 will search in the static library as well. I don't see how
that's very useful, could TM2 skip those by default?
--
/Jacob Carlborg
I would like to use Open Favorite more frequently but there’s a couple of things that always throws me off and makes it less productive for me. Not sure if they’re bugs or by design.
Say I have 4 favourites named F1, F2, F3, F4
I usually have multiple working windows open with the root folder being one of these favourites. So say I have 2 opened with favourites F1 and F2 and files opened in each.
Now I would like to open a third window with the root folder being F1 because there’s an unrelated feature or bug that doesn’t have anything to do with the files being edited in the first F1 project. (i.e. I would like to segregate and keep track of the files being worked on by using 2 different windows).
So I Shift-Cmd-O to bring up the Open Favorite popup and select one of the favourites and this is what happens:
In the latest nightly build, a new window opens and fills with a selection of open files from F1. This is actually new behaviour that I see when writing up this email. Could be it’s opening up some previously cached version of a F1 window?
In previous builds what happens is that the original F1 comes to the front.
What I was hoping is that a new window opens with the root folder being the favourite I selected.
Ed Wong
Hi,
I am using TextMate 2. I mad some changes in some bundles to suit my
individual needs, but these changes are all gone once bundles are
auto-updated. Is there a way to keep local changes when a bundle is
updating itself?
Thanks
--
--
Sent from my mobile. Ignore the typos unless they're funny.
Hi,
when using the awesome **rmate** to remote-edit some files I ran into
the problem that I had to use sudo for writing into a file.
ubuntu@ubuntu:/etc/apache2$ rmate httpd.conf
File httpd.conf is not writable! Use -f/--force to open anyway.
ubuntu@ubuntu:/etc/apache2$ sudo rmate httpd.conf
ubuntu@ubuntu:/etc/apache2$ /usr/local/bin/rmate:157:in
`initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
from /usr/local/bin/rmate:157:in `new'
from /usr/local/bin/rmate:157:in `connect_and_handle_cmds'
from /usr/local/bin/rmate:207:in `block in <main>'
from /usr/local/bin/rmate:206:in `fork'
from /usr/local/bin/rmate:206:in `<main>'
The documentation mentions a sudo-replacement *rvmsudo* which keeps the
environment. But this seems not to part of the standard repositories,
which makes it nearly impossible to install it on a clients machine.
Any idea?
Kind regards, Ingo
--
Ingo Lantschner