You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When I auto-import by completion in Scala Script for Scala CLI, Metals always adds import line top of my file. However, I want to keep Scala CLI directives top of the file...
e.g.
Before auto-import:
//>usingscala3.6.2vald=FiniteDuration/* press TAB to complete! */
This looks like an error when no imports are added yet.
tgodzik
transferred this issue from scalameta/metals-feature-requests
Dec 27, 2024
tgodzik
added
bug
Something that is making a piece of functionality unusable
Scala 3
Generic ticket relating to Scala 3
scala-cli
Relates to the scala-cli tool
labels
Dec 27, 2024
Is your feature request related to a problem? Please describe.
When I auto-import by completion in Scala Script for Scala CLI, Metals always adds import line top of my file. However, I want to keep Scala CLI directives top of the file...
e.g.
Before auto-import:
After auto-import:
Describe the solution you'd like
Describe alternatives you've considered
Cut and paste
Additional context
I'm using Metals 1.4.1 on Emacs.
Search terms
autoimport auto-import import
The text was updated successfully, but these errors were encountered: