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

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
vico
Prole
Posts: 18
Joined: Mon Nov 13, 2017 9:43 pm

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

Post 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.
User avatar
zalander
Prole
Posts: 6
Joined: Mon Jan 09, 2023 5:58 am

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

Post by zalander »

I think you should use vs code instead of notepad++
(Just a suggestion)
User avatar
GVovkiv
Party member
Posts: 488
Joined: Fri Jan 15, 2021 7:29 am
Contact:

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

Post 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
RNavega
Party member
Posts: 116
Joined: Sun Aug 16, 2020 1:28 pm

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

Post 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
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 44 guests