You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all: thank you for this great functionality for Notepad++! I use it a lot.
In setting up the functionlist and user-defined language in the latest version of Notepad++ (v.8.1.5) on a new computer (so not by updating NP++) I came across some problems related to the newer version of NP++. I managed to solve these (not sure if this is the best method) and I thought it would be good to report back here.
In NP++ 8..1.5 (starting in some earlier version?) there are some changes:
Use defined languages are contained within seperate xml's in the folder userDefineLangs in %appdata%/notepad++ and no longer in a single file called userDefineLangs. I gues it makes sense to only place the EnergyPlus-JM language there and no longer use the full userDefineLangs.xml file with all the default languages in there as well.
The newer versions also use a folder 'functionList' with seperate functions for each language in addition to a file 'overrideMap.xml' that describes the mapping of the function to related language. I therefore did the following:
Removed the <associationMap> and <parsers> section from your function list file and saved this as EnergyPlus-JM.xml in the functionlist directory.
In the overrideMap.xml I added the association: <association id= "EnergyPlus-JM.xml" userDefinedLangName="EnergyPlus-JM"/>
This might be specific to my installation: I couldn't find any functionlist.xml or functionlist folder in %appdata%/notepad++. I did find it in the executable dir C:\Program Files\Notepad++\functionList'. I made the changes mentioned in the previous point there.
Hi Samuel, I don't use notepad++ anymore (I don't use Windows period, unless I have to), so this repo is basically unmaintained.
I'd welcome a pull request though, and would take a few minutes to test it out. It's hacktoberfest this month, so that'd be a nice period to do a contribution :)
Hi Julien,
First of all: thank you for this great functionality for Notepad++! I use it a lot.
In setting up the functionlist and user-defined language in the latest version of Notepad++ (v.8.1.5) on a new computer (so not by updating NP++) I came across some problems related to the newer version of NP++. I managed to solve these (not sure if this is the best method) and I thought it would be good to report back here.
In NP++ 8..1.5 (starting in some earlier version?) there are some changes:
Use defined languages are contained within seperate xml's in the folder
userDefineLangs
in%appdata%/notepad++
and no longer in a single file called userDefineLangs. I gues it makes sense to only place the EnergyPlus-JM language there and no longer use the full userDefineLangs.xml file with all the default languages in there as well.The newer versions also use a folder 'functionList' with seperate functions for each language in addition to a file 'overrideMap.xml' that describes the mapping of the function to related language. I therefore did the following:
Removed the
<associationMap>
and<parsers>
section from your function list file and saved this as EnergyPlus-JM.xml in the functionlist directory.In the overrideMap.xml I added the association:
<association id= "EnergyPlus-JM.xml" userDefinedLangName="EnergyPlus-JM"/>
This might be specific to my installation: I couldn't find any functionlist.xml or functionlist folder in %appdata%/notepad++. I did find it in the executable dir
C:\Program Files\Notepad++\functionList'
. I made the changes mentioned in the previous point there.I attached my functionlist and overridemap below.
Gr,
Samuel
fixedFuncList.zip
The text was updated successfully, but these errors were encountered: