Line Surfer

Blog ,

Introducing Line Surfer – A new way to visualize a cursor A while ago I had an idea for an extension to Visual Studio Code. The goal was to provide a way to visually see the current line your cursor was on and the context of the surrounding lines above and below. I wanted the current line to pop. I thought it would be cool if the current lines font size was able to be set to a specific font size and the surrounding lines would interpolate down to the editors default font size based on the size of the context. As an example, let’s say that the current line was set to 24pt and the default size of the editor was set to 12pt. If you set the context, or height to be 4 lines above and below, you would get the interpolation from 24 to 12 stepping down on each line until it hit 12. I called this the “Wave”. Having never explored the vscode extension api. I started to figure out how I could do such a thing. Turns out that vscode only allows this sort of manipulation in a custom editor, not the default packaged one....