代码/分割/设计栏占用完整代码行的高度,但我从不使用它。
在 Android 项目中,它对于非 Compose .kt 文件也是可见的,这是完全没有必要的。
有没有办法在 IntelliJ/Android studio 中隐藏这个栏?
我分配了一个快捷键CMD+ SHIFT+L中键映射偏好(选择所有出现,就像它是在VSCode)。它与之前的任何键映射都没有冲突。但是,当我按下它时,所有出现的事件都会被选中,而且还会在另一个窗口中打开 Safari 谷歌搜索。
如何禁用此谷歌搜索快捷方式?未设置搜索 google 键映射。
使用 gradle 上传公共包:https : //github.com/ttiganik/hrd-java-test-registry/packages/61312
但我无法下载它。我尝试了不同的URL-s 和 package names,但它们都不起作用。
根据文档,正确的 URL-s 应该是:
repositories {
maven {
url "https://maven.pkg.github.com/ttiganik/hrd-java-test-registry"
credentials {
username = System.properties['hmGithubUser']
password = System.properties['hmGithubToken']
}
}
}
dependencies {
implementation 'com.ttiganik:test:1.0.0'
}
Run Code Online (Sandbox Code Playgroud)
凭据与上传的凭据相同。
gradle installDebug 说它从正确的位置看:
> Could not find com.ttiganik:test:1.0.0.
Searched in the following locations:
- https://maven.pkg.github.com/ttiganik/com/ttiganik/test/1.0.0/test-1.0.0.pom
- https://maven.pkg.github.com/ttiganik/com/ttiganik/test/1.0.0/test-1.0.0.jar
Required by:
Run Code Online (Sandbox Code Playgroud)
但它不会安装它。
如果我注释掉 maven 存储库中的凭据,它会显示 401 unauthorised。所以位置似乎是正确的。
我的 GPR 配置有什么问题?