Open alek13 opened 3 months ago
vscode emmylua supports multiple inheritance
You can also use vscodeemmylua's language server directly in intellij by installing LSP4IJ. VSCode-EmmyLua supports many advanced features and its performance far exceeds IntelliJ-EmmyLua. I will try to make IntelliJ-EmmyLua use the analysis backend of VSCode-EmmyLua.
@CppCXY , thanx for suggestion. Is there any chance, that it will be added to this plugin ?
maybe you can try my plugin: https://plugins.jetbrains.com/plugin/25076-emmylua2/edit/versions/stable/584455
Lua is very flexible and allows you to do anything.
Sometimes we need something like multiple inheritance or rather mixins. When several functionality is mixed into the resulting class/table when “designing” the class programmatically.
Example
For example, something like: We have some base "mixer", that can mix different mixins to itself
Then we have some Factory for “designing” the new class programmatically:
And we have several mixins for different purposes:
and so on....
So, then we can "construct"/design our own class like this:
Feature request
So.... It would be very useful, if we could specify from which mixins the class consists of. For example like this:
or just like multiple inheritance:
Related issues
11
247
402