implicit class XtensionAbsolutePathBuffers extends AnyRef
- Alphabetic
- By Inheritance
- XtensionAbsolutePathBuffers
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new XtensionAbsolutePathBuffers(path: io.AbsolutePath)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def appendText(text: String): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canWrite: Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def createAndGetDirectories(): Seq[io.AbsolutePath]
- def delete(): Unit
- def deleteIfExists(): Unit
- def deleteRecursively(): Unit
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def isBazelRelatedPath: Boolean
- def isDependencySource(workspace: io.AbsolutePath): Boolean
- def isInBazelBspDirectory(workspace: io.AbsolutePath): Boolean
- def isInBspDirectory(workspace: io.AbsolutePath): Boolean
- def isInReadonlyDirectory(workspace: io.AbsolutePath): Boolean
- def isInTmpDirectory(workspace: io.AbsolutePath): Boolean
- def isInside(prefix: io.AbsolutePath): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isJar: Boolean
- def isJarFileSystem: Boolean
- def isLocalFileSystem(workspace: io.AbsolutePath): Boolean
- def isMetalsProject(): Boolean
- def isScalaProject(): Boolean
- def isSrcZipInReadonlyDirectory(workspace: io.AbsolutePath): Boolean
- def isWorkspaceSource(workspace: io.AbsolutePath): Boolean
- def isZip: Boolean
- def javaSourcerootOption: String
- def move(newPath: io.AbsolutePath, sco: Option[StandardCopyOption]): Path
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def resolveIfJar: io.AbsolutePath
Bazelbsp provides us with a path to a jar.
Bazelbsp provides us with a path to a jar. SemanticDB files are store in the same directory as the jar file.
Example:
/path/hello.jar -> /path/_semanticdb/hello - def resolveZipPath(zipPath: Path): io.AbsolutePath
Resolve each path segment individually to prevent FileSystem mismatch errors.
- def scalaSourcerootOption: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toFileOnDisk(workspace: io.AbsolutePath): io.AbsolutePath
Writes zip file contents to disk under $workspace/.metals/readonly.
Writes zip file contents to disk under $workspace/.metals/readonly.
In case if path is jar then target directory is $workspace/.metals/readonly/dependencies/$jarName
- def toInputFromBuffers(buffers: Buffers): VirtualFile
Reads file contents from editor buffer with fallback to disk.
- def toRelativeInside(prefix: io.AbsolutePath): Option[io.RelativePath]
- def toString(): String
- Definition Classes
- AnyRef → Any
- def toTextDocumentIdentifier: TextDocumentIdentifier
- def touch(): Unit
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)