you can do something like, by placing the following code into your global or folder specific .tm_properties file:
myExtraIncludes = ".*"
include = "{$include,$myExtraIncludes}"
== Feek
tl;dr Command-Z and Shift-Command-Z somehow stopped being associated with Undo/Redo, and instead caused the last file functions to be undone/redone (renaming a file, creating a file, creating a folder, etc.). Note that the menu still indicates those two keys as shortcuts to Undo/Redo
I’m editing a project, and I have multiple files open. I created a new folder and a new file within the new folder, and started typing text into the file. So far, so good. I made what I thought was a typing mistake and hit the “delete” key, then realized that it was not a mistake, so I hit Command-Z (the shortcut for Undo), and the filename reverted to the default “untitled.txt”. Then I hit Shift-Command-Z (the shortcut for Redo) and the filename reversion was undone. So I typed some more text and went to the Edit menu and hit “Undo” and the text disappeared (as I would expect).
Hi everyone,
There was once a time when I would press the spacebar on a tex file in the
Finder and I would see a Quicklook preview of it using the theme I used
when TextMate is open, complete with syntax highlighting, etc.
I'm not sure what I did, but now when I press the space bar, I see only a
picture of the document icon with the TextMate logo on it. It does
correctly label it "TeX" with that capitalization, though.
To experiment a little, I deleted the line <string>tex</string> in the
TextMate.app Info.plist. Quicklook now works on tex files, but it looks
like it's using the built in macOS ql plugin for plain text. That is, it's
not using the default TM theme and thus there isn't any syntax
highlighting, etc.
When I put back <string>tex</string> in Info.plist and then do touch
TextMate.app, it goes back to the preview of the document icon as before.
I don't mind the Quicklook preview without the theme colors, but it would
be nice to restore TextMate's Quicklook, if possible.
I'm using TM 2.0.17 on macOS 10.15.7.
Best wishes,
Anthony
It's been great to see the incremental improvements in TextMate over
time. The recent 2.0.17 has a really nice fit and finish all-in and it's
still by far my preferred "fully native" text editor - a first choice
for development. Little things like the recently shuffled themes menu to
support dark/light mode switching are always very welcome and have a
surprisingly big "quality of life" impact.
Of course I've a niggle ;-) - I noticed in 2.0.6 (possibly earlier?)
that when switching between tabs (currently macOS 11.2.1, but it's done
it for a while) TextMate will sometimes shift the view scroll position
after a fractional delay. It seems to be related to any lines that
aren't of a fixed height; for example, comments in Ruby source code have
always word-wrapped even if word wrap is disabled and if there are any
of those in a piece of text above the caret position then there's a good
chance of scroll position jumps when switching between tabs.
The issue is especially pronounced in larger Markdown docs when I
usually edit with word wrap enabled - in that case, the jump can be
severe and disorientating as the view can end up somewhere very
different from "where you left it", but the caret position is unchanged
and might not even be on-screen anymore. As an example, a large
README.md file for our application was scrolled with line 656 at the
view midpoint with caret placed there, so that line 633 was at the top
of the view. I switched to another tab then back again and after a brief
delay the view jumped so that line 602 was at the top of the view and
line 656 wasn't even visible. This jump doesn't happen with word wrap
turned off, but *does* still happen if I've allowed the Textmate
configuration to change font sizes on headings.
It just "feels like" there's some kind of scroll position recalculation
happening on a thread whenever a tab regains focus, but this calculation
isn't accounting for "unusual line heights" due to line wrap or (maybe)
font sizes.
Just me?
--
TTFN, Andrew Hodgkinson
Find photos, software, music and more at my home site, Bandcamp and
GitHub:
https://pond.org.uk / https://pondnz.bandcamp.com /
https://github.com/pond
Hi, I'm doing a little housekeeping on my Rebol bundle. I've one command
that takes a selection, evaluates the content and replaces the selection
with the product. I'm using TM_SELECTION to determine the various selection
modes:
• No selection: use TM_CURRENT_LINE as input
• Regular selection: use TM_SELECTED_TEXT as input
• Columnar selection: use TM_SELECTED_TEXT splitting on LF
I don't currently handle multiple caret selection, though I see that I can
read from STDIN to obtain that input. The tricky part seems to be
discerning how to break that input to match the respective selections. I
could split by LF, though that doesn't work if any of the selections
themselves span multiple lines. Otherwise it seems it's a walk through each
line to match up with the TM_SELECTION entries (which I've not attempted
thus far, in fairness).
Am I missing anything obvious here? Has there been any consideration of
using some of the ASCII field separators (e.g. 0x1D-1F) to delimit these
and permitting use of said separators as a way of directing the response to
fill each of these selections respectively?
Thanks,
– Chris
I have the same problem as Curt Selmer with the Bundle Ediror — I am running macOS 10.14.6
Phil
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phil Molyneux E: molyneux(a)pobox.com
T: 020 8549 0045
M: 07885 426 323
71 Deacon Road, Kingston upon Thames KT2 6LS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Is there some way to enforce a trailing newline on new file create (and update)? Is this a plugin-shaped problem, or a preference I can set?
Thanks,
Walter
Hi,
I saw on GitHub a new prerelease of TM was available (v2.0.17). But checking via update (I'am using v.2.0.16) no new version appears. See:
https://feek.d.pr/gHocSE/o9VvhS1Oam
Funny enough, on a testing machine via Homebrew installed 2.0.17... bit checking the prereleases it shows:
https://feek.d.pr/ckxZTJ/Mqyqbkjv6g
So pointing back to 2.0.16 ......
But when downgrading to 2.0.6 (the latest stable/regular version) and then checking the prereleases you can install 2.0.17.
So I think there is something wrong checking versions....
== Feek
Greetings all,
I received the familiar "update downloaded" notification for TextMate, and
installed it as per usual. Unfortunately it seems that it is only for
10.15+, as per the attached screenshot, and I'm running 10.14.6. I've
downloaded 2.0.6 from https://macromates.com/download, but that's a long
way behind the version I was recently using, and if I try upgrading it's
instantly back at the version that won't run. Could somebody please let me
know how to revert to something close to the previous (2.0.15?) version?
Thanks very much,
Paul
[image: tm_nogo.png]
Hi all! I was wondering, how can I (or we) integrate Language Server Protocol / Server to TextMate? For Python, Ruby, Golang etc... I tried every other editors but none of the makes me comfortable as TextMate does.
Uğur Özyılmazel
https://ugur.ozyilmazel.comhttps://github.com/vigo
Good morning *,
using TM2 as a (La)TeX editor most of the time, I’d like to add a few typesetting engines.
TeXShop holds its engines in ~/Library/TeXShop/Engines. When using TeXShop to typeset on Cmd-R (I made a script for that) it uses these which is quite convenient as I modified some of them and added others to reflect the way I work.
Could I use these via the “%!TEX TS-program =” attribution line when running TeX the “normal” TM2 way, probably with some adjustments?
Is there a directory where TM2 stores its engines so that I could create more?
Thanks for any helpful advice!
Regards,
-Moss-
--
Martin Wilhelm Leidig
Dante Member #1580
Ruby 3 has recently been released. Could we get support for Ruby 3 for using in bundle development? I’m referring to the shebang (#!/usr/bin/env ruby20) that one can specify for the language implementation of a bundle command. This shebang is somehow recognized by TextMate and it will automatically download the specified Ruby version if it’s not already installed.
--
/Jacob Carlborg
How about staring an official Slack/Discord/Gitter workspace/channel for TextMate?
I know about IRC and but it's an outdated technology that doesn’t preserve history.
--
/Jacob Carlborg
Hi everyone,
I am looking for a way to sort lines in a simple txt file for a
wordlist/dictionary project. I know that in Textmate there is the
>Bundles>Text>Sorting where I can sort the line alphabetically
according to latin based graphemes. My problem is that I am using IPA
symbols a lot in the wordlist, e.g. ɸ, ⁿt, ð. The sort order in the Text
bundle treats IPA characters as special symbols and puts them at the
end, which is not what I want. So I was wondering if there is way of
creating a custom sort order and apply it. For example:
"a,æ,b,ᵐb,d,ⁿd,e,ɸ ..." instead of "a,b,c,d,e,f ..."
Best
Christian
Hi,
Apple today announced a new event for october 13. So Big Sur will be released soon.
I was wondering if TextMate is compatible with Big Sur?
== Feek
Hello all,
Just a quick question. Sorry if this has been asked before, I searched and didn't find anything related.
I have the habit of keeping several untitled windows open with bits of text or notes. Right now I have 3 untitled windows, all minimized in the Dock. If I open an arbitrary file, it will open it as a tab in one of these untitled windows. This includes files that belong to a project in a folder containing a .tm_properties file. I find this pretty annoying, because these files end up grouped with the untitled document that contains something totally unrelated. When I close the tab that opens, I have to minimize the untitled document again.
Is there a way to force Textmate to always open files in either a window corresponding to their project, or otherwise just a new window?
Thanks!
Quinn
Hi,
I have had an issue building TextMate from the GitHub source for some time. I get the codesign error “resource fork, Finder information, or similar detritus not allowed” (introduced by Apple to enable notarization) for Dialog2.tmplugin:
Ians-MacBook-Pro:textmate ian$ ninja TextMate
[5/116] Sign ‘build/PlugIns/dialog/Dialog2.tmplugin’…
FAILED: build/PlugIns/dialog/Dialog2.tmplugin/Contents/_CodeSignature/CodeResources
xcrun codesign --options runtime --timestamp -fs "-" build/PlugIns/dialog/Dialog2.tmplugin && touch build/PlugIns/dialog/Dialog2.tmplugin/Contents/_CodeSignature/CodeResources
build/PlugIns/dialog/Dialog2.tmplugin: resource fork, Finder information, or similar detritus not allowed
[6/116] Sign ‘build/PlugIns/dialog-1.x/Dialog.tmplugin’…
build/PlugIns/dialog-1.x/Dialog.tmplugin: replacing existing signature
[10/116] Compile ‘Frameworks/FileBro...src/FileBrowserDiskOperations.mm’…
ninja: build stopped: subcommand failed.
Ians-MacBook-Pro:textmate ian$
I assume this happens for others, too, on a fresh clone → configure → build? If not, then any pointers as to what detritus Dialog2.tmplugin might have would be appreciated.
Ian
On August 25, 2020 at 9:13 PM, "Rob McBroom" <mailinglist0(a)skurfer.com> wrote:
It doesn’t auto-indent after (, but that’s probably the language grammar.
I had a quick look, and yes, it's the grammar. Around line 367 this pattern, that I don't claim to understand the purpose of, gobbles up ()
{ begin = '(\()';
end = '(\))';
patterns = ( { include = '$self'; } );
},
before the pattern matching tuples around line 392 get a chance to process it
{ name = 'meta.structure.tuple.python';
match = '(\()(\s*(\)))';
captures = {
1 = { name = 'punctuation.definition.tuple.begin.python'; };
2 = { name = 'meta.empty-tuple.python'; };
3 = { name = 'punctuation.definition.tuple.end.python'; };
};
},
so, effectively, tuples aren't recognized by the grammar.
I deleted the first entry and got expansion of () working without any obvious destructive side-effects. YMMV.
Cheers,
Per
On August 25, 2020 at 9:13 PM, "Rob McBroom" <mailinglist0(a)skurfer.com> wrote:
I forget the details of the behavior I didn’t like before, but I use
disableIndentCorrections = 'emptyLines'
Give that a try. Python is my primary language and it mostly does what I want.
Thanks, that did the trick! This behaviour should probably be the default for python.
The exceptions:
It doesn’t auto-indent after (, but that’s probably the language grammar.
I though it would be just a matter of adding ( and ) to increase/decrease indent patterns, but that doesn't seem to have any effect whatsoever. In fact, removing the part of the increase/decrease indent pattern regexes matching [{ and }] doesn't change the current behaviour, so it seems that it is handled differently. Googling, I found a thread that suggests that auto-indent of paired [] and {} is based a macro triggered by the return key when in a certain scope:
http://textmate.1073791.n5.nabble.com/txmt-dev-Working-with-indentation-rul…
(about half-way down the conversation)
I say we need some authoritative advice here ;)
After a block like
class MyClass:
def action(self):
pass
⇥
Hitting ⇥ at the location shown above will line up with pass and not the previous def. I guess it’s doing the thing that makes sense, even though it’s never what I want and bites me almost daily.
Yeah, I agree. A bit ugly workaround is to add a snippet that applies when caret is in the leftmost position, e.g.:
`printf "%*s" ${TM_TAB_SIZE} ''`$0
and setting the scope selector to L:(source.python dyn.caret.begin.line) and key equivalent to ⇥.
This would obviously only work if you use spaces for tabs...
Cheers,
Per
Hi,
I have noticed a weird behavior with indentation that I'm pretty sure hasn't always been present (as it would have driven me nuts). I've only seen this with python files, and since I keep my own python3 bundle I removed that and installed the default python bundle with the same results.
Let me try to illustrate.
Using the settings
increaseIndentPattern = '^\s*(class|((async\s+)?(def|with|for))|elif|else|except|finally|if|try|while)\b.*:\s*$|(\{|\[)\s*$';
decreaseIndentPattern = '^\s*(elif|else|except|finally)\b.*:|^\s*(\}|\])';
disableIndentCorrections = :true;
indentOnPaste = 'simple';
I see the following behaviour (annotations where strange things happen):
if 1:
pass
else: # Expected this line to decrease indent when typing ':' (not OK)
pass
def foo():
def bar():
pass
return bar # I back up caret one level and type return (OK)
If I change disableIndentCorrections to :false, I get the following behaviour:
if 1:
pass
else: # Did decrease indent when typing ':' (OK)
pass
def foo(): # back up caret to col 0 and type def => auto-indent to align with previous non-empty line (not OK)
pass
# <- Force alignment to col 0, and retry
def foo():
def bar():
pass
return bar # I back up caret one level and type return => auto-indent to align with previous non-empty line (not OK)
FWIW, I scoured the installed bundles for any setting that might interfere, but did not find anything suspicious.
Is anyone else seeing the same behaviour, and if so, has it always been that way?
Is there something I can do to fix it?
Regards,
Per
Hallo,
I work with large amounts of database-output (from 10 to 200 MB), that I usually paste into a new opened TextMate window. When it is pasted, all works as expected. But pasting takes minutes. TM freezes and it takes much, much longer than other editors I tested (VIM, Atom, VS) until the text is visible and useable.
I find out, that this is caused by the Clipboard History. I never heard of this before and do not use it, because I have the Clipy-App for that. Nonetheless the size of the clipboard history file was 1.3 GB. If I clear the clipboard history (control + option + command +v and then "Clear History") everything works normally, but in my case the CH grows really fast. So once a day I have to clear the history.
In my opinion there are some solutions:
- Decoupling the pasting process and the CH process. The CH process should run in background with lower priority.
- Adding a setting to deactivate the CH. But in this case everybody, who use large text insertions run into this problems.
- Limit the size of the CH. But if people rely on this, that can cause problems.
My hardware:
- Macbook Pro 2013 with i7 and 16 GB RAM
- Macbook Pro 2016 with i5 and 8 GB RAM
same behavior on booth.
Thanks in advance
Nils
I'm trying to create a language bundle where it will not be possible to identify all the scopes correctly using regular expressions. Is there a way to generate the scope dynamically somehow?
I see there is a TextMate Ctags bundle (https://github.com/textmate/ctags.tmbundle). Does TextMate use CTags to locate and syntax color both functions and variables? Where does the file go and what name does it need to have?
Thanks,
John DeSoi, Ph.D.
Hey there,
I'm trying to figure out how to get back to a command's HTML window after
the command has finished. What I currently have works fine:
#!/usr/bin/env ruby18
require "#{ENV['TM_SUPPORT_PATH']}/lib/tm/executor"
ENV['EDITOR'] = 'mate --wait'
TextMate::Executor.run("eyaml", "edit", "#{ENV['TM_FILEPATH']}")
I have Output set to show in a new HTML window and I do get the output
there. I'm just wondering if there's a way to get TM to automatically
return to the HTML window after I've closed the modified eyaml (so I don't
miss any error output for example).
Thanks,
George
I’ve been seeing things where a search gives what I know are incorrect
results, or worse, I’ll go for days thinking I’ve identified all the
references to some string in a project then find out I missed a few. I
think I’ve somewhat figured out how to reproduce it.
Selecting a folder in the File Browser and hitting ⇧⌘F mostly works
as expected, but if the Find dialog is already open, the “In:” field
doesn’t update.
If you perform the search anyway, it seems to sometimes search the
original location (still displayed) and sometimes search what you had
selected in the File Browser, even though that isn’t displayed. I
swear it searches the entire project sometimes as well, but I could be
wrong about that.
In any case, something isn’t quite right. Thanks.
--
Rob McBroom
I updated a PostgreSQL bundle with new keywords for the latest version. As far as I can tell there is no difference except the the new version has quite a few more keywords. But the bundle editor syntax coloring now indicates there are errors after this specification. Is there a string length limit or some other way to fix it? As far as I can tell the bundle is working find and all keywords are recognized.
John DeSoi, Ph.D.
old
<key>match</key>
<string>(?xi)\b(abort|absolute|access|action|add|admin|after|aggregate|all|also|alter|always|analyse|analyze|and|any|array|as|asc|assertion|assignment|asymmetric|at|attribute|authorization|backward|before|begin|between|bigint|binary|bit|boolean|both|by|cache|called|cascade|cascaded|case|cast|catalog|chain|char|character|characteristics|check|checkpoint|class|close|cluster|coalesce|collate|collation|column|comment|comments|commit|committed|concurrently|configuration|connection|constraint|constraints|content|continue|conversion|copy|cost|create|cross|csv|current|current_catalog|current_date|current_role|current_schema|current_time|current_timestamp|current_user|cursor|cycle|data|database|day|deallocate|dec|decimal|declare|default|defaults|deferrable|deferred|definer|delete|delimiter|delimiters|desc|dictionary|disable|discard|distinct|do|document|domain|double|drop|each|else|enable|encoding|encrypted|end|enum|escape|event|except|exclude|excluding|exclusive|execute|exists|explain|extension|external|extract|false|family|fetch|first|float|following|for|force|foreign|forward|freeze|from|full|function|functions|global|grant|granted|greatest|group|handler|having|header|hold|hour|identity|if|ilike|immediate|immutable|implicit|in|including|increment|index|indexes|inherit|inherits|initially|inline|inner|inout|input|insensitive|insert|instead|int|integer|intersect|interval|into|invoker|is|isnull|isolation|join|key|label|language|large|last|lateral|lc_collate|lc_ctype|leading|leakproof|least|left|level|like|limit|listen|load|local|localtime|localtimestamp|location|lock|mapping|match|materialized|maxvalue|minute|minvalue|mode|month|move|name|names|national|natural|nchar|next|no|none|not|nothing|notify|notnull|nowait|null|nullif|nulls|numeric|object|of|off|offset|oids|on|only|operator|option|options|or|order|out|outer|over|overlaps|overlay|owned|owner|parser|partial|partition|passing|password|placing|plans|position|preceding|precision|prepare|prepared|preserve|primary|prior|privileges|procedural|procedure|program|quote|range|read|real|reassign|recheck|recursive|ref|references|refresh|reindex|relative|release|rename|repeatable|replace|replica|reset|restart|restrict|returning|returns|revoke|right|role|rollback|row|rows|rule|savepoint|schema|scroll|search|second|security|select|sequence|sequences|serializable|server|session|session_user|set|setof|share|show|similar|simple|smallint|snapshot|some|stable|standalone|start|statement|statistics|stdin|stdout|storage|strict|strip|substring|symmetric|sysid|system|table|tables|tablespace|temp|template|temporary|text|then|time|timestamp|to|trailing|transaction|treat|trigger|trim|true|truncate|trusted|type|types|unbounded|uncommitted|unencrypted|union|unique|unknown|unlisten|unlogged|until|update|user|using|vacuum|valid|validate|validator|value|values|varchar|variadic|varying|verbose|version|view|volatile|when|where|whitespace|window|with|without|work|wrapper|write|xml|xmlattributes|xmlconcat|xmlelement|xmlexists|xmlforest|xmlparse|xmlpi|xmlroot|xmlserialize|year|yes|zone)\b</string>
new
<key>match</key>
<string>(?xi)\b(abort|absolute|access|aclitem|action|add|admin|after|aggregate|all|also|alter|always|analyse|analyze|and|any|anyarray|anyelement|anyenum|anynonarray|anyrange|array|as|asc|assertion|assignment|asymmetric|at|attach|attribute|authorization|backward|before|begin|between|bigint|binary|bit|bool|boolean|both|box|bpchar|by|bytea|cache|call|called|cascade|cascaded|case|cast|catalog|chain|char|character|characteristics|check|checkpoint|cid|cidr|circle|class|close|cluster|coalesce|collate|collation|column|columns|comment|comments|commit|committed|concurrently|configuration|conflict|connection|constraint|constraints|content|continue|conversion|copy|cost|create|cross|cstring|csv|cube|current|current_catalog|current_date|current_role|current_schema|current_time|current_timestamp|current_user|cursor|cycle|data|database|date|daterange|day|deallocate|dec|decimal|declare|default|defaults|deferrable|deferred|definer|delete|delimiter|delimiters|depends|desc|detach|dictionary|disable|discard|distinct|do|document|domain|double|drop|each|else|enable|encoding|encrypted|end|enum|escape|event|event_trigger|except|exclude|excluding|exclusive|execute|exists|explain|extension|external|extract|false|family|fdw_handler|fetch|filter|first|float|float4|float8|following|for|force|foreign|forward|freeze|from|full|function|functions|generated|global|grant|granted|greatest|group|grouping|groups|gtsvector|handler|having|header|hold|hour|identity|if|ilike|immediate|immutable|implicit|import|in|include|including|increment|index|index_am_handler|indexes|inet|inherit|inherits|initially|inline|inner|inout|input|insensitive|insert|instead|int|int2|int2vector|int4|int4range|int8|int8range|integer|internal|intersect|interval|into|invoker|is|isnull|isolation|join|json|jsonb|jsonpath|key|label|language|language_handler|large|last|lateral|leading|leakproof|least|left|level|like|limit|line|listen|load|local|localtime|localtimestamp|location|lock|locked|logged|lseg|macaddr|macaddr8|mapping|match|materialized|maxvalue|method|minute|minvalue|mode|money|month|move|name|names|national|natural|nchar|new|next|no|none|not|nothing|notify|notnull|nowait|null|nullif|nulls|numeric|numrange|object|of|off|offset|oid|oids|oidvector|old|on|only|opaque|operator|option|options|or|order|ordinality|others|out|outer|over|overlaps|overlay|overriding|owned|owner|parallel|parser|partial|partition|passing|password|path|pg_attribute|pg_auth_members|pg_authid|pg_class|pg_database|pg_ddl_command|pg_dependencies|pg_lsn|pg_mcv_list|pg_ndistinct|pg_node_tree|pg_proc|pg_shseclabel|pg_subscription|pg_type|placing|plans|point|policy|polygon|position|preceding|precision|prepare|prepared|preserve|primary|prior|privileges|procedural|procedure|procedures|program|publication|quote|range|read|real|reassign|recheck|record|recursive|ref|refcursor|references|referencing|refresh|regclass|regconfig|regdictionary|regnamespace|regoper|regoperator|regproc|regprocedure|regrole|regtype|reindex|relative|release|rename|repeatable|replace|replica|reset|restart|restrict|returning|returns|revoke|right|role|rollback|rollup|routine|routines|row|rows|rule|savepoint|schema|schemas|scroll|search|second|security|select|sequence|sequences|serializable|server|session|session_user|set|setof|sets|share|show|similar|simple|skip|smallint|snapshot|some|sql|stable|standalone|start|statement|statistics|stdin|stdout|storage|stored|strict|strip|subscription|substring|support|symmetric|sysid|system|table|table_am_handler|tables|tablesample|tablespace|temp|template|temporary|text|then|tid|ties|time|timestamp|timestamptz|timetz|to|trailing|transaction|transform|treat|trigger|trim|true|truncate|trusted|tsm_handler|tsquery|tsrange|tstzrange|tsvector|txid_snapshot|type|types|unbounded|uncommitted|unencrypted|union|unique|unknown|unlisten|unlogged|until|update|user|using|uuid|vacuum|valid|validate|validator|value|values|varbit|varchar|variadic|varying|verbose|version|view|views|void|volatile|when|where|whitespace|window|with|within|without|work|wrapper|write|xid|xml|xmlattributes|xmlconcat|xmlelement|xmlexists|xmlforest|xmlnamespaces|xmlparse|xmlpi|xmlroot|xmlserialize|xmltable|year|yes|zone)\b</string>
Hello,
I am using TextMate along with nvALT. I will open a file in Textmate from nvALT with the edit with functionality. If I accidentally modify the file in nvALT while it's open in TextMate, TextMate doesn't reload the file.
BBEdit does do this though.
I really don't like BBEdit that much, so I don't want to use that. Is there an option somewhere to enable this functionality? If not, is it possible to submit a feature request to enable the functionality?
Thanks
I've been using TextMate for years and I'm productive and happy with it. However, I like to try other editors from time to time to see if I'm missing anything. Recently I spent some time learning Vim and I discovered a few things that I particularly liked.
1) Split windows -- not the kind of split windows you normally get in Mac applications, but the Vim style ones. In Vim you can easily navigate from the keyboard to your different splits and choose what files to display in each. Additionally, you don't have to reach for your mouse to create a split. When you split, Vim divides the space up for you which is what you want most of the time. I found that it is very handy when needing to view more than 1 file at a time, which in my case is most of the time. Closing splits is about as easy as they are to create -- all from the keyboard. Multiple windows isn't really the same thing because they are slow to setup and tear down.
2) Selective multifile grep -- in Vim you can use a regular expression to open a set of files, and then just grep across the open files.
3) Don't need arrow keys -- after years of editing with the mouse; I find it painful to reach for it. It hurts my right shoulder and shoulder blade. It even hurts to have to move my hand down to the arrow keys. However, in Vim it is easy to keep your hands resting on your keyboard with your shoulders relaxed. No reaching for the mouse or arrow keys.
1. clear history
2. copy the digits 9:1 one at a time:
EXPECTED: 1:9 timeline
OBTAINED: the list won’t scroll above line 5
OS = Big Sur beta2 11.0 Beta (20A5323l)
TextMate 1 or 2, is there a way to auto-highlight all occurrences of
selected word?
I was from Windows using EditPlus, when I double-click or Ctrl+W to select
a word, EditPlus is able to automatically highlight all occurrences in a
different background colour, very nice and useful feature.
With TextMate I have to additionally hit Opt+Cmd+F, and highlighting colour
is same as selected word, not eye-catching. I use 'soft' and light
background for selection background but I prefer bright background (eg
yellow) for highlighted words.
Ctr-S not really meets what I need.
Thanks.
--
Sent from my mobile. Ignore the typos unless they're funny.
Hi all,
I've written a custom action in order to compete my PHP functions. By default only functions inside a file are completed, but my action can complete all functions inside a project folder!
I use theRuby TextMate::UI.complete to show the completion list.
Is there a way to have a fuzzy search? Now you have to type the all letters of a function. This is annoying when al lot of functions have the same (long) prefix.
Example function names:
prefix_more_name_1
prefix_more_name_2
prefix_more_name_3
It should be nice when you type pr3 you get prefix_more_name_3. No you have to type "prefix_more_name" completely...
== feek
What is the newest macOS version that will run (or “support") TextMate 1.5[.11 (1635)]?
(Reason to ask: I never bothered to update my customized LaTeX bundle to TextMate 2, shame on me!)
Is there a version of TM2 that runs on macOS 10.11.6? I have an older computer and that is the newest OS supported by Apple. I don’t yet feel like buying a new computer just run a particular program.
Jerry
[OT minirant]
My late 2008 MacBook Pro has the following features missing on recent models:
* Keys that move when you strike them.
* Keys that never, ever, jam or stick or fail to record a strike.
* Replaceable RAM. I have doubled my RAM twice. It’s super easy.
* Replaceable battery. I have replaced it twice. It’s super easy.
* Replaceable hard drive. I replaced the original with a SSD. It’s super easy.
* An ExpressCard 32 slot by which I do nightly backups to cycled micro SD cards.
* Wired ethernet; WiFi is considerably slower, as my ISP explained in a lengthy note.
* Audio in. I use it nearly daily.
* MagSafe power connector.
* Theft prevention attachment slot.
* DVD drive. (OK, I’ll grant that one might be obsolete but I still rip CDs.)
Is there a way to have a file type automatically use a different theme that is not the default one?
If I create a language bundle and include a theme, is there a setting to make the language files default to the theme included with the bundle?
Thanks,
John DeSoi, Ph.D.
Hi,
Because I can't keep my hands off utilities and am on a constant quest to understand development processes, I attempted to clone the latest git
repository and build TextMate. It seems that everything goes well until I reach the part where I build the actual executable, and get the following
errors:
[1/1] Generate ‘build.ninja’…
[159/923] Compile xib ‘Frameworks/OakAppKit/resources/English.lproj/CustomizeEncodings.xib’…
FAILED: /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/English.lproj/CustomizeEncodings.nib
xcrun ibtool --errors --warnings --notices --output-format human-readable-text --minimum-deployment-target 10.12 --compile
/Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/English.lproj/CustomizeEncodings.nib
Frameworks/OakAppKit/resources/English.lproj/CustomizeEncodings.xib
xcrun: error: unable to find utility "ibtool", not a developer tool or in PATH
[161/923] Compile xib ‘'Frameworks/OakAppKit/resources/English.lproj/Pasteboard Selector.xib'’…
FAILED: /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/English.lproj/Pasteboard Selector.nib
xcrun ibtool --errors --warnings --notices --output-format human-readable-text --minimum-deployment-target 10.12 --compile
'/Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/English.lproj/Pasteboard Selector.nib'
'Frameworks/OakAppKit/resources/English.lproj/Pasteboard Selector.xib'
xcrun: error: unable to find utility "ibtool", not a developer tool or in PATH
[162/923] Compile xcassets ‘Frameworks/OakAppKit/resources/OakAppKit.xcassets’…
FAILED: /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/Assets.car
xcrun actool --errors --warnings --notices --output-format human-readable-text --platform macosx --minimum-deployment-target 10.12 --compile
"$(dirname /Users/Greg/build/TextMate/Frameworks/OakAppKit/resources/Assets.car)" Frameworks/OakAppKit/resources/OakAppKit.xcassets
xcrun: error: unable to find utility "actool", not a developer tool or in PATH
ibtool and actool exist in /usr/bin and also a link to /usr/local/bin, both of which are in my shell path. I enter 'which ibtool' from the shell and
it can find the tool. Is there another path needed for the build which I don't have set? Generally Homebrew builds compile and run OK on my system...
--
| Greg Dunn | this is slowly taking me apart. |
| gregdunn(a)indy.net | grey would be the color if i |
| The Sultan of Slack(tm) | had a heart. |
| http://www.indy.net/~gregdunn/ | Trent Reznor |
I am using AS3 Bundle.
There is a difference between how the indentation rules work with TM1.5 and TM2.0.
In TM2.0 a new indent is applied each time I type a carriage return - where there was no ending ‘;'
In TM1.5 is lined up with the previous line - even where there was no ending ‘;’
The new behaviour (TM2) is quite annoying and really slows down my work, as I do not use the optional ‘;’ in as3.
I have checked the AS3 bundle rules on TM1.5 and TM 2.0 and they are the same.
Why is it different, or rather how can I fix it, please?
These are the rules. They are the same, just in a different order – and I have swapped order to see if it makes any difference. it does not.
//IN TM1.5
{
decreaseIndentPattern = '^(.*\*/)?\s*\}([^}{"'']*\{)?[;\s]*(//.*|/\*.*\*/\s*)?$|^\s*(public|final|dynamic|internal):\s*$';
increaseIndentPattern = '^.*\{[^}"'']*$|^\s*(public|final|dynamic|internal):\s*$';
indentNextLinePattern = '^(?!(.*[};:])?\s*(//|/\*.*\*/\s*$)).*[^\s;:{}]\s*$';
}
//in TM2
{ increaseIndentPattern = '^.*\{[^}"'']*$|^\s*(public|final|dynamic|internal):\s*$';
decreaseIndentPattern = '^(.*\*/)?\s*\}([^}{"'']*\{)?[;\s]*(//.*|/\*.*\*/\s*)?$|^\s*(public|final|dynamic|internal):\s*$';
indentNextLinePattern = '^(?!(.*[};:])?\s*(//|/\*.*\*/\s*$)).*[^\s;:{}]\s*$';
}
Hello
I’ve noticed a strange bug in Textmate when using an artist's Wacom Tablet.
Sometimes if I quickly click on a tab to select it, and the stylus moves slightly (as if the tab is only dragged a few pixels), the tab clicked becomes light in color and gets stuck. All tabs in the window become non-functional at that point, no text can be selected, other windows can be brought to the front but they are also frozen short of being draggable.
Quitting the app and restarting fixes it.
It's an easily reproducible problem if you have a tablet to test with.
Just felt I should point it out so maybe you guys can fix it.
Thanks
How do you get the Finder preview to show the syntax colored code as seen in TextMate? This seemed to work automagically for an older bundle I created. I'm working a new bundle and the Finder only shows the generic document icon.
Thanks,
John DeSoi, Ph.D.
Say what?
Your comment makes little sense. I can guess but if it’s important spell it out. Maybe this is some Ruby/TextMate/internet code I don’t know. But if I don’t others don't
> On Jun 4, 2020, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> Date: Wed, 3 Jun 2020 13:18:28 -0400
> From: Ronald Wampler <rdwampler(a)gmail.com <mailto:rdwampler@gmail.com>>
> To: TextMate users <textmate(a)lists.macromates.com <mailto:textmate@lists.macromates.com>>
> Subject: [TxMt] Re: Large file does not properly paint text when
> scrolling in v2.0 on MacOS Catalina
> Message-ID:
> <CAL3wmMO8TgYAK8A0puvoNSTw0Z9gocF8Y61n1u2c_3gSV_AupQ(a)mail.gmail.com <mailto:CAL3wmMO8TgYAK8A0puvoNSTw0Z9gocF8Y61n1u2c_3gSV_AupQ@mail.gmail.com>>
> Content-Type: text/plain; charset="UTF-8"
>
> Oops. s/has/hasn't.
>
> On Wed, Jun 3, 2020 at 1:17 PM Ronald Wampler <rdwampler(a)gmail.com <mailto:rdwampler@gmail.com>> wrote:
>>
>> Same here. The issue has appeared since with the 10.15.5 update.
>>
>> -Ron
>>
>> On Sun, May 31, 2020 at 8:43 AM mocenigo <roberto.avanzi(a)gmail.com <mailto:roberto.avanzi@gmail.com>> wrote:
>>>
>>> Is it me or has this bug disappeared under 10.15.5? So far not able to
>>> reproduce. Fingers crossed.
>>>
>>>
>>>
>>> --
>>> Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html <http://textmate.1073791.n5.nabble.com/textmate-users-f3.html>
>>>
>>> _______________________________________________
>>> TextMate mailing list
>>> TextMate(a)lists.macromates.com <mailto:TextMate@lists.macromates.com>
>>> https://lists.macromates.com/listinfo/textmate <https://lists.macromates.com/listinfo/textmate>
I created an issue for this in github.com/textmate/bugs (https://github.com/textmate/bugs/issues/33), but perhaps that issue tracker isn’t monitored any longer.
After upgrading to MacOS 10.15 (Catalina), scrolling through a large file (>6000 lines) often does not properly paint the text. This can be temporarily corrected by dragging a selection over the missing text.
• OS version: MacOS 10.15 (Catalina)
• Textmate version: 2019-09-15 (v2.0)
• Affected file: https://github.com/w3c/json-ld-api/blob/master/index.html.
• File language: HTML
Most recently, I noticed this when moving to line 3500 in the referenced file and scrolling downwards.
Gregg Kellogg
gregg(a)greggkellogg.net
I am seeing the same thing in the Finder on Catalina. My output is the same:
🦊 qlmanage -m plugins | grep TextMate
public.source-code -> /Applications/TextMate.app/Contents/Library/QuickLook/TextMateQL.qlgenerator (1.0)
public.text -> /Applications/TextMate.app/Contents/Library/QuickLook/TextMateQL.qlgenerator (1.0)
Off topic (apologies in advance if I am stating the obvious):
When a message is being composed as rich text (depends on your email client settings; but I believe the default is to reply in the same format is as them message that was received); with a simple copy and paste (⌘ + V) the OS carries the style information and pastes the contents using that formatting. This is what you are seeing. If you don’t want the formatting to happen you paste the content using the “Paste and Match Style” option in the Edit menu (⌥ + ⇧ +⌘ + V).
Best,
Farhan
> On May 31, 2020, at 8:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> From: "Marc Wilson" <posguy99(a)gmail.com <mailto:posguy99@gmail.com>>
> Subject: [TxMt] Re: TM's QuickLook plugin
> Date: May 30, 2020 at 12:18:26 PM EDT
> To: "TextMate Mailing List" <textmate(a)lists.macromates.com <mailto:textmate@lists.macromates.com>>
> Reply-To: TextMate users <textmate(a)lists.macromates.com <mailto:textmate@lists.macromates.com>>
>
>
> No, just Finder here. Well, Finder and Forklift, but Forklift is not replacing anything, it’s just the OFM I use.
>
> I’ve been poking around and TM’s QL generator on Catalina is not being registered for the same filetypes that it is on Mojave. I’ve collected a bunch of resources and am trying to make time to see if I can do some investigation.
>
> Can I ask you, what filetypes does your Catalina install have registered to the TM plugin?
>
> [ 9:16 AM][ttys000][/Users/mwilson]
> mbp13 $ qlmanage -m plugins | grep TextMate
> public.source-code -> /Applications/TextMate.app/Contents/Library/QuickLook/TextMateQL.qlgenerator <http://textmate.app/Contents/Library/QuickLook/TextMateQL.qlgenerator> (1.0)
> public.text -> /Applications/TextMate.app/Contents/Library/QuickLook/TextMateQL.qlgenerator <http://textmate.app/Contents/Library/QuickLook/TextMateQL.qlgenerator> (1.0)
> [ 9:16 AM][ttys000][/Users/mwilson]
>
> (unrelated side comment… wow, that was weird… I didn’t expect a c-n-p from Terminal into my email client to bring the Terminal theme with it)
>
> --
> Marc Wilson
> posguy99(a)gmail.com <mailto:posguy99@gmail.com>
Am I missing something? On my old laptop, running Mojave, on which I've been upgrading TM forever, I QL any file TM recognizes and the OS uses TM's parser, I get my theme, etc.
On my shiny new Catalina laptop, I get what I think is the built-in basic text QL plugin, no TM.
It's been a while, I admit... is there something somewhere that has to be turned on?
--
Marc Wilson
posguy99(a)gmail.com
Nice to see Touch Bar improvements: Thank you!
Be nice if the "open recent project" touch bar button _closed_ this window if touched while window is already open.
Can touch bar icons respond to which window is frontmost?
If so, it would be helpful when the Find window is frontmost, to have
1. A touch icon for the "regex" check box (what is the short cut for that?)
2. Tie the “<" and “>" touch icons to window "previous" and "next" buttons.
Having a touch icon to select surrounding braces {} for selecting surrounding braces would be useful.
Having touch icons for "the Ts" would be helpful:
1. a touch bar icon ("fun”?) for cmd-cntr-T ("Select bundle item")
2. a touch bar icon "TODO" for cntrl-shift-T (TODO list)
3. a touch bar icon "symbol" for cmd-shift-T (symbol jump)
Best, tim
> On 18 Aug 2019, at 16:49, Ronald Wampler <rdwampler(a)gmail.com> wrote:
>
> On Sat, Aug 17, 2019 at 6:14 PM Curt Sellmer <sellmerfud(a)gmail.com> wrote:
>>
>> I have been playing with the touchbar support in texmate and have noticed the following.
>>
>> If I set bookmarks in my document the touchbar buttons with up/down chevrons will correctly take me to the previous or next bookmark respectively.
>>
>> However, if I make a change to the document and save it. I now get a change marker showing that it is different than what is in the git repository. That is to be expected.
>>
>> But now the up/down buttons on the touchbar stop at all of the git markers as well as the bookmarks. Is this by design?
>
> Yeah, I wanted to make it easier to navigate other marks (not necessary
> the git markers) without adding yet another up/down arrows button in the Touch
> Bar. But, I agree it probably should have been just to navigate the bookmarks.
> I'll submit a PR to change the behavior.
>
>> It makes jumping back and forth between a couple of bookmarks painful if there are a lot of edits in the file.
>>
>> I can still hold down the fn button and use F2/Shift F2 to achieve this, but that sort of defeats the purpose of having the nifty touch bar buttons.
>>
>>
>>
>> _______________________________________________
>> TextMate mailing list
>> TextMate(a)lists.macromates.com
>> https://lists.macromates.com/listinfo/textmate
>
> _______________________________________________
> TextMate mailing list
> TextMate(a)lists.macromates.com
> https://lists.macromates.com/listinfo/textmate
So, this is odd. Notice the white when the cursor flashes, the change in
background when text is added, and the other stuff.
https://skurfer.com/files/TextMate_Custom_Theme.mov
I thought it was an issue with light themes since it wasn’t happening
with most files. (My default theme for most things is dark, but Markdown
files use a light background and my default for new documents is
Markdown.) Anyway, it appears to be theme-specific. I tried another
light theme as my default for Markdown and didn’t see these problems.
The (unfinished) theme I’m using in the video is attached. Maybe
there’s something wrong with the theme, but I’ve been using it for
years. (Yes, and it’s still unfinished.)
Thanks.
--
Rob McBroom
Hi:
When I use Mac’s recent TextMate version (2.0.6) to edit my latex file (a .tex file), TextMate rolls the screen up randomly away from the cursor so that the screen will not stay in one place. Do you know there is any way to fix this annoying problem? Older versions of TextMate did not have such a problem.
Thanks,
Tao
Hi,
After updating form 2.0.13 to 2.0.14, I cannot use the keyboard, TouchBar icons appear as white boxes, and menu shortcuts are not rendered. After downloading TextMate from GitHub and reinstalling 2.0.14 a couple of times, TextMate started working again. Today, I updated from 2.0.14 to 2.0.15 and same problem again. But this time I have been unable to solve it by reinstalling 2.0.15 using the GitHub download. I'm on 10.14.6 with a MacBook Pro with a Portuguese keyboard.
Suggestion on how to get back to a working installation with 2.0.15 appreciated. Downgrading to 2.0.12 also doesn't work: TextMate crashes on startup.
Cheers,
Paulo
-----------------------------------------------------------------
Paulo Moura
Logtalk developer
I’m really enjoying all of the improvements to the Find dialog, but I
noticed the ‘g’ in Ignore Case is being cut off.

This is a minor thing, but I thought I should mention it since it
continues to be there despite several recent updates.
Thanks!
--
Rob McBroom