eclipse plugin: Update the dev manual to include information...
...regarding generating the WML Grammar
This commit is contained in:
parent
6ecc25e078
commit
d856f7e061
1 changed files with 6 additions and 0 deletions
|
@ -140,6 +140,12 @@ The plugin can be built as a zip archive (usually) for different operating syste
|
|||
\end{enumerate}
|
||||
\end{enumerate}
|
||||
|
||||
\section{Generating the WML Grammar}
|
||||
The WML Editor uses the Xtext (\href{http://www.eclipse.org/Xtext/}{http://www.eclipse.org/Xtext/}) framework for getting the functionality an editor should have. The editor is based on the WML grammar defined in the ``org.wesnoth/src/org.wesnoth/WML.xtext" file.
|
||||
The file is written in some EBNF variant (\href{http://www.eclipse.org/Xtext/documentation/2\_0\_0/020-grammar-language.php}{http://www.eclipse.org/Xtext/documentation/2\_0\_0/020-grammar-language.php} )
|
||||
|
||||
To (re-)generate the wml grammar that supports the WML Editor, right click the ``org.wesnoth/src/org.wesnoth/GenerateWML.mwe2", and select ``Run as" and after that ``MWE2 Workflow". If this is your first time running the MWE2 Workflow, you'll be prompted to download the ANTLR generator jar file. Press (y) and that will continue.
|
||||
|
||||
\section{Frequently Asked Questions}
|
||||
\subsection{Where can I submit any bugs found?}
|
||||
Go over to Wesnoth's bug tracker: \href{https://gna.org/bugs/?func=additem&group=wesnoth&bug_group_id=116}{Add new bug}. Please be as specific as possible. Also, if you have any logs, please attach them.
|
||||
|
|
Loading…
Add table
Reference in a new issue