Select to view content in your preferred language

Line numbers while writing an expression/code in expression builder or calculate field should be on by default

241
2
09-18-2024 12:10 PM
Status: Open
Labels (1)
Ed_
by MVP Regular Contributor
MVP Regular Contributor

It will be really nice to have line numbers next to the expression block in Pro.

Just to show a need

Sometimes when your code errors out and it says line 17 it's silly to visually count the lines through the naked eye. It can also be cumbersome if you have lots of lines of code. This is where line numbers can be really helpful. A lot of coding programs have it so i think Pro should have this too for:

Calculate Field code block

Expression Builder  under Attribute Rules

While writing expressions under symbology and labels

Python Window and etc.

 

Ed__0-1726686539143.png

 

2 Comments
DavidSolari

Should already be there, right-click on empty space in the code block or expression builder.

DavidSolari_0-1726686994818.png

 

Ed_
by MVP Regular Contributor

@DavidSolari cool I did not know well it should there by default then