-
Notifications
You must be signed in to change notification settings - Fork 731
Closed
Labels
Description
Code Lens are a bit ugly when they're used a lot, which is what OmniSharp does. Wouldn't it be great if they were to be improved?
Here are my problems:
- Enums look horrible:

- 0 References just looks annoying here:

- Am I going to use these anywhere except inside the only class they can be accessed in?:

- Code Lens looks too much like a whole line (reducing the font size doesn't help):

So, here are some solutions with some mockups:
- Remove reference Code Lens from enum items:

- Add an option to disable Code Lens if there are no references:

- Add an option to disable Code Lens for private and/or protected members:

- Add an option to use Line Lens instead (what the Ionide extension uses):

There can also be an alternative solution to all this: put the reference Code Lens inside the gutter:

If you can't do this due to some limitations, I'll report this as an issue on Visual Studio Code.