You can combine your DataStudio modules and specify editor settings on the Configuration Center tab.

Click Setup in the lower-left corner of the DataStudio page to go to the Setup page. Then, click the Configuration Center tab.

The Configuration Center tab includes three sections: DataStudio Tabs, Editor Settings, and General Settings. After the configurations are completed, you can click Apply to All Workspaces in the lower-right corner of the page to apply the settings to all existing workspaces.

DataStudio tabs

On the DataStudio Tabs tab, you can add and delete public and MaxCompute functional modules, and sort the modules through drag-and-drop operations.
  • Under Tabs on DataStudio Page, click Delete next to a module to delete it. Deleted modules will not appear in the left-side navigation pane of the DataStudio page.
  • Under All Modules, click the desired module to add it. Added modules will appear in the left-side navigation pane of the DataStudio page.
Note The module settings take effect immediately for the current workspace. To make the module settings effective for all workspaces, click Apply to All Workspaces in the lower-right corner of the page.

Editor settings

You can configure the code editor in the Editor Settings section. The editor settings take effect immediately for the current workspace without requiring you to refresh the page.
  • Minimap
    The masked code in the current interface is displayed in the minimap in the upper-right corner of the page. When the code is long, you can move the pointer to specify the code block to be displayed in the minimap.Minimap
  • Error Annotation
    If you select this field, DataWorks marks potential syntax errors with a red squiggly line. When you see a syntax error, you can move the pointer over the underlined code to view the error message.Error Annotation
  • Auto Save
    If you select this field, DataWorks automatically saves the code being edited at a certain interval. In this way, if the code editor of a node is closed unexpectedly, you can click Use Version Saved on Server or Use Version Saved in Local Cache to re-open the node.Auto Save
  • Auto-Completed Code Style
    You can set the code style to uppercase or lowercase as required.Auto-Completed Code Style
  • Auto Line Wrap

    You can set Auto Line Wrap to Disable or Enable.

  • Wrap at Column
    • If Auto Line Wrap is set to Disable, the value of Wrap at Column is 80 by default, which cannot be modified.
    • If Auto Line Wrap is set to Enable, you can set a value for Wrap at Column as required.
  • Code Font Size

    Valid values: 12 to 18. You can change the font size based on your habits and code size.

  • Auto Completion
    You can specify whether to enable the following code hints when you enter the code:
    • Continuous Smart Tips: specifies whether to automatically add a space after each auto-completed term such as a keyword, table name, or field name.
    • Keyword: specifies whether to enable keyword hints.
    • Syntax Template: specifies whether to enable syntax template hints.
    • Project: specifies whether to enable project name hints.
    • Table Name: specifies whether to enable table name hints. The system preferentially recommends the tables used recently.
    • Field: specifies whether to enable field name hints.

General settings

  • Display Node Engine Information on DAG

    You can specify whether to display node engine information on the directed acyclic graph (DAG).

  • Theme

    You can set the DataStudio theme to black or white.