Syntax WML

The place to post your WML questions and answers.

Moderators: Forum Moderators, Developers

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
bernado_pampa
Posts: 6
Joined: December 12th, 2017, 1:41 pm

Syntax WML

Post by bernado_pampa » December 14th, 2017, 9:14 pm

Hello,

What editor do you use for the files cfg?

I'm using Sublime Text, but no have syntax WML.

I see the topic viewtopic.php?f=21&t=13799, but not work Gedit.

I'm use Linux.

Does anyone have any ideas?
Or eventually, does anyone have any idea how to create a syntax?

User avatar
beetlenaut
Developer
Posts: 2255
Joined: December 8th, 2007, 3:21 am
Location: Washington State
Contact:

Re: Syntax WML

Post by beetlenaut » December 17th, 2017, 12:17 am

I use Kate. WML syntax highlighting is included in Kate and KWrite. (However, WML doesn't work unless you disable highlighting for Quake Script, because Quake Script files also use "cfg".)
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide

User avatar
Bitron
Moderator
Posts: 441
Joined: October 19th, 2015, 9:23 am
Location: Germany

Re: Syntax WML

Post by Bitron » December 18th, 2017, 12:12 pm

I use Visual Studio Code for coding WML. There is also an addon for WML support here. :)

Shiki
Developer
Posts: 232
Joined: July 13th, 2015, 9:53 pm
Location: Germany

Re: Syntax WML

Post by Shiki » December 18th, 2017, 12:48 pm

I use gedit, I think with the one form the second post in the above linked thread.
There's also another one, see the fourth post.
The one in the first post is way outdated, for gedit 1.x.

Sytnax highlighting for sublime text or atom editor would be great, but I think nobody created it yet.
I'm not sure, but VS code as editor may be similar to them.
Maintainer of Era of Myths.
Introduction to WML filtering and WML variables.

Post Reply