How to handle "Dockerfile" files?
Posted: Fri Jul 21, 2023 11:42 am
Hi,
Docker uses a format called "Dockerfile" (for want of a better term). These files are normally named Dockerfile with no extension. I downloaded the Dockerfile syntax definition and made a new document class with Dockerfile in it, but TextPad won't syntax highlight it. If I manually change the syntax highlighting on the currently open document to Dockerfile.syn, it works just fine. I don't have any issues with any of my other syntax definitions. Is there a trick to getting this working or is this a TextPad limitation? I tried both in the "Files in class Dockerfile" listbox.
Docker uses a format called "Dockerfile" (for want of a better term). These files are normally named Dockerfile with no extension. I downloaded the Dockerfile syntax definition and made a new document class with Dockerfile in it, but TextPad won't syntax highlight it. If I manually change the syntax highlighting on the currently open document to Dockerfile.syn, it works just fine. I don't have any issues with any of my other syntax definitions. Is there a trick to getting this working or is this a TextPad limitation? I tried both
Code: Select all
Dockerfile
Dockerfile.*