如何在Android Studio中为“ Fastfile”指定编程语言?

问题描述 投票:0回答:1

我在Android项目中使用Fastlane。当我打开“ fastlfile”文件时,Android Studio无法将该文件识别为ruby代码。而且代码不是彩色的。如何为文件指定编程语言?

android android-studio fastlane
1个回答
0
投票

如果您使用的是Android Studio无法识别的文件类型(例如,如果它是内部开发的专有文件类型,或者您需要使用不受支持的语言编写代码,则可以创建自定义文件类型。

https://www.jetbrains.com/help/ruby/creating-and-registering-file-types.html

© www.soinside.com 2019 - 2024. All rights reserved.