The code block section in (model builder) geoprocessing tools need several improvements:
- ability to enlarge the block so that you have more room and see longer bits of code
- Consistent code block format in all tools. Some tools have a big box, others a small one.
- When writing python, it needs better syntax feedback if tab indentations are used instead of 4 spaces.
- Even better, it should be able to use tabs indentation instead of 4 spaces. Or, When pressing enter within a function , 4 spaces should be given and not a tab. Now you need to manually adjust the indentation tabs into spaces. No clear syntax error feedback is privided if tabs are userd instead of spaces.
- Improve syntax error handling by providing interactive feedback if functions or variables are not recognised.
I refer to the code block in the ‘calculate fields (multiple)’ tool. I know other tools have a larger code block section, hence my second suggestion to uniform the code block sections across all tools.
