From 94190ff7a9d0ca09417e78964d5ec9254516107e Mon Sep 17 00:00:00 2001 From: renpeiying Date: Wed, 28 May 2025 19:10:13 +0800 Subject: [PATCH] docs: Add CN translation to CLion doc --- docs/en/third-party-tools/clion.rst | 11 ++++++++--- docs/zh_CN/third-party-tools/clion.rst | 23 ++++++++++++++++------- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/docs/en/third-party-tools/clion.rst b/docs/en/third-party-tools/clion.rst index 3d28568204..59fcc15bb9 100644 --- a/docs/en/third-party-tools/clion.rst +++ b/docs/en/third-party-tools/clion.rst @@ -1,10 +1,10 @@ .. _clion: -:link_to_translation:`zh_CN:[中文]` - CLion ##### +:link_to_translation:`zh_CN:[中文]` + What Is CLion? ~~~~~~~~~~~~~~ @@ -15,7 +15,12 @@ Starting with v2025.1.1, `CLion is available at no cost `__, via `Toolbox App `__, or as a snap package if you’re using Ubuntu. To learn about the required toolchains, see the `documentation `__. +You can download CLion: + +- as a `standalone version `__, via `Toolbox App `__. +- or as a snap package if you’re using Ubuntu. + +To learn about the required toolchains, check this `documentation `__. Configuration ~~~~~~~~~~~~~ diff --git a/docs/zh_CN/third-party-tools/clion.rst b/docs/zh_CN/third-party-tools/clion.rst index 28f4900b22..9239e30799 100644 --- a/docs/zh_CN/third-party-tools/clion.rst +++ b/docs/zh_CN/third-party-tools/clion.rst @@ -5,24 +5,33 @@ CLion :link_to_translation:`en:[English]` -CLion是什么? -~~~~~~~~~~~~~ +CLion 是什么? +~~~~~~~~~~~~~~~~~~~ -`CLion `__ 是用于 C 和 C++ 编程的跨平台集成开发环境 (IDE)。CLion 还提供了专门支持 ESP-IDF 的功能,使开发人员能够无缝使用 ESP-IDF 框架。 +`CLion `__ 是一款跨平台的 C/C++ 集成开发环境 (IDE),它支持 ESP-IDF 框架,为开发者提供无缝的开发体验。 + +从 v2025.1.1 版本开始,`CLion 对以下用途免费开放 `__:开源项目贡献、学习或教学 C/C++、个人应用程序开发、其他非商业项目。 安装 ~~~~ -安装 CLion,请参考 `CLion 安装指南 `__,可根据操作系统(Windows, macOS, or Linux)选择适用的版本。 +可以通过以下方式下载 CLion: + +- 通过 `Toolbox App `__ 下载 `独立安装版 `__。 +- 或以 snap 软件包形式获取 CLion(适用于 Ubuntu 系统)。 + +要了解所需的工具链,请参阅 `相关文档 `__。 配置 ~~~~ -要在 CLion 中配置一个 ESP-IDF 项目,请参考 `在 CLion 中配置 ESP CMake 项目 `__。本指南将带您逐步完成配置项目的必要步骤。 +要在 CLion 中配置 ESP-IDF 项目,请参阅 `在 CLion 中使用 ESP-IDF `__ 教程。该教程详细讲解了如何配置项目、构建应用程序、烧录至开发板以及进行调试。还可以参考 `CLion 的 ESP-IDF 文档 `__。 资源 ~~~~ -有关 CLion 和 ESP-IDF 集成的更多信息,请参考以下资源: +如需了解 CLion 为嵌入式开发提供的功能和集成支持,请参考以下资源: -- `CLion 文档 `__: CLion 官方文档提供了有关 IDE 各方面内容的详细信息,包括 ESP-IDF 集成。 +- `嵌入式开发支持 `__:概述如何将 CLion 用作嵌入式开发 IDE。 +- `调试服务器 `__:一项新功能,可便捷地配置和使用调试服务器,支持包括 ESP-IDF 在内的多种构建目标。 +- `PlatformIO 集成 `__:详细指南,介绍如何使用 `CLion 的 PlatformIO 插件 `__ 搭配 PlatformIO 框架进行开发。