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: 35

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: 2,146
Website

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

BBEdit.


Where is that emoji for a solar powered submarine when you need it ?

Offline

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

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,297
Website

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.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

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

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 3,176

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: 3,946
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
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 3,176

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: 1,717
Website

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: 8,297
Website

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.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
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: 106
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,396
Website

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

Board footer

Powered by FluxBB