Page 3 of 3

Re: Notepad++ Auto-Complete Config for LÖVE 0.6.2

Posted: Mon Jan 23, 2023 2:46 pm
by vico
Sorry the necroposting, but someone pointed me to this thread when i ask a similar question.

Really hope someone update the autocompletion files to latest LÖVE versions.

Re: Notepad++ Auto-Complete Config for LÖVE 0.6.2

Posted: Thu Jan 26, 2023 5:53 am
by zalander
I think you should use vs code instead of notepad++
(Just a suggestion)

Re: Notepad++ Auto-Complete Config for LÖVE 0.6.2

Posted: Thu Jan 26, 2023 7:15 am
by GVovkiv
zalander wrote: Thu Jan 26, 2023 5:53 am I think you should use vs code instead of notepad++
(Just a suggestion)
Or give a try to Zerobrane Studio, if still not

Re: Notepad++ Auto-Complete Config for LÖVE 0.6.2

Posted: Sat Jan 28, 2023 2:47 am
by RNavega
vico wrote: Mon Jan 23, 2023 2:46 pm Sorry the necroposting, but someone pointed me to this thread when i ask a similar question.

Really hope someone update the autocompletion files to latest LÖVE versions.
If I were in your position I'd consider this a cool side project to do. You can learn a lot from doing this.

You have the old syntax file for Löve 0.8.0, right, that one from the forum attachment: viewtopic.php?p=55240#p55240
From that file you know what syntax things need to have (as well as from the files for the other languages that come bundled with Notepad++).

So now you need to grab the data with which to rebuild that XML file.
I think the simplest way of doing that is (gently) scraping the Löve wiki. See this for example, it's a navigatable search of Category:Functions, with every single function listed in the wiki (note that the links that end with parentheses are translated pages): https://love2d.org/w/index.php?title=Sp ... =no#search