Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-05-22 18:50:35

marios2
Member
From: Germany
Registered: 2019-07-31
Posts: 76

What Texteditor do you use for TXP-Tags?

Dear People,

What kind of Texteditor do you use to work with TXP tags?

Useful features are:
*Syntax highlighting
*Snippets
*macros
*Commands etc…

I am currently using Textmate, unfortunately the commands from my Bundle are broken in Textmate2.

What are you using?

Regards.Marios

Offline

#2 2020-05-23 00:29:16

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,189
Website

Re: What Texteditor do you use for TXP-Tags?

BBEdit.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#3 2020-05-23 04:29:16

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: What Texteditor do you use for TXP-Tags?

I got used to txp’s interface, but I launch BBEdit for special occasions.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2020-05-23 06:19:08

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,259
GitHub

Re: What Texteditor do you use for TXP-Tags?

Atom, until I find something better. I used to use Coda, but rarely do these days. Phil made a Coda add-on for Textpattern (or, Textpattern add-on for Coda), but it’s not up-to-date: github.com/philwareham/Textpattern-for-Panic-Coda

Offline

#5 2020-05-23 08:29:42

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: What Texteditor do you use for TXP-Tags?

I use Atom too – also until I find something better. It has lots of handy helpers for cleaning up spaces, tabs, tidying code indenting, and masses more but after a while my (admittedly ancient) machine slows down considerably.

If you work on files with .txp templates, you can choose Atom menu _(on the mac) › Config…_ and then add – or extend – this snippet to use the XML syntax highlighter for .txp files:

core:
    customFileTypes:
      "text.xml": [
        "txp"
      ]

While it doesn’t offer code completion for Textpattern tags, the highlighting and tag matching is fairly good.

I used to love Espresso on the Mac but it’s passed through several changes of ownership and support has been on and off for a while. I hear good things about Microsoft Visual Studio. Anyone have experience of that.


TXP Builders – finely-crafted code, design and txp

Offline

#6 2020-05-23 10:27:52

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,259
GitHub

Re: What Texteditor do you use for TXP-Tags?

jakob wrote #323184:

I used to love Espresso on the Mac but it’s passed through several changes of ownership and support has been on and off for a while. I hear good things about Microsoft Visual Studio. Anyone have experience of that.

I’ve used it a little bit, but I keep coming back to Atom, probably due to muscle memory, and even with Atom’s glacial release schedule compared to before the GitHub–Microsoft acquisition went through.

I’ve also tried Adobe Brackets, but felt my PTSD bubbling up whenever I intentionally opened an Adobe app.

Some dev folks rag on Atom for its reliance on Electron (i.e. memory usage, overall footprint) but I really like how Atom works, and the ecosystem of add-ons. That said, I have zero brand loyalty or dependence on it, and when something better comes along, I’m all for switching. That sounded far less entitled in my head.

Offline

#7 2020-05-23 17:12:53

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,091
Website Mastodon

Re: What Texteditor do you use for TXP-Tags?

I still use Coda with my ee flat files.


…. texted postive

Offline

#8 2020-05-23 17:55:40

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: What Texteditor do you use for TXP-Tags?

colak wrote #323181:

I got used to txp’s interface, but I launch BBEdit for special occasions.

Maybe I should define that there are 2 kinds of special occasions.

  1. to straighten quotes from texts in .doc files
  2. using the colour syntax in order to visually locate bugs on much of my faulty tag usage.

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#9 2020-05-24 06:02:37

demoncleaner
Plugin Author
From: Germany
Registered: 2008-06-29
Posts: 220
Website

Re: What Texteditor do you use for TXP-Tags?

I use sublime text 3 and I am super happy with it. I guess other editors would bring similar advantages but I just love my emmet shortcuts:

bd+tab = <txp:body/>
ex+tab = <txp:excerpt/>
custom+tab = <txp:article_custom section='<txp:section/>'/>

or even

image+tab = <txp:images id='<txp:custom_field name="article_image" />'><img src="<txp:image_url />" alt="<txp:image_alt />" class="img-fluid"></txp:images>

;-)

That gives me a super fast workflow.

Last edited by demoncleaner (2020-05-24 06:02:59)

Offline

#10 2020-05-26 08:23:27

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: What Texteditor do you use for TXP-Tags?

Panic Coda for me, until their Nova replacement releases. Nova is looking great.

I’ve tried most of the available text editors for Mac. I do use BBEdit when I want to make a quick edit as it’s so fast.

Offline

#11 2020-05-26 08:52:12

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,189
Website

Re: What Texteditor do you use for TXP-Tags?

philwareham wrote #323276:

I’ve tried most of the available text editors for Mac. I do use BBEdit when I want to make a quick edit as it’s so fast.

Oh, I’ve tried most of them as well and always go back to the editor “that still doesn’t suck”™ (aka BBEdit).
I’ll have a look at Nova once it is released. Not holding my breath though… Hopefully they’ve seriously toned down the garrish eye candy UI that makes Transmit so depressing to use.

Sublime Text would still be my second choice, along with SubEthaEdit


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#12 2020-05-26 08:59:02

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: What Texteditor do you use for TXP-Tags?

philwareham wrote #323276:

Panic Coda for me, until their Nova replacement releases. Nova is looking great.

Thanks for the pointer. Not heard of that one.

h6. phiw13 wrote #323278:

I’ll have a look at Nova once it is released. Not holding my breath though… Hopefully they’ve seriously toned down the garrish eye candy UI that makes Transmit so depressing to use.

Hehe, funny you should mention that. Personally I find Transmit less garish than it was, but looking at the screenshots on the link Phil posted, it doesn’t look like you’re in luck 😳. I have Forklift too for FTP, which is much more reduced than Transmit but … if you’re not paying attention and have a lot open you can mistake the window for the Finder which isn’t a problem with Transmit.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB