Expire all symbols showed in the given scala source file.
Expire all symbols showed in the given scala source file.
Note that what this method does is only expiring the cache, and it doesn't update the cache in honor of the memory footprint. Otherwise, if we update the cache for symbols every time we save a file, metals will cache all symbols in files we've saved, and it consumes a considerable amount of memory.
the absolute path for the source file to update.
Implementation of the
documentation(symbol: String): Option[SymbolDocumentation]
method inSymbolSearch
.Handles both javadoc and scaladoc.