Skip to content

feat: enable line numbers and improve gutter alignment in script editor#1665

Open
Manar-Elhabbal7 wants to merge 1 commit intofoss42:mainfrom
Manar-Elhabbal7:enhance-editor-code.dart
Open

feat: enable line numbers and improve gutter alignment in script editor#1665
Manar-Elhabbal7 wants to merge 1 commit intofoss42:mainfrom
Manar-Elhabbal7:enhance-editor-code.dart

Conversation

@Manar-Elhabbal7
Copy link
Copy Markdown
Contributor

PR Description

This PR resolves the TODO in lib/widgets/editor_code.dart regarding the incorrect sizing and visibility
of line numbers in the code editor. It enhances the developer experience when writing Pre-request and
Post-response scripts by providing a functional, IDE-like editing environment.

before my PR changes

Screenshot from 2026-04-20 17-19-38

after my PR changes

Screenshot from 2026-04-20 17-17-41

Related Issues

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

  • Yes ( i test it manually)
  • No, and this is why: please replace this line with details on why tests have not been included

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant