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
Hi there,
years back there was this nice flickr bundle for Textmate. Playing again the TM, is there something similar still actively maintained. I just found some old dead links.
Yours
Gil
hi,
i'm new on textmate and i need somme help please.
i instal fortran bundle with this method:
/cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/textmate/fortran.tmbundle.git/
and now i have this error:
//tmp/temp_textmate.n6H8uJ: line 20: gfortran: command not found/
i use textmate 1.5.11 with MAC OS X 10.9.3.
i did a similarly thing with gnuplot and it works.
Thank you for you help.
--
View this message in context: http://textmate.1073791.n5.nabble.com/Installation-fortran-bundle-tp27951.h…
Sent from the textmate users mailing list archive at Nabble.com.
I have a Windows share mounted via smb:// and TextMate won't save any
file I edit there. The error message is "Atomic save: Resource busy".
It's Windows 7 running inside a virtual machine (VirtualBox) and
Textmate is at 2.0-alpha.9547.
Is there anything I can do about this?
Regards,
Matthias
After 8 years using TextMate 1.x and a couple of years of reading about TextMate 2,
a new Mac and a move to Mavericks (from Lion) have prompted me to migrate my work to TextMate 2
Upgrades always bring surprises and shock to my workflow --- I have a couple of queries about
bundle management in TextMate 2
(1) In some standard bundles in TextMate 1, I moved items from Excluded Items
to the Menu Structure --- for example in the LaTeX bundle, I moved BibDesk Completion
to the Menu Structure and added the Key Equivalent of Ctrl+Cmd+B
--- in the TextMate 2 Bundles Editor there does not appear to be a way to
move an item from Other Actions to Menu Actions nor to edit the groups, separators or move items around
--- have I missed something obvious here ?
(2) I have a number of personal bundles for snippets in HTML, LaTeX, Haskell and Text
--- using the guidance in https://github.com/textmate/textmate/wiki/FAQ
I placed symbolic links to my bundle files in ~/Library/Application Support/Avian/Bundles
--- to activate them I had to delete ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary
(there was no BundleIndex.plist)
--- I there no way in the interface to force a reloading of bundles ? (I use symbolic links to my bundles so that any edits
get automatically synchronised to my other machines)
Apologies if this has been covered elsewhere --- I have done the usual searches.
Many thanks for an excellent editing environment
Phil
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phil Molyneux E: molyneux(a)pobox.com
T: 020 8549 0045
M: 07885 426 323
71 Deacon Road, Kingston upon Thames KT2 6LS, UK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi,
I'm having a problem with my GitHub bundle. Even though there are changes,
I'm getting a persistent message, "No changes to commit within the current
scope. (Try selecting the root folder in the project drawer?)" when I try
to commit.
>From the command line, if I do 'git status', the file is shown has having
modifications. In the project drawer, SCM status, the file is shown has
having Uncommitted Changes. (I followed the advice here:
https://github.com/textmate/git.tmbundle/issues/11)
I suspect there is something minor going on, but I'm at a loss. Any advice
is greatly appreciated.
Thanks!
kelle
--
Kelle Cruz, PhD — http://kellecruz.com/
Lets say I have a file on desktop called called test.csv¹. I discovered by
accident that if I drag test.csv¹ to an R file, this code is pasted into
the R file:
read.csv(file = "../../../../Desktop/test.csv", header = TRUE,
stringsAsFactors = FALSE)
But if the file is a .xls file, only this get pasted into the R file:
/Users/rossahmed/Desktop/test.xls
How can I add a command that, when I drag a .xls file into an R file, this
get pasted in:
read.xls("/Users/rossahmed/Desktop/test.xls")
I've been using TextMate for a couple years now and I just learned about
rmate. It is a true lifesaver, because now I can stop using Emacs in ssh
terminal and start using a normal editor.
This feature is worth bragging about.
If I have a project open, and create a new file (CMD+N), I notice when I
try to save it, it doesn't default to the projects directory. Is there a
way to adjust this?
I know you can create a new file with SHIFT+CMD+N, but that forces you to
give it a name there and then, which is rarely what I want.
Im wondering if its somehow related to projectDirectory in .tm_properties?
Most of mine are set to "$CWD" just because every example I saw uses that.
If this is the cause, Is there a way to set project directory to the same
location as .tm_properties, without having to provide an absolute path?
The todo bundle triggers this message:
Failure running "Insert TODO List".
env: ruby18: No such file or directory
When I run ruby -v, I get
ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13]
I'm on TextMate 9547 and Os 10.9.3
Do I switch paths to get to ruby 1.8?
Thanks for any advice.
--Gildas
The last couple of days I've run into a problem with the Duplicate Line
command. Ctrl-Shift-D
When I press the key sequence I get a dialog that says:
Failure running "Duplicate Line".
env: ruby18: No such line or directory
I use this command a lot and have not noticed problems in the past. I
don't recall making an bundle changes recently.
Hey,
a quick bugreport: sometimes the border of the file browsers gets lost:
http://pbrd.co/1lGgOcr
After hiding and showing it again the border reappears. Unfortunately I haven’t found anything to reproduce this yet – Textmate stays open in background almost all the time for me and sometimes the border is missing after getting it back from it’s hidden state.
Regards
Jannes
There's some very old iPhone.tmbundle bundle w/o any description, I presume it is Objective-C extensions for iOS development, moreover there's no Git repo for this bundle, so we should either:
(1) remove it, because it is really confusing
(2) rename it to "Objective-C iOS" and describe it as "Objective-C iOS SDK support" or string like that.
Regards,
--
Adam
Hi all.
I’m back on a topic we discussed several months ago, here in the list.
The problem was about how to run a Python Script which involves some user interaction:
***
print “Hello world.”
age = input (“How are old, dear world?”)
print “Ohh,”, age, “ so aged?”
***
The script ends with an ErrorCode 1, EOF.
Is there something to do to fix, or, is this issue somehow within the todo list?
Thanks.
Gabriel.
—
Namasté!
Sent from my iMac27. (Libero)
And a second report, this time with detailed steps to reproduce it.
The rectangle which represents the Incremental search (Ctrl + S) highlight is rendered wrong when the a line with highlight gets yanked.
1) Create a new document with the following content:
DEFGH
E
F
Almost everything works but with tabs/indentation it’s much more visible.
2) Press Ctrl + S, search for „DEFG“
3) See
[DEF]GH
E
F
http://pbrd.co/1lGhTRu
4) Press Keyboard Shortcut for Bundles->Text->Delete Line (Cmd + K for me). It looks like it behaves correct when selecting the command with the mouse from the menu.
5) See
[ E]
[ F]
http://pbrd.co/1lGhT43
Regards
Jannes