• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

P3D v5 p3d specific XML syntax check in notepad++..?

Messages
9
Country
hungary
Hi Guys. hope im asking at the right place. so my general question, did anybody do a wordlist or [user defined language] for notepad++ so it would light up the all types of Variables and maybe other important syntax elements for a specific P3D version?
is this possible anyway?
or is it unecessary because theres a better tool? if yes, which one is it?
i looked at the SDKv5, cant seem to find it.
"ace.exe" is an obvious joke by 2023 standards.

thx :)
 

Lagaffe

Resource contributor
Messages
865
Country
france
Use Notepad++ with the XML plugin.
For syntax's problems (inverted polish notation) use Intfix2Postfix.exe which is in FSX's SDK
 
Messages
9
Country
hungary
thx but you misunderstood. of course i use the xml plugin. im talking about the fs/p3d specific stuff. like
Code:
A:AUTOPILOT AVAILABLE
A:AUTOPILOT MASTER
A:AUTOPILOT NAV SELECTED
A:AUTOPILOT WING LEVELER
and so on.

you brought up another problem, Intfix2Postfix.exe does not work on lot of occasions
it requires the variables to be in parentheses when you want to reverse it.
you could use notepad++ for this, to put the parentheses by automation had it known the variables
also,
Intfix2Postfix.exe is a joke by 2023 standards, you cannot even resize the window wtf o_Oo_O

btw, for example in this example it would be very helpful to separate the different variable types with diff color
 

Attachments

  • 2023-01-07 203322.jpg
    2023-01-07 203322.jpg
    302.1 KB · Views: 43
Last edited:
Messages
8
Country
indonesia
It is possible to create a user-defined language for Notepad++ to highlight different types of variables and other syntax elements for a specific P3D version. You can find instructions on how to create a user-defined language on the Notepad++ website. Additionally, you can find instructions on how to create a user-defined language for P3D on the Prepar3D website. There are also other tools available that may be better suited for this purpose, such as Visual Studio Code or Sublime Text.
 
Top