Skip to content

[Enhancement] : Enable line numbers and fix gutter alignment in Script Editor #1664

@Manar-Elhabbal7

Description

@Manar-Elhabbal7

Currently, the CodeEditor widget used for Pre-request and Post-response scripts does not display line
numbers. The gutter width is forced to 0, and showLineNumbers is set to false. This makes it difficult
for users to debug or reference specific lines

This change enables line numbers, fixes the gutter alignment, and ensures the styling matches the rest of
the API Dash design system.

This is the Scripts tab should be after the enhancement

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions