Skript

Skript

788k Downloads

Allow for multi-line function inputs

lostsucks opened this issue · 1 comments

commented

Suggestion

As of recently, I have been writing a lot of longer lines in my scripts. I have been able to ignore this issue by using variables, or using Word Wrap on VSCode. Although I think multi-line inputs for functions would be cool.

Such as how it is done in java for a Matrix4f w/ 4 different lines for the values, I think it would be a nice addition to add this into base skript.

An Example:

set {_transformation} to transformation(
    vector(0, 0, 0),
    vector(1, 1.5, 1),
    axisAngle(45, vector(2, 2, 2)),
    quaternion(1, 1, 1, 1)
)

Why?

I believe this feature will be majorly helpful to keep my code nice and readable. It will also satisfy my need for being able to easily read those functions.

I know you can workaround it by just setting variables, but that's boring!

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.
commented

you might like SkCheese