首页 Function Compute Function Compute FAQ Code development Custom runtime FAQ How to convert file formats using the Function Compute WebIDE

How to convert file formats using the Function Compute WebIDE

更新时间: 2026-04-01 01:10:07

You can use the WebIDE of Function Compute to convert file formats. This topic shows you how to change the format of the bootstrap startup file as an example.

Prerequisites

Before you begin, ensure that you have:

Change the line ending format

  1. Log on to the Function Compute console. In the left-side navigation pane, click Functions.

  2. In the top navigation bar, select a region. On the Functions page, click the function you want to manage.

  3. On the function details page, click the Code tab. In the navigation pane on the left, click the file you want to modify — for example, the bootstrap startup file.

  4. In the lower-right corner, click the name of the current line ending format, then select the target format from the drop-down list. The following figure shows the format selector in the editor.

    • LF — Unix/Linux line endings. Use this for files that run in Function Compute (Linux environment).

    • CRLF — Windows line endings. Use this if you need the file to be compatible with Windows tooling.

    use_IDE_switch_format

  5. Click Deploy.

上一篇: Resolve the "Process exited unexpectedly before completing request" error 下一篇: How to avoid zombie processes in a custom runtime?
阿里云首页 函数计算 相关技术圈