Skip to content

QOL things for SB #380

@levirrd

Description

@levirrd

I have some QOL ideas for SB that could enhance the coding experience for the user, I hope all of you reading this will agree with me.

Some ideas:
-Typing if could automatically expand to a full if ... then ... end block, placing the cursor back at the condition to maintain a smooth workflow.

-Built-in support for automatic indentation and formatting, similar to what’s found in popular IDEs like Visual Studio Code, would be a major productivity boost.

-Pressing Enter after lines like if or else should auto-indent the next line appropriately to maintain consistent formatting.

-Automatic indentation integrated into SB just like it's done for VSC or any other popular IDE-s.

-Currently, changing the color theme requires opening the settings (F10 → Editor) and pressing OK each time to test a theme. It would be much more convenient if themes previewed or applied instantly upon selection.

-Basic linting could help identify common issues (e.g., missing end, unknown opcodes) as the user types, reducing debugging time.
It could even warn users that the specified opcode is only receiving 6 parameters and it's expecting 7

-Allow collapsing code blocks such as if ... end or while ... end to improve navigation, especially in longer scripts.

-Tooltip for opcodes and functions:
-When hovering over built-in functions (e.g., Char.Create), show a tooltip with:
-Parameter list
-Short description
-Direct link to the relevant page on https://library.sannybuilder.com/

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionFurther discussion is requested

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions