scala-utils.nvim icon indicating copy to clipboard operation
scala-utils.nvim copied to clipboard

News / Updates (Subscribe to get updates)

Open ckipp01 opened this issue 4 years ago • 2 comments

I'll use this as a place to dump screen captures of new functionality that I add to this project.

ckipp01 avatar Apr 25 '21 16:04 ckipp01

The complete_from_line() functionality

This allows you to start a completion from the current line. In either a Mill or sbt build it will pull the org and artifact from the line and then allow you to continue from there. At the end of the completion you can either copy out the version, the full sbt dependency (like you see in the gif), the Mill dependency, or the dependency in the format for Metals worksheets.

This should also be able to correctly tell if it's a Java or a Scala source correctly using either %% or % for example when copying out to sbt.

2021-04-25 18 26 37

ckipp01 avatar Apr 25 '21 16:04 ckipp01

The complete_from_input() functionality

Like the above, the same thing is possible from starting from whatever you enter into a prompt. This can be starting at the groupId stage, artifact, or already in the version.

2021-04-25 18 30 46

ckipp01 avatar Apr 25 '21 16:04 ckipp01