EmmyLua / IntelliJ-EmmyLua

Lua IDE/Debugger Plugin for IntelliJ IDEA
https://emmylua.github.io
Apache License 2.0
1.73k stars 290 forks source link

(Question) Cant figure out how customize plugin #464

Closed Yum1x closed 2 years ago

Yum1x commented 2 years ago

I'm trying extend the EmmyLua Plugin functionalities, Lua 5.4 has a 'Power Patch' that becomes with Compound Operators and others many(small) features.

I'm trying do it by myself, as a new and inexperienced developer, i'm getting stucked at something that I cant figure out.

I want use '+=' and '-=' without catch an exception. After editing some files, I cant make it work. Could someone do a review and tell what i'm doing wrong? There is what I did: https://github.com/Yum1x/IntelliJ-EmmyLua/commit/be6455d0e17617255e8d5d3f1fb6c1e4084f553c

CppCXY commented 2 years ago

’+=‘ should be assign operator,so assignStat of lua.bnf should be modified. if implement this feature,formatting also requires relative modifications。