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
On 7. Nov 2018, at 13:44, Dr Eberhard W Lisse el@lisse.na wrote:
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.
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,
On 07.11.2018, at 19:12 , mail@bibiko.de wrote:
On 7. Nov 2018, at 13:44, Dr Eberhard W Lisse el@lisse.na wrote:
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.
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
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é
On 7. Nov 2018, at 19:37, René Schwaiger sanssecours@me.com wrote:
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
Yes - of course - I’ve totally forgotten - thanks :)
-H
Rene,
that works, and even without the (usual) trailing dash.
Than you very much.
el
On 2018-11-07 20:37 , René Schwaiger wrote: [...]
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é
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
On 15 Nov 2018, at 21:17, Dr Eberhard W Lisse 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.
Not currently, but I have increased the size from 11 to 12 (next build) and made it possible to set `statusBarFontSize` via the `defaults` command if it’s still too small.
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:
On 15 Nov 2018, at 21:17, Dr Eberhard W Lisse 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.
Not currently, but I have increased the size from 11 to 12 (next build) and made it possible to set statusBarFontSize via the defaults command if it’s still too small."