Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for color of the auto import area #24

Open
movahhedi opened this issue May 20, 2024 · 0 comments
Open

Add support for color of the auto import area #24

movahhedi opened this issue May 20, 2024 · 0 comments

Comments

@movahhedi
Copy link

movahhedi commented May 20, 2024

VSCode treats the imports above files (especially JS/TS) files as a special area (It adds a collapse button next to the first import). I'd like my import areas to have a color so I know how much to scroll at a glance.

Adding region comments for the import area of every file isn't quite elegant.

Keep in mind:

  • As long as the statements are top-level, imports can occur every where in a file, even at the end (although I say it's bad practice), but that import area ends just before the first line of non-import code.
  • Imports can have comments between them.

May be useful:

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

No branches or pull requests

1 participant