Editing YAML?
Editing YAML?
So I'm new to Open RA and YAML editing so maybe I dont understand this fully. I'm trying to edit the yaml files in notepad++ but all the text is red when I open them and that cant be normal. What program does everyone else use to edit?
I don't use Windows, but I just googled your question and found a possible answer
at http://stackoverflow.com/questions/2235 ... dows-usersThis is default behavior for Notepad++. You can add .yaml extension via Settings>Style Configurator>YAML>User ext.; add ".yaml" there.
Unfortunately that posting doesent really help. I had already switched the tab to space like it said and nothing. Could it be because the files are .yaml and not. Yml? I did add .yaml recognition in notepad++ though. Can someone just tell me step by step what theu do to open and edit yaml? This sbouldent be that difficult.
Switching tab to space will break OpenRA as Chrisf already told you. It seems that the original YAML specification uses spaces, OpenRA uses tabs so Notepad++ thinks it is invalid YAML which it is not (for OpenRA). Have a look at http://sourceforge.net/apps/mediawiki/n ... tion_Files to customize your syntax highlighting.
I use http://kate-editor.org/ which works great after I configured it to use real tabs instead of multiple spaces for YAML files when I press TAB.
I use http://kate-editor.org/ which works great after I configured it to use real tabs instead of multiple spaces for YAML files when I press TAB.
wiki
Some info here, slighly outdated: https://github.com/OpenRA/OpenRA/wiki/Mapping
Also come to IRC for more help...
Download other maps from resources/forum to learn more...
Also come to IRC for more help...
Download other maps from resources/forum to learn more...