首页 Dataphin Dataphin(Non-shared) User Guide Data Development Developer productivity Improve the efficiency of code development in the code editor

Improve the efficiency of code development in the code editor

更新时间: 2026-06-23 12:54:13

The Dataphin code editor supports code highlighting, completion, intelligent code hinting, and permission verification to help you reduce development costs and deliver reliable code faster.

Limits

The supported code efficiency features vary by compute engine. The following table lists the features available for each engine:

Compute Engine

Table Hinting

Table Field Hinting

Code Hinting

Access Control Verification

Data Source Code Hinting

Offline Computing Engine

Supported

Supported

Supported

Supported

-

Real-time Computing Engine (Flink)

Supported

Supported

Supported

Supported

Supported

Explanation of improving code efficiency in the editor

The following table describes the code efficiency features in the Dataphin editor:

Feature

Description

Code Highlighting

The editor analyzes and highlights code keywords based on the language syntax for easier code review and editing. image.png

Code Completion

As you type, the editor suggests keywords and provides hints for quick code completion. image.png

Note

Use the up and down arrow keys to navigate suggestions and press Enter to select, or click a suggestion to insert it.

Table Hinting

The editor suggests logical fact tables, logical dimension tables, and physical tables in the project, allowing you to select the table name you need for queries. image.png

Field Hinting in Tables

  • Hover over a table name to view the fields and their descriptions.

  • In the hinting overlay, select a table to view its field information.

    Note

    Click View More in the tooltip to go to the table's asset page for management and querying.

  • After you enter a table name, the editor suggests relevant fields. You can also enter a field name to filter matching fields within the table. image.png

Code Hinting

After you enter an SQL function, hover over it to view its rules and description. Click View Details for more information.

image.png

Verifying Permissions

Hover over a table field to check whether you have the required read/write permissions. If you lack permissions, a notification appears. Click Quick Fix -> Request Permission to go to the permission request page for the table. Continue your operations after obtaining the required permissions. For more information, see the referenced document or .

Data Source Code Hinting

After you enter the data source encoding in the editor, the system suggests table information from the current Dataphin instance's data source based on your input.

image.png

上一篇: Advanced search efficiency 下一篇: Editor shortcuts
阿里云首页 智能数据建设与治理 Dataphin 相关技术圈