Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a checkbox option in expanded code edit windows to show line numbers #5377

Closed
calummitchell opened this issue Sep 3, 2024 · 4 comments
Closed
Labels
🎨 Feature Request This is a request for a new feature, or an expansion of an existing feature.

Comments

@calummitchell
Copy link

Is your feature request related to a problem? Please describe.
Syntax errors in weakauras custom code and lua errors in Bugsack tell you which line number to look at. For small blocks of code you can simply count the lines or use the line number in the top right next to the Snippets button. However, for large blocks of code I usually copy and paste the code into an editor and either jump to the specific line number or use the line numbers along on the left side of the window as I page down.

Describe the solution you'd like
Have a checkbox option to toggle the display of line numbers along the left hand side of the edit window.

Describe alternatives you've considered

Additional context
linenumbers

@calummitchell calummitchell added the 🎨 Feature Request This is a request for a new feature, or an expansion of an existing feature. label Sep 3, 2024
@WeakAuras WeakAuras deleted a comment Sep 3, 2024
@mrbuds
Copy link
Contributor

mrbuds commented Sep 3, 2024

@calummitchell do not install the linked file in previous (deleted) comment, it's a malware

@mrbuds
Copy link
Contributor

mrbuds commented Sep 3, 2024

For small blocks of code you can simply count the lines or use the line number in the top right next to the Snippets button

you can type the line number in that box next to snippets button

Wow_2024-09-03_02-22-53.mp4

@calummitchell
Copy link
Author

That solves my problem, thanks. I don't know whether it's worth considering adding lines numbers also. I've personally had them turned on in the editors I use for years and like having them even though ctrl-g lets me jump to a specific line. I also don't know how many people are aware you can type in a line number next to Snippets. I never thought to try it even though in hindsight it's obviously an edit box.

Feel free to close this out if none of the developers like the idea.

@InfusOnWoW
Copy link
Contributor

That's would be a huge effort due to how little control we have over the editbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 Feature Request This is a request for a new feature, or an expansion of an existing feature.
Projects
None yet
Development

No branches or pull requests

3 participants