You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Phoenix Code displays absolute line numbers. It would be great to have an option to switch between absolute, relative, hybrid and interval line numbering.
Absolute: It is the default way in which line numbers are displayed. Starting from 1 and increasing as we move to the bottom lines.
Relative: Each line in your file is numbered relative to the cursor’s current position to show the distance to that line. The current line is marked 0, the ones above and below it are marked 1, and so on.
Hybrid: It is a mix of Relative and Absolute line numbering. Here, all lines will show their relative number, except for current line, which will show its absolute line number.
Interval: Line numbers are displayed at fixed interval of every 10 lines.
Describe the problem
Currently, Phoenix Code displays absolute line numbers. It would be great to have an option to switch between absolute, relative, hybrid and interval line numbering.
Absolute: It is the default way in which line numbers are displayed. Starting from 1 and increasing as we move to the bottom lines.
Relative: Each line in your file is numbered relative to the cursor’s current position to show the distance to that line. The current line is marked 0, the ones above and below it are marked 1, and so on.
Hybrid: It is a mix of Relative and Absolute line numbering. Here, all lines will show their relative number, except for current line, which will show its absolute line number.
Interval: Line numbers are displayed at fixed interval of every 10 lines.

For more details, refer to this link
Describe the solution you'd like
Users should be able to toggle the format in which the line number should be displayed whether it be absolute(default), relative or hybrid.
Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: