gpt4 book ai didi

react-native - Android Studio 没有语法高亮

转载 作者:行者123 更新时间:2023-12-05 04:55:49 25 4
gpt4 key购买 nike

好的,我想尝试一下 React Native,在我的 Ubuntu 19.10 上全新安装了 Android Studio 4.1.1,通过 react-native CLI 引导了一个简单的项目,打开了它并立即注意到 JSX 突出显示已损坏,谷歌搜索,但我唯一找到的是这个链接 - https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000161950-JSX-Syntax-Highlighting-not-working

试图重新启动,从头开始创建一个新项目,我在安装 Android Studio 时没有加载我的 PyCharm 设置,还没有安装任何插件。是的 - 有什么想法可以让我突出显示吗?

enter image description here

更新: 代码导航似乎也被破坏了。可能我需要尝试其他版本的 Android Studio...

enter image description here

UPD 2:尝试使用 Typescript 项目设置进行 Expo,studio 要求安装支持 tsx 的插件,然后重新启动,现在连评论都不支持了,哈哈。

enter image description here

最佳答案

请注意,Android Studio 不支持 JavaScript。您可能想尝试 IntelliJ IDEA Ultimate EditionWebStorm如果您不需要使用 Java。

关于react-native - Android Studio 没有语法高亮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65158446/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com