Julia: Vscode extension to send code to the top?

Viewed 54

I often find myself adding a new package midway through the code so I need to add using Pkg1 or import Pkg1. But then this code should sit up the top, so I end up scrolling up to the top, type the using code, and then lose track of where I was in the code.

In some python extension, the import statement can be sent to the top for the user.

Is there a vscode extension to do that for julia code?

1 Answers

You can use ctrl+g to travel through lines in VScode.

ctrl+g line 1
ctrl+g line x /*replace x with the line you were*/
Related