How to get the line number in TextEdit Is it possible to get or display the line number in TextEDit in macOS Big Sur?
As I am using the editor for HDL (Hardware Descriptive Language) coding. If it's not possible, could you point me to an editor that supports line numbers that I could use with HDL files?
I typically use the App Store app to download BBEdit since it runs for free and has all the things you would want including line numbers. If you are familiar with VSCode, that’s a solid option too, but it is not a native app like BBEdit and TextEdit are.
I’m fairly sure there is no line number function in TextEdit.

http://www.barebones.com/products/bbedit/index.html
https://code.visualstudio.com/