Show Line Number In Sap Hana Studio [better] File
How to show line numbers in SAP HANA Studio
- Close HANA Studio.
- Navigate to your workspace directory (e.g.,
C:\Users\YourName\hana_workspace). - Delete the
.metadata\.plugins\org.eclipse.core.runtime\.settingsfolder (backup first). - Restart HANA Studio and re-enable line numbers.
- Graphical Calculation Views: Do not show line numbers because they are diagram-based.
- Scripted Calculation Views (with SQLScript): Fully support line numbers using the methods above.
👍 Pros
- Open a SQL or XSJS file: Open a SQL or XSJS file in SAP HANA Studio.
- Right-click in the Editor: Right-click in the editor and select Toggle Line Numbers (or press
Ctrl + Lon Windows orCmd + Lon Mac).
Conclusion
If you only need them temporarily or want a faster way without digging through menus:
Because SAP HANA Studio is built on the Eclipse platform, the steps to enable line numbering follow the standard Eclipse preference path. show line number in sap hana studio