xnedit icon indicating copy to clipboard operation
xnedit copied to clipboard

Dockerfile syntax highlighting support

Open r1w1s1 opened this issue 10 months ago • 2 comments

Will be good to have a Dockerfile system highlighting, I used a lot during my daily work.

Cheers, r1w1s1

r1w1s1 avatar Feb 02 '25 02:02 r1w1s1

Good idea, I will look into this.

unixwork avatar Feb 02 '25 10:02 unixwork

Also with some kind of map view of the file Will be awesome

yannnnnnnnnnnnnnnn avatar Feb 12 '25 12:02 yannnnnnnnnnnnnnnn

I've added a dockerfile language mode to xnedit. It would be nice if anyone could review it.

unixwork avatar Mar 25 '25 11:03 unixwork

Yes, it's working! I compiled from the master branch and confirmed the Dockerfile support. When can we expect this feature to be available in a release?

here is :) https://0x0.st/8jkp.png

r1w1s1 avatar Mar 26 '25 04:03 r1w1s1

Nice. I actually can see a small bug in the screenshot. I wanted to highlight the first word after RUN, but not the \ character.

I'm not sure when I will make the next release, but it will take some month. In theory it is possible to use the dockerfile language mode with older releases, you just need to add the config to the nedit.rc file.

unixwork avatar Mar 26 '25 15:03 unixwork