ANSYS language autocompletion file

  • onduty

    onduty - 2012-12-27

    I write a "apdl.xml" file like this:

    <NotepadPlus> <AutoComplete language="apdl"> <KeyWord name="A"/> <KeyWord name="AADD"/> <KeyWord name="AATT"/> <KeyWord name="ABEXTRACT"/> ...... ...... <KeyWord name="XVAROPT"/> <KeyWord name="/YRANGE"/> <KeyWord name="/ZOOM"/> </AutoComplete> </NotepadPlus>

    put it in D:\Program Files (x86)\Notepad++\plugins\APIs
    But,only some can autocompletion when you write the first words.write "a" or "b" or "t" there is no autocompletion point out...,but another letter can normal use autocompletion.
    I don't konw why...

    Last edit: onduty 2012-12-27
  • onduty

    onduty - 2012-12-27

    apdl.xml like this:

  • onduty

    onduty - 2012-12-27

    I had been use userDefineLang_ANSYS.xml define the apdl language.

  • cchris

    cchris - 2012-12-30

    In the first dozen or so lines, I can see two probems already:
    "ABBR" will confuse the system; you need tto add '' as an additional character
    this said, the file must be sorted alphabetically, taking into account your choice of case sensitivity. Obviously it is not.