Greetings from the South :-)-O,
I occasionally want to pipe JSON (or XML, or other formats) like
csvjson file.csv | mate -
It does display the file but as plain text.
How can I make TextMate2 figure this out by itself? Or from the command line (mate -t JSON - does no do that)? Or where can I read this up?
greetings, el
my hack would be
csvjson file.csv > /tmp/___q.json | mate -m untitled /tmp/___q.json && rm /tmp/___q.json
ergo write to a file with the desired extension first, then open it in TM as ‘untitled’ and finally remove the temporary file.
Option -t for mate doesn’t work either for me.
-Hans
Hi,
I think you need to specify the grammar name [1] after the option `-t`. At least the following command works on my machine:
echo '"Hello JSON"' | mate -t source.json
.
Kind regards, René
Rene,
that works, and even without the (usual) trailing dash.
Than you very much.
el
On 2018-11-07 20:37 , René Schwaiger wrote: [...]
Is there a way to increase the font size ot the Context Menus/PopUps on the bottom line? They are very hard to read.
greetings, el
Allan, Michael,
thank you.
I shall report back after catching the update.
el
Sent from Dr Lisse’s iPad mini 4 On 16 Nov 2018, 07:45 +0200, Allan Odgaard mailinglist@textmate.org, wrote: