mirror of https://github.com/sbt/sbt.git
This is an implementation of `textDocument/definition` request. Supports types only, and only in case when type is found in Zinc Analysis. When source(s) are found then editor opens potential source(s). This simple implementation does not use semantic data. During the processing of `textDocument/didSave`, we will start collecting the location of Analysis files via `lspCollectAnalyses`. Later on, when the user asked for `textDocument/definition`, sbt server will invoke a Future call to lspDefinition, which direct reads the files to locate the definition of a class. |
||
|---|---|---|
| .. | ||
| ContrabandConfig.scala | ||
| Dependencies.scala | ||
| Docs.scala | ||
| NightlyPlugin.scala | ||
| PublishBinPlugin.scala | ||
| Release.scala | ||
| SbtLauncherPlugin.scala | ||
| Scripted.scala | ||
| SiteMap.scala | ||
| StatusPlugin.scala | ||
| Sxr.scala | ||
| Transform.scala | ||
| Util.scala | ||
| build.properties | ||
| plugins.sbt | ||