如何在android studio中注释掉gradle.properties文件中的多行?

Age*_*ntP 5 keyboard-shortcuts android-studio

在android studio中注释掉.kt文件或.java文件中的多行我们使用快捷方式

ctrl+ shift + /

但相同的组合键不适用于注释gradle.properties文件中的多行

还有其他捷径吗?

这是我的gradle.properties文件

## For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
#
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx1024m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
#
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Sun Jun 14 20:23:34 IST 2020
android.enableJetifier=true
android.useAndroidX=true
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M"
systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost
systemProp.http.proxyHost=www.somehost.org
systemProp.http.proxyPassword=password
systemProp.http.proxyPort=8080
systemProp.http.proxyUser=userid
systemProp.https.nonProxyHosts=*.nonproxyrepos.com|localhost
systemProp.https.proxyHost=www.somehost.org
systemProp.https.proxyPassword=password
systemProp.https.proxyPort=8080
systemProp.https.proxyUser=userid
Run Code Online (Sandbox Code Playgroud)

Age*_*ntP 2

你可以这样做。

选择要注释掉的所有行,然后按ctrl+/注释掉所有行