Hi everybody!
I'm trying to make an enhanced paste-function which evaluates the text
pasted into a blank textmate document, and assigns the document's
language accordingly.
Is there a non-AppleScript way of assigning language? It is very lacking
in text examination, so it would be much less clumsy in, say, bash.
I know I can use this.:
keystroke "h" using {control down, option down, shift down}
keystroke "1"
To set the syntax as HTML by “faking” the keyboard shortcut.
Thanks!
Rasmus
Hiya,
Is it possible for a bundle command to accept a single selection and return multiple selections (or just carets)?
Here’s an example (brackets indicate selection, | is a caret );
Stage 1:
state: …class="|dark-theme"…
action: select "dark-theme"
Stage 2:
state: …class="[dark-theme]"…
action: [Hypothetical caret split command]
Stage 3a:
state: …class="[dark]-[theme]"…
or
Stage 3b:
state: …class="|dark-|theme"…
Then I’d press command T to switch from "dark-theme" to "theme-dark".
Im not sure what the logic would be in the bundle, my use would be served by simply returning the caret at the beginning and end of my selection (then command + w to select the word).
I’m also curious how Filter Through Command’s behavior could be reproduced in a bundle command, where the commands results are distributed to each line.
Thanks everyone!
Graham P Heath
ps: I’ve got some serious love for multiple carets ♥️♥️♥️
This document doesn't quite seem right anymore:
http://blog.macromates.com/2007/file-type-detection-rspec-rails/
I checked my manual bindings and ruby is not in there, yet my RSpec first
line match isn't working.
Does anyone know how to fix this for version 2?
Thanks
--
Tom Smyth
Worker-Owner, Sassafras Tech Collective
Specializing in innovative, usable tech for social change
sassafras.coop *·* @sassafrastech
Resident, Touchstone Cohousing
touchstonecohousing.org
Can't get text mate to work in terminal. Says “mate” command is not found. I created the symbolic link and update .profile and .bash_profile. Both are included. Even rebooted.
Hi,
I wrote a web app in Rails for collecting system statistics from Sparkle, I
figured you might be interested in using it for Textmate since you also use
Sparkle for updates. It's self-hosted, so you need a server and some basic
admin skills.
Here's the project: https://github.com/mackuba/sparkler
And here's what kind of statistics it can generate:
http://sparkle.psionides.eu/feeds/gitifier/statistics (this is data from 4
years back as you can see, so it will take a while for it to look like this
:)
Let me know if you decide to use it and manage to set it up, I'll link to
you from the readme. Also let me know if you run into any problems, I don't
know if those instructions are intuitive enough.
Kuba
Code folding in LaTeX is not doing what I expect. Lets say I have this in my
.tex file:
\begin{document}
\section{}
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
\subsection{}
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
\end{document}
Option + Command + 0 does as expected:
\begin{document}\end{document}
Option + Command + 1 does exactly the same:
\begin{document}\end{document}
But what I expected was
\begin{document}
\section{}
\end{document}
Option + Command + 2 does as expected:
\begin{document}
\section{}
\subsection{}
\end{document}
So, I expected:
\begin{document} to be all levels
\section{} to be level 1
\subsection{} to be level 2
Is there a way of setting cold folding to do what I expected?
Ross Ahmed
Ecologist
07875533906
Twitter: @RossAhmed <https://twitter.com/RossAhmed>
LinkedIn: Ross Ahmed <https://www.linkedin.com/pub/ross-ahmed/2a/775/590>
In my .tex file, I have 60 lines of code between the start of the file and
\begin{document}. Most of these lines are filled with \usepackage{}. Is
there a way to hide this part of the .tex file in TextMate, by for example
using code folding? If not, can these 60 lines be sourced from a different
.tex file?
Ross Ahmed
Ecologist
07875533906
Twitter: @RossAhmed <https://twitter.com/RossAhmed>
LinkedIn: Ross Ahmed <https://www.linkedin.com/pub/ross-ahmed/2a/775/590>
Dear All,
the subversion bundle (and all the ruby bundles) are broken since I update to yosemite few weeks ago.
I have been trying to fix the problem but I had little luck so far.
For what I understand is a problem related with the wrong default ruby version in yosemite (2.0 instead of the bundle supported 1.8).
A typical error that I get is something like, e.g. for svn status:
/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require': /Users/umbe/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/shelltokenize.rb:74: invalid multibyte escape: /[^\w_\-\+=\/\x7F-\xFF]/
[...]
For what I understand each bundle should run ruby thought the ruby18 script which should install the the 1.8 version int he bundle support if it can’t find ii installed on the system. Unfortunately this seems not to be the case.
I have tried a bunch of things but without much success. I have installed ruby 1.8.7 with rvm and defined the TM_RUBY variable to point at it but nothing happened (later I realized that TM_RUBY is not meant for bundles).
I have reset the textmate 2 prefereces chance and variables in the hope to stimulate ruby18 to do its job but with no success.
Do you have any suggestion on how to fix is or at least help me in the debug process (I find a bit complicated to figure what a bundle is doing)?
Thanks
Umberto
Is there a memory leak in TextMate? I was running Activity Monitor and saw a memory usage spike. The application also became unresponsive, so I sampled it before doing a force quit. Here's what it came back with:
Not sure if it's relevant, but I was using a custom assembly language bundle at the time. The odd thing is I don't think TextMate was even the active application at the time the memory spiked. Very weird.
Ted
I’m trying to create a command using AppleScript to open CodeKit and select the CodeKit project associated with the current TextMate 2 project.
CodeKit’s docs want this:
tell application "CodeKit" to select project containing path "~/clients/aProject/app.scss”
So I wrote this:
#!/bin/bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
osascript <<EOF
tell application "CodeKit" to select project containing path "$TM_PROJECT_DIRECTORY"
EOF
That launches CodeKit but does not select the project; CodeKit opens to the last used project, not $TM_PROJECT_DIRECTORY.
I’ve tried both “TM_PROJECT_DIRECTORY” and "’$TM_PROJECT_DIRECTORY’”.
What did I get wrong?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
Is there a way to swap the include* / exclude* property order in TM2?
I have a project that is comprised of shared code used by many different
projects. Every time another developer adds files and directories to their
area of the source tree I have to add another exclude value in my
.tm_properties. Ideally I would like to exclude everything and only
include the directories and files that are specific to what I'm working on.
Reading the TM docs, it appears that the order is first to parse the
"include*" (which defaults to everything) then parse the "exclude*."
Because of this I can't figure how to, by default, exclude everything and
only include what I'm interested in.
Thanks for any help.
-- DV
--
View this message in context: http://textmate.1073791.n5.nabble.com/exclude-include-in-tm-properties-tp29…
Sent from the textmate users mailing list archive at Nabble.com.
I'm trying to match the following code in the D language grammar:
static if (true) {}
void foo ()
{
static if (true) {}
}
The first static-if is correctly recognized as
"keyword.control.conditional.d". But the static-if inside "foo" is
recognized as a method "meta.definition.method.d". I managed to get the
top level static-if correctly recognized by moving the pattern for the
static-if before the pattern for a method. But I don't understand why
that doesn't work inside "foo".
The full scope of the static-if inside "foo" is:
source.d
meta.block.d
meta.definition.method.d
entity.name.function.d
The language grammar is available here [1]. Are the patterns evaluated
in the wrong order or something like that?
Another thing I noticed is the "static if" on the top level seems to be
recognized as a single word. When I use the hot keys for moving the
cursor a word it jumps from the start of "static" to the end of "if",
instead of to the end of "static".
[1]
https://github.com/jacob-carlborg/d.tmbundle/blob/d2/Syntaxes/D.tmLanguage#…
--
/Jacob Carlborg
I'm trying to build TextMate and suddenly got this error:
[235/1222] Compile ‘Frameworks/crash/src/info.cc’…
FAILED: xcrun clang++ -include build/Shared/PCH/prelude.cc -c -pipe
-fPIC -gdwarf-2 -m64 -mmacosx-version-min=10.7 -funsigned-char
-D'NULL_STR="\uFFFF"' -DREST_API='"https://api.textmate.org"' -Wall
-Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs
-Wno-parentheses -Wno-sign-compare -Wno-switch -IShared/include
-fcolor-diagnostics -DNDEBUG -Os -fvisibility=hidden -std=c++1y
-stdlib=libc++ -I"/usr/local/include" -o
build/Frameworks/crash/src/info.o -MMD -MF
build/Frameworks/crash/src/info.o.d -Ibuild/include
Frameworks/crash/src/info.cc
Frameworks/crash/src/info.cc:61:3: error: thread-local storage is not
supported for the current target
thread_local stack_t stack;
I have successfully compiled TextMate before and have not seen this
error. info.cc has not been updated since April last year, I'm pretty
certain I've compiled TextMate after that. Could this be related to my
recent upgrade to OS X 10.10.3?
I have Xcode Version 6.3 (6D570) and Clang:
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
BTW, both "__thread" and "_Thread_local" works fine.
--
/Jacob Carlborg
Multiple find-and-replace with Regexes, stepping through each one by one, the last one can be overstepped and insert the replacement tokens themselves (such as $1 $3)
Thanks,
John Joyce
Hi all,
I noticed code folding in TM2 in Ruby is slightly broken with multiline comments (using the =begin … =end construct)
Newlines within the comment introduce a new folding start.
Thanks,
John Joyce
When using ^W to select the next instance of a word, is there anyway to
step backwards if you go too far? In Sublime I think you just add a shift
to the key combo and it does this.
It sucks to be well into a nice fat multiple selection only to go a bit too
far and have to start over again.
Thoughts?
PS. I love TM!
--
Tom Smyth
Worker-Owner, Sassafras Tech Collective
Specializing in innovative, usable tech for social change
sassafras.coop *·* @sassafrastech
Resident, Touchstone Cohousing
touchstonecohousing.org
I am trying to follow these instructions and I do not understand how to
create a new command. Can someone please explain how this is done?
https://coderwall.com/p/j7qqsa/minify-your-css-inside-of-textmate
In your Bundles menu, go to Edit Bundles and select your favorite CSS Bundle
(I am personally a huge proponent of mCss
<http://minimaldesign.net/downloads/tools/textmate-css-bundle> ). Add a new
Command, and enter make the command contents the following code:
# Create the minified filename
NEWFILE=${TM_FILENAME%\.css}'.min.css'
# Minify into that file
curl -X POST -s --data-urlencode "input@${TM_FILENAME}" \
http://www.cssminifier.com/raw > $NEWFILE
# And open it
mate $NEWFILE
You can make your key equivalent anything you'd like, I set mine to Cmd +
Shift + R. Once you have done this, give it a whirl. You should see that
your styles.css generates a styles.min.css in the same directory, as well as
opens it in Textmate.
To note: if you don't have the Textmate command line utility installed,
simply delete the last line of this command to stop seeing errors.
Hello
The title says it all. I am running Textmate 2 (just reinstalled after
deleting ~/Library/Application Support/Avian, ~/Library/Application
Support/Textmate folders) on the latest version of Yosemite and get the
above error using the Latex bundle. The message then reads :
Command returned status code 1.
Upon editing the command, I get
---snip---
#!/usr/bin/env ruby18
# coding: utf-8
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/process"
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/htmloutput"
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/save_current_document"
# To enable the typesetting of unsaved documents, you must change the
“Save” setting of
# this command to “Current File” and add the variable TM_LATEX_AUTOSAVE
to TextMate's
# Shell Variables preferences. Be warned that your document must be
encoded as UTF-8 if
# you excercise this option — becauseTextMate.save_current_document
cannot know the file
# encoding you prefer.
TextMate.save_current_document unless ENV["TM_LATEX_AUTOSAVE"].nil?
texmate = ENV["TM_BUNDLE_SUPPORT"] + "/bin/texmate.py"
engine_version = TextMate::Process.run(texmate, "version")
TextMate::HTMLOutput.show(:title => "Typesetting
“#{ENV["TM_DISPLAYNAME"] || File.basename(ENV["TM_FILEPATH"])}”…",
:sub_title => engine_version) do |io|
TextMate::Process.run(texmate, 'latex', :interactive_input => false)
do |line|
io << line
end
end
::Process.exit($?.exitstatus || 0) # exitstatus is nil if our process is
prematurely terminated (SIGINT)
-- snip --
Unfortunately, I am not very good with shell commands.
Can anyone offer help ?
Christof
Hello!
Python3 is on track to getting type hints through annotations in functions,
which TextMate doesn't recognize.
I've tried to modify the current regex to recognize this new piece of
notation but I'm not that well versed enough in regex. Maybe someone more
experienced with it could do it?
Here are the references for it:
- https://www.python.org/dev/peps/pep-3107/
- https://www.python.org/dev/peps/pep-0484/
Cheers, Leandro
Hi,
Is there a way to desactivate the automatic replacement of some characters to html entities, ie when I type option-space in an html or markdown doc, it is automaticaly replaced with
I'd like to keep the character I typed as is as it make the text more readable (I mainly have international text with lot of non ascii chars) and most html entities are not necessary in html5.
Regards,
Joël
Has anyone tried integrating the WakaTime (https://wakatime.com) time
tracking service into TextMate? I'd love to be able to track my time
using this, but there's no"official" plugin for it for TexMate.
--
Keith Solomon - ksolomon(a)gmail.com
My Blog - http://keithsolomon.net/
I am experiencing an erratic behaviour with the TM2/Latex.tmbundle.
It seems that TM2 is recording the TM_LATEX_MASTER variable between
sessions.
I was working in a folder foofoolder1 where in the .tm_properties I had
defined TM_LATEX_MASTER = foo1.tex
Then I closed TM2 and created another file, foo2.tex, in another directory
foofolder2 unrelated to foofolder1. In this new folder, I didn't define
TM_LATEX_MASTER. For my surprise, where I pressed Command + R, TM2 was
invoking foo1.tex.
So it was using the TM_LATEX_MASTER defined for the other folder in this new
folder.
How to fix it?
--
View this message in context: http://textmate.1073791.n5.nabble.com/TM-LATEX-MASTER-tp29089.html
Sent from the textmate users mailing list archive at Nabble.com.
hello,
I am new here. I have noticed a problem in the folding mechanism of code
when using the LaTeX-bundle in textmate (version: TextMate version
2.0-beta.7.1 ). I use textmate only for writing LaTeX documents. so, I
have now idea if this is caused by textmate or specifically by the
latex-bundle.
most section{} or subsection{} commands are "foldable", i.e. the little
triangle symbol appears next to the line number. however, the triangle
disappears when I include another command in the same line. this happens
for example, when the section heading contains italics.
section{heading of this section} --> this will produce foldable code.
section{heading of textit{this} section} --> this will fail to produce
foldable code.
I would like to ask if this is a known problem and if anyone has a
solution to this?
thank you in advance,
christian
If I run the command Bundles > LaTeX > Jump to Current Line in Viewer, I get
a dialogue box that contains this error:
Failure running ³Jump to Current Line in Viewer².
usage: texMate.py sync [-h] [filepath]
texMate.py sync: error: argument filepath: No such file or directory: 1
What causing this error and how can I solve it?
Ross Ahmed
Ecologist
07875533906
Twitter: @RossAhmed <https://twitter.com/RossAhmed>
LinkedIn: Ross Ahmed <https://www.linkedin.com/pub/ross-ahmed/2a/775/590>
In my .tex file, I have section titles and labels like this:
\section{My section title}
\label{sec:my_section_title}
I can then cross-reference this section in my text like this:
Lorem ipsum dolor sit amet \ref{my_section_title}
I'm frequently changing my section titles to something very different different which forces me to change my labels and cross references. This can becomes tedious when my cross references are scattered through a long document.
What is the best way of changing labels in which the cross references are scattered through long development? Is there any way to automate the process?
Ross Ahmed
Ecologist
--
07875533906
Twitter: @RossAhmed
LinkedIn: Ross Ahmed
Hi TextMaters,
I have a very superficial knowledge of perl, so I wonder if someone can
help.
Setup: before I compile my LaTeX document, I need to run a shell script
(using sed) to find/replace certain strings. [There is a long story for
why I need to do this, and why its not easily avoidable.]
Possible solution: I was wondering if I can insert something in the
latex_watch.pl script that would run this shell script, without causing
latex_watch to go into an infinite loop (since the shell script changes
the underlying LaTeX file/s).
I've tried inserting the relevant code in several locations, but I can't
seem to avoid the loop. That's not surprising, since I don't really know
perl. Does anyone know if there is easy way to
1) modify latex_watch.pl so it executes a shell script that modifies the
underlying LaTeX file without going in to a loop?
or
2) cause the shell script to run on the file whenever the file changes
by some other means?
Thanks!
Zvi
I have a request regarding citations based on current word or Ref-TeX style: is it possible to make them non-case sensitive?
When I search by author's name, which is most of the time, I know that the first letter of the word needs to be in uppercase and so I type it that way. But if I'm searching by title words, say for a word like "apocalypse", I am not sure I should type a truncated "Apocal" or "apocal". My bib files contain titles with first letters in upper- and lowercase. It would be great to be able to do a case insensitive search.
--Gildas
I have this piece of language grammar to match a struct in D :
begin = '(?x)^\s*
((?:\b(public|private|protected|static|final|synchronized|abstract|export|shared)\b\s*)*)
# modifier
(struct)\s+
(\w+)\s* # identifier
(?:\(\s*([^\)]+)\s*\)|)\s* # Template type
(if\s*\(\s*([^\)]+)\s*\)|)?\s* # Template constraint
';
end = '(?={|;)';
It will match this code, as an example:
struct Foo(A) if (true)
{
}
The problem is if I put the "if" on a new line it won't match. How can I
make the rule match across several lines?
--
/Jacob Carlborg
I've tried 'latex and view' again and it does now start up faster than I remember!
Thanks for the great work,
Geoff
>> On 24 Mar 2015, at 13:32 , Geoff Vallis <gkvallis(a)gmail.com> wrote:
>>
>> Hi Ren,
>>
>> Your fix did the trick, thanks very much.
>>
>> The reasons I don't use 'typeset and view' are twofold. The main one is just that it is a bit slow - I have to wait almost five seconds before it actually starts to typeset, which may not seem very long but when I am 'debugging' it is a little frustrating. Using a terminal window the typesetting starts instantly.
>
> Commit 39b09967 [1] should improve the startup time of `texmate` significantly.
>
> [1]: https://github.com/textmate/latex.tmbundle/commit/39b09967
>
> I get an overhead of less than 0.3s if I use `texmate` on a minimal file. The translation of the minimal file inside Terminal using the command `time pdflatex tmp.tex` takes 0.55s. The following command ? basically simulating a run of ?Typeset & View (PDF)? ? inside TextMate takes about 0.79s:
>
> ?
> #!/usr/bin/env bash
>
> BUNDLE_DIR="$HOME/Library/Application Support/Avian/Bundles/LaTeX.tmbundle"
> TM_BUNDLE_DIR="$HOME/Library/Application Support/TextMate/Managed/Bundles"
>
> export TM_FILEPATH="tmp.tex"
> export TM_SUPPORT_PATH="$TM_BUNDLE_DIR/Bundle Support.tmbundle/Support/shared"
> export TM_BUNDLE_SUPPORT="$BUNDLE_DIR/Support"
> export PATH="$BUNDLE_DIR/Support/bin":$PATH
> export TM_SELECTION='1:1'
>
> texmate.py -suppressview latex -latexmk no -engine pdflatex
> ?
>
> tmp.tex:
> ?
> \documentclass{article}
>
> \begin{document}
> Bla
> \end{document}
> ?
>
> Could you maybe test the above example and send in your results. If it takes multiples seconds before `texmate` starts typesetting, then maybe your local copy of the bundle does not contain the changes done in commit 5074427f [2]?
>
> [2]: https://github.com/textmate/latex.tmbundle/commit/5074427f
>
>> The second reason is that I can go back and forth between xelatex and pdflatex easily by setting up two scripts with different keyboard shortcuts, which I find quite convenient.
>
> You can change the typesetting engine used by ?Typeset & View (PDF)? with the following commands:
>
> defaults write com.macromates.textmate.preview latexEngine xelatex
> defaults write com.macromates.textmate.preview latexEngine pdflatex
>
>> I know there are some advantages to 'typeset and view' and if it were a bit quicker, like the equivalent command in TexShop which is quite fast, I would use it.
>
> Hopefully the latest changes help.
>
>> Thanks again
>> Geoff
>
> Kind regards,
> Ren?
>
Dear René,
The new citation command based on current word or Ref-TeX style is working well. I use both and wonder how to tailor them for my use, now that I realized that I had to throw out my ~/Library/Application\ Support/Avian previous tweakings of the two commands (they called LaTeXUtils.rb):
1. Citation based on current word gives results such as: \cite{Bellah:1996kx}. I would like to get \cite[]{Bellah:1996kx}, with the cursor in the square brackets so I can enter pages, and then tab the cursor after the citation.
2. My own use of the tweaked Citation Ref-TeX style gave me the choice of \cite[]{}, \textcite[]{}, \footcite[]{}, \autocite[]{} formats. I don't use any other cite formats and would rather have this small list for my case.
How do I adapt the new commands to my situation?
--Gildas
Hello,
I have just installed the latest security update on my Mac (10.10.2) and some commands in my latex bundle were broken by it. For example, I have a script (below) that opens a terminal window and typesets the master file, but after the security update the command no longer tries to typeset the master file, but the subfile, and hence typesetting fails. I am sure is is the Mac OS security update that led to the failure, because I tried on two Macs with the same behaviour.
Thanks for any help you may offer
Geoff
--------
#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
TM_LATEX_MASTER=`${TM_RUBY:-ruby} <<"RUBY"
require "#{ENV['TM_SUPPORT_PATH']}/lib/escape.rb"
require "#{ENV['TM_BUNDLE_SUPPORT']}/lib/LaTeXUtils.rb"
master = LaTeX.master(ENV['TM_LATEX_MASTER'] || ENV['TM_FILEPATH'])
puts master
RUBY`
FILE=${TM_LATEX_MASTER:-$TM_FILEPATH}
cd ${TM_DIRECTORY}
open -a iterm
/Users/gkv/scripts/iterm "time /usr/texbin/pdflatex -synctex=1 ${FILE%.tex}"
--------
The Watch Document command (Cmd-Ctrl-W) in the LaTeX bundle works beautifully either for a single TeX document or for a series of documents if started from the master file. Is it possible to tweak Watch Document so it can be called from any of these sub-files that are linked to the master?
--Gildas
As useful as the escape key is, it would be nice to have visual feedback for auto completion. What would it take to build this? I think Xcode does it best, but I have seen a few fledgeling editors like Textastic and Chocolat implement basic auto complete quite well in the early stages.
Thanks
-Sam
(I am sending this again as plain text email. Sorry about the earlier HTML email.)
This is all the rage these days: http://usetakana.com
It's a relatively new tool from mid-2014 it seems.
Live SCSS (SASS) editing with on the fly updates, and it's FAST since it happens via JavaScript in the browser and a server running in the background.
Can this be implemented in TM2?
It's currently only for Sublime Text. Problem is, I'm not a big fan of that editor. I'm forced to use it for this purpose only. If i could do this same thing in TM2 life would become fun again.
Hi,
Further to Andrew Jaffe’s message a couple of weeks ago, I’ve noticed since TM2 that⇧⌘A doesn’t work as well for Subversion as it did in TM1, or at least that Subversion Update doesn’t seem to work as expected if you⇧⌘A before it. In TM1 ⇧⌘A followed by ⌘Y Subversion Update would perform a full project update from the root directory. In TM2 it reports success, but never updates anything.
In fact you have to select the project root directory, which I do by click on the project folder (top-left) and selecting the parent folder, followed by clicking on the project folder again to select it from the list. Then ⌘Y Update works fine.
Am I being stupid or should ⇧⌘A,
⌘Y Update work as expected?
Cheers,
Jonathan Monahan
On 8 Mar 2015, at 19:42, Julien Hugonnier wrote:
> Hi: Just a quick question: I have now updated to T2 and found that
> whatever I do the file browser does not show any files! Has someone
> also encountered that problem and maybe found a solution.
>Most times this comes up, it is related to having edited the
>include/exclude patterns.
>A quick test is to move the focus to the file browser, then use ⌥⌘I
>(View → Show Invisible Files), this disables the custom filtering of
>item, and if it makes your files show up, then it’s a configuration
>problem.
>These patterns can either be set via .tm_properties or in the
>Preferences → Project → Exclude/Include Files Matching text fields.
Thanks for your answer!
Doing this indeed shows all the files in the browser but the settings I
have are default (I modified neither the preferences nor the
tm_properties file) so I am not exactly sure what to do for the browser
to work without having to this manipulation each time I start TM2. Any
help greatly appreciated.
I have the following python script:
import os
os.system("which python")
When I execute with command + R I get: /usr/bin/python
On the other hand, when I execute with command + shift + R I get:
/opt/local/bin/python
I would like to get the second output with command + R. How can I do that?
S.V.
--
View this message in context: http://textmate.1073791.n5.nabble.com/Python-Command-R-tp29040.html
Sent from the textmate users mailing list archive at Nabble.com.
A friend of mine started getting some weird bug not so long ago.
Within the Find dialog text boxes at some point stop rendering carets and stop responding visually to keyboard input.
But every time you click the “Find” button content within those text boxes magically updates.
The only way to fix this is to restart TextMate. Closing/reopening Find dialog doesn’t help.
He made a video that shows this behavior https://www.dropbox.com/s/0hkhkrcqtzyi6ho/tm.search.bug.mov?dl=0
OS X 10.9
TextMate version 2.0-beta.6.8
I'm trying to build latest TextMate in master. Previously I was able to
build TextMate but not anymore.
First running "./configure" results in this error:
ninja: error: build.ninja:8: loading
'/Users/jacob/build/TextMate/build.ninja': No such file or directory
include $builddir/build.ninja
^ near here
It's a minor error since it works anyway. Then when running "ninja" I
get this error:
$ ninja
[6/1174] Generate test
‘/Users/jacob/build/TextMate/Frameworks/text/test_text.cc’…
FAILED: bin/gen_test Frameworks/text/tests/t_case.cc
Frameworks/text/tests/t_ctype.cc Frameworks/text/tests/t_decode.cc
Frameworks/text/tests/t_encode.cc Frameworks/text/tests/t_format.cc
Frameworks/text/tests/t_indent.cc Frameworks/text/tests/t_ranker.cc
Frameworks/text/tests/t_split.cc Frameworks/text/tests/t_tokenize.cc
Frameworks/text/tests/t_trim.cc Frameworks/text/tests/t_utf8.cc
Frameworks/text/tests/t_wrap.cc >
/Users/jacob/build/TextMate/Frameworks/text/test_text.cc~ && mv
/Users/jacob/build/TextMate/Frameworks/text/test_text.cc~
/Users/jacob/build/TextMate/Frameworks/text/test_text.cc
bin/gen_test:14:in `block (2 levels) in <main>': invalid byte sequence
in US-ASCII (ArgumentError)
from bin/gen_test:13:in `foreach'
from bin/gen_test:13:in `each_line'
from bin/gen_test:13:in `block in <main>'
from bin/gen_test:8:in `each'
from bin/gen_test:8:in `<main>'
[6/1174] Compile ‘Shared/PCH/prelude.mm’…
ninja: build stopped: subcommand failed.
Adding a magic encoding comment to "bin/gen_test" does not help.
--
/Jacob Carlborg
Hi: Just a quick question: I have now updated to T2 and found that
whatever I do the file browser does not show any files! Has someone also
encountered that problem and maybe found a solution. Reinstalling does
not seem to solve it. Thanks in advance, ---Julien.
Hi,
In order to get the current version control software (e.g., svn, git) to
act on the entire directory, it seems that I need to select no files or
dirs in the browser. With a small number of files there, this is easy --
just click below the bottom one. However, I have many projects with lots
of files, and this seems to be impossible. ("Select all" doesn't quite
work, as trying "commit" in this case tries to commit all files, even
those not under control of the VCS.)
Surely this is trivial and I'm missing something.
Andrew
I’ve installed a Rubocop bundle that lints the code and adds flags to the gutter.
If you click one of such flags you get a tooltip with a description.
Is there a way to trigger this tooltip without using the mouse?
Screenshot: https://cloudup.com/cVwiwQigyTu
Bundle: https://github.com/fazibear/Rubocop.tmbundle