包阅导读总结
1.
“`
CLion 2024.2 EAP 5、Zephyr West 支持、C++ 全行代码补全、项目模型、反馈
“`
2.
CLion 2024.2 EAP 5 版本发布,新增对 Zephyr West 项目模型的支持,并提供相关便捷功能。同时为 C++ 实现全行代码补全,该功能基于本地深度学习模型,且不额外收费。
3.
– CLion 2024.2 EAP 5 版本可用,可从网站、Toolbox App 或 snap 包获取
– Zephyr West 支持
– 介绍新的 West 项目模型,使 Zephyr RTOS 相关项目设置、打开和构建更简便
– 为现有 Zephyr 项目提供代码洞察功能
– 新插件提供自动创建 Python 解释器等功能
– 可转换 Zephyr 项目与 CMake 项目
– 可在设置中更改相关路径和选项
– C++ 全行代码补全
– 此前用于多种语言,现也用于 C++
– 基于本地深度学习模型,不额外收费,可在设置中启用和调整
– 完整发布说明可查看
– 期待用户反馈
思维导图:
文章地址:https://blog.jetbrains.com/clion/2024/07/2024-2-eap-5-zephyr-west-support-full-line-code-completion/
文章来源:blog.jetbrains.com
作者:Andrey Gushchin
发布时间:2024/7/8 13:05
语言:英文
总字数:574字
预计阅读时间:3分钟
评分:84分
标签:CLion,Zephyr RTOS,代码补全,嵌入式开发,C++
以下为原文内容
本内容来源于用户推荐转载,旨在分享知识与观点,如有侵权请联系删除 联系邮箱 media@ilingban.com
CLion 2024.2 EAP 5: Zephyr West Support and Full Line Code Completion for C++
The CLion 2024.2 EAP 5 build (242.19890.26) is now out! It’s available from our website, via the Toolbox App, or as a snap package.
DOWNLOAD CLION 2024.2 EAP
Zephyr West support
In this EAP build, we introduce a new project model supported by CLion – it’s called the West project model. As we previously mentioned in our roadmap for this release, a West project makes it much easier to set up, open, and build a project that uses Zephyr RTOS.
For existing projects that have installed Zephyr, West, and the Zephyr SDK, CLion detects Zephyr usage and automatically sets up the project to provide code insight features, such as code competition, code navigation, and others.
In addition, the new bundled CLion Integration for Zephyr® Project plugin provides the following features:
- Automatic creation of a Python interpreter and setting it as the current interpreter if there is a directory with a Python virtual environment next to the
.west
directory in the Zephyr workspace. - Building a project using the
west build
command. - Automatic creation of a run/debug configuration that flashes the built binary to a board using the
west flash
command (please note that you may need to install Flash Host Tools, like OpenOCD, to flash your binary). - Device tree integration uses the same board that is configured for the project.
- An optional Change Project Root suggestion to set the project’s root to the root of Zephyr’s workspace. By default, the Project view shows all the project’s source roots, which may sometimes be inconvenient.
To change the path to the West executable, board name, and build directory, go to Settings/Preferences | Build, Execution, Deployment | Embedded Development | West.
A Zephyr project opened previously as a CMake project can be re-opened as a West project using the Convert to West Project action. And vice-versa, a West project can be converted back to a CMake project with the Convert to CMake Project action.
Additional options for the west flash
command can be set in the settings of the West run/debug configuration.
Zephyr support is a work in progress, and we’d like to hear your feedback! Let us know your thoughts by commenting below or in our issue tracker.
Full line code completion for C++
Previously introduced for Java, Kotlin, Python, JavaScript, TypeScript, CSS, PHP, Go, and Ruby, full line code completion becomes available for C++ with this build.
The full line code completion feature suggests entire lines of code using a locally run deep learning model. It works completely locally and doesn’t send any data outside your IDE. Also note that it’s included with your active JetBrains IDE subscription at no additional cost.
❗️Full line code completion works only with the new ReSharper C++ language engine (also known as CLion Nova). Go to Settings/Preferences | Advanced Settings | CLion | Use the ReSharper C++ language engine (CLion Nova) to enable it.
To tweak the feature or download models for languages other than C++, go to Settings/Preferences | Editor | General | Inline Completion.
The full release notes are available here. Your feedback matters to us! Share your ideas in the comments section below or submit them to our issue tracker.
DOWNLOAD CLION 2024.2 EAP
Your CLion team
JetBrains
The Drive to Develop