IntelliJ-EmmyLua
IntelliJ-EmmyLua copied to clipboard
Implemented "Multiple expressions in one line" wrapping setting
This enables the user to configure wether they'd like to every statement to be on a single line or not.
Some examples of where multiple statements on a line could be used in Lua:
local object = createMyObject({
width = 16,
height = 16
}); object:playAnimation()
or
local newString = string.gsub(oldString, "_suffix", ""); print(newString)
Also added the "Chained method calls" settings which can prevent unwanted indentation when chaining method calls
local test = test:test(function()
end) :test()
Will become this when disabled
local test = test:test(function()
end):test()