WML Syntax Highlighting for various editors index - The Battle f
[https://www.wesnoth.org/] Home News Play Create Forums About Search Advanced search The Battle for Wesnoth Forums The official forums for The Battle for Wesnoth. Skip to content Search Advanced search Quick links Unanswered topics Active topics Search FAQ Community Guidelines Login Register Forums Development WML Workshop Search WML Syntax Highlighting for various editors index The place to post your WML questions and answers. Moderator: Forum Moderators 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 Search Advanced search 9 posts • Page 1 of 1 Forum Moderators Team Battle for Wesnoth Location: Wesnoth.org Contact: Contact Forum Moderators Team Website WML Syntax Highlighting for various editors index Quote Post by Forum Moderators Team » November 15th, 2006, 10:07 am Here you can find configuration files to enable WML syntax highlighting for various text editors : Gedit (and other Gnome based editors): Has full WML support and partial inline lua support. wml.lang goes in /usr/share/gtksourceview-3.0/language-specs . cobalt-wml.xml goes in /usr/share/gtksourceview-3.0/styles . screenshots: download: Gedit.zip (2.24 KiB) Downloaded 1198 times Notepad++: viewtopic.php?f=21&t=44392 Visual Studio Code: viewtopic.php?f=21&t=47476 older: Emacs : http://www.wesnoth.org/forum/viewtopic.php?t=13798 Midnight Commander : http://www.wesnoth.org/forum/viewtopic.php?p=280543 GEdit (Gnome editor): http://www.wesnoth.org/forum/viewtopic.php?t=13789 Kate/KWrite (KDE editor): http://www.wesnoth.org/forum/viewtopic.php?t=13781 (currently built-in) Crimson Editor (Windows editor): http://www.wesnoth.org/forum/viewtopic.php?t=17830 Notepad++ (Windows editor): viewtopic.php?f=21&t=44392 TextMate (Mac OS X editor): http://www.wesnoth.org/forum/viewtopic.php?t=20546 Vim : http://forums.wesnoth.org/viewtopic.php?f=21&t=36248 TextWrangler/BBEdit (Mac OS X editor): http://forums.wesnoth.org/viewtopic.php?p=534530 Last edited by Noyga on October 9th, 2007, 5:39 pm, edited 4 times in total. Posting Guidelines • MP Code of Conduct • Discord • IRC info • Reporting bugs Top lipk Posts: 637 Joined: July 18th, 2011, 1:42 pm Re: WML Syntax Highlighting for various editors index Quote Post by lipk » December 30th, 2011, 11:43 am Since the gedit stuff is pretty much outdated and won't work anymore, I made a new one for gtksourceview 3. Extract it into /home/you/.local/share/gtksourceview-3.0/language-specs/, and let me know if something doesn't work. edit: I've already found something broken. I should really test my stuff more carefully before sharing. But it's ok now. Attachments wml.lang.gz (1.38 KiB) Downloaded 1746 times Top FallenPhoenix Posts: 42 Joined: September 30th, 2011, 5:20 pm Location: Russia Contact: Contact FallenPhoenix Website Re: WML Syntax Highlighting for various editors index Quote Post by FallenPhoenix » May 2nd, 2012, 12:37 am Here is my attempt to write syntax file for AkelPad , another good editor for Windows, and my edition of Notepad++ file. Attachments AkelPad - WesnothWML.7z (2.3 KiB) Downloaded 1469 times NotePad++ - WesnothWML.7z (3.54 KiB) Downloaded 1449 times Independent translator. // Sorry for my English :) Моя версия перевода [url=http://forum.wesnothlife.ru/index.php?topic=1141.0]тут[/url]. Top Pentarctagon Project Manager Posts: 5627 Joined: March 22nd, 2009, 10:50 pm Location: Earth (occasionally) Re: WML Syntax Highlighting for various editors index Quote Post by Pentarctagon » November 29th, 2012, 5:47 am I also have a gedit WML syntax highlighter here . 99 little bugs in the code, 99 little bugs take one down, patch it around -2,147,483,648 little bugs in the code Top SigurdFireDragon Developer Posts: 546 Joined: January 12th, 2011, 2:18 am Location: Pennsylvania, USA Re: WML Syntax Highlighting for various editors index Quote Post by SigurdFireDragon » July 28th, 2016, 8:54 pm Here is another Notepad++ syntax highlighter. viewtopic.php?f=21&t=44392 Co-Author of Winds of Fate My Add-ons: Random Campaign , Custom Campaign , Ultimate Random Maps , Era of Legends , Gui Debug Tools Erfworld : The comic that lead me to find Wesnoth. Top Bitron Developer Posts: 453 Joined: October 19th, 2015, 9:23 am Location: Germany Re: WML Syntax Highlighting for various editors index Quote Post by Bitron » November 6th, 2017, 2:10 am I experimented a little with syntax highlightning in Visual Studio Code for WML. It's not perfect, but still helpful, I guess... have fun with it! Here is the Link: WML Syntax Highlighter for VS Code Developer of Project Haldric Add-ons: Millennium Era , Vision of a Shaman , A New Home Art: Bitron's Art Thread Tools: WML Syntax Highlighter for VS Code Top Shiki Developer Posts: 360 Joined: July 13th, 2015, 9:53 pm Location: Germany Re: WML Syntax Highlighting for various editors index Quote Post by Shiki » December 8th, 2019, 8:00 pm I also experimented with syntax highlighting, for Sublime Text 3. There are some corner cases where it doesn't do well, but it's good enough that I use it for half a year now. A screenshot and other information is on the page for Sublime's Add-ons. To install it: 1) Add the "package control" package in Sublime Text. For that, got to Menubar -> Tools -> Install Package Control 2) This can then be accessed from Menubar-> Tools -> Command Pallette; "Package Control: Install Package" is the command, after that, search for WML or Wesnoth. Try out the dark board theme . Top Dyrcona Posts: 15 Joined: December 26th, 2021, 12:59 pm Re: WML Syntax Highlighting for various editors index Quote Post by Dyrcona » January 22nd, 2022, 1:20 pm GNU/Emacs on Linux, at least, handles scenario files as configuration files by default because of the cfg extension. It does a decent job of syntax highlighting out of the box: I have not yet installed the lua module for Emacs. Top Descacharrado Developer Posts: 14 Joined: August 5th, 2018, 12:52 pm Re: WML Syntax Highlighting for various editors index Quote Post by Descacharrado » October 23rd, 2022, 1:56 pm I uploaded my own WML syntax for Sublime Text 3: https://github.com/Descacharrado/SublimeText-WML-Syntax Installation is a bit trickier than Shiki's, but it features highlighting of keywords (mainline units and core tags) so if you type one of those wrong, you'll notice fast. It all started when I speedran wesnoth... Top Post Reply Display: All posts 1 day 7 days 2 weeks 1 month 3 months 6 months 1 year Sort by: Author Post time Subject Direction: Ascending Descending 9 posts • Page 1 of 1 Return to “WML Workshop” Jump to Announcements ↳ News General ↳ Users’ Forum ↳ Tournaments ↳ Release Announcements, Compiling & Installation ↳ Technical Support ↳ iOS Support ↳ Strategies & Tips ↳ Gameplay Feedback ↳ Mainline Campaign Feedback ↳ Tutorial ↳ A Tale of Two Brothers ↳ An Orcish Incursion ↳ The South Guard ↳ Heir to the Throne ↳ Liberty ↳ Legend of Wesmere (single player) ↳ Legend of Wesmere (multiplayer) ↳ Eastern Invasion ↳ The Hammer of Thursagan ↳ Descent into Darkness ↳ Delfador’s Memoirs ↳ Dead Water ↳ Secrets of the Ancients ↳ Sceptre of Fire ↳ Son of the Black Eye ↳ The Rise of Wesnoth ↳ Northern Rebirth ↳ Under the Burning Suns ↳ Winds of Fate ↳ Add-on Feedback ↳ Website Development ↳ Art Contributions ↳ Art Workshop ↳ Writers’ Forum ↳ WML Workshop ↳ Lua Labs ↳ Faction & Era Development ↳ Multiplayer Development ↳ Scenario & Campaign Development ↳ Mainline Campaign Development ↳ UMC Replays ↳ Music & Sound Development ↳ Translations & Internationalization ↳ Translation Stats ↳ Ideas ↳ Coder’s Corner ↳ Developers’ Discussions ↳ Wesnoth Organizational Updates ↳ Art Development Miscellaneous ↳ Game Development ↳ Off-Topic ↳ Forum Games Forums All times are UTC Delete cookies Powered by phpBB ® Forum Software © phpBB Limited Privacy | Terms