Coder Social home page Coder Social logo

zklinger / relativelinenumbers Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 15.0 52 KB

Visual Studio 2010/2012/2013 extension to display relative line numbers like in Vim. Useful for ViEmu and VsVim extension users.

License: GNU General Public License v3.0

C# 100.00%

relativelinenumbers's People

Contributors

twsouthwick avatar zklinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

relativelinenumbers's Issues

Delay while typing

After doing some digging and trying other methods an issue I was experiencing with a delay in typing seems to be related to RelativeLineNumbers. Once disabled the delay was removed.

This is on a fresh install of VS 2013 with vsvim being the only other added extension on a simple MVC project with no source control.

Other attempted fixes included disabling the hardware acceleration.

Visual Annoyances

relativelinenumbers

A white background with a black line for RelativeLineNumbers looks weird. Default behavior should most likely be to use the background color set for Visual Studio.

In addition, it would be nice if it was configurable if the relative line numbers are to the right or left of the [+][-] code minimization controls.

Relative line numbers position interferes with outline expansion position

Hi there,

Had this VS plugin installed for a while, and generally it's working fine. I just restarted VS though, and saw that the plugin repositioned itself in relation to the line normal, absolute line numbers, and also in relation to the default VS outlining expansion (see image below if you don't know what I mean).

VS outlining expansion.

This I find a little bit annoying; I was wondering if it would be a lot of work to make the position of the relative line numbers plugin configurable, in relation to the absolute line numbers and the outliner expansion?

Line numbers not updating when scrolling

Hi!

Thanks for a useful extension!

I noticed a minor issue: If I scroll away from the line where the cursor is positioned, so it is no longer in view, then the relative line numbers no longer update. It's the same in VS2012 and VS2013.

/Regin

Change in number of digits of largest relative line number in file makes display jump left to right

The width of the relative line number column is dependent on the largest relative line number in the file: if the maximum relative line number is 95, then the column will be three-ish characters wide; if the maximum relative line number is 105, then the column will be four-ish characters wide. If the user scrolls so that the maximum relative line number crosses a power of ten, the maximum relative line number gains or loses a digit, the column changes width, and the entire source file jumps to the side by one character. This is rather disturbing visually.

Relative line number location

I am using relative line numbers with Visual Studio 2013. The line number indicator shows up on the far left side of Visual Studio instead of next to the code. Sometimes, after several restarts of Visual Studio the line numbers will show up in the correct location next to the code. Is there any way to make this work so it will always show up next to the code?

By the way, this is a really great addition and makes working with vsvim even better.

Thank you,

Jerry.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.