commit 6a971241693ebe7b14f89526ae517b1e97b5a6e8 from: ale date: Thu Jul 23 21:55:49 2026 UTC Fase 6: agrega y corrige API deprecada del Verifier era obligatorio para gradle verifyPlugin (fallaba con 'Invalid plugin descriptor'). Además, GotVcsRootChecker.isRoot(String) está marcado 'scheduled for removal' en la plataforma 261/262 (confirmado con el Plugin Verifier real, no solo un warning de compilación) -- se sobreescribe isRoot(VirtualFile) en su lugar, la sobrecarga moderna. commit - e508740b86451a34024db9d279843f7168c3df94 commit + 6a971241693ebe7b14f89526ae517b1e97b5a6e8 blob - 5015cec1440be351d545ccd6a7b46ec9ffababb3 blob + 5595f9f6a5e885810383b09a24a2b712d46a9df2 --- src/main/kotlin/dev/nezzontli/gotvcs/GotVcsRootChecker.kt +++ src/main/kotlin/dev/nezzontli/gotvcs/GotVcsRootChecker.kt @@ -2,13 +2,16 @@ package dev.nezzontli.gotvcs import com.intellij.openapi.vcs.VcsKey import com.intellij.openapi.vcs.VcsRootChecker +import com.intellij.openapi.vfs.VirtualFile import java.io.File class GotVcsRootChecker : VcsRootChecker() { override fun getSupportedVcs(): VcsKey = GotVcs.getKey() - override fun isRoot(path: String): Boolean = File(path, ".got").isDirectory + // isRoot(String) está deprecado (scheduled for removal, confirmado con + // el Plugin Verifier) a favor de esta sobrecarga con VirtualFile. + override fun isRoot(file: VirtualFile): Boolean = File(file.path, ".got").isDirectory override fun isVcsDir(path: String): Boolean = path == ".got" } blob - 43cc025a25cf34f1f1fa2383094d5b56a5a9b582 blob + 84c20b548b9559bf2dc671d497ac67f55abf9722 --- src/main/resources/META-INF/plugin.xml +++ src/main/resources/META-INF/plugin.xml @@ -2,6 +2,11 @@ dev.nezzontli.gotvcs Game of Trees (got) VCS ale + + Integra Game of Trees (got) como proveedor de control de versiones + nativo: detección de work trees .got/, estado de archivos, diff en + el editor, commit/rollback, historial y update/fetch desde la UI. + com.intellij.modules.vcs