Skip to content

Drop semanticdb prefix from indexer-internal symbol APIs#898

Draft
jupblb wants to merge 1 commit into
michal/drop-semanticdb-kotlinfrom
michal/scip-symbol-rename
Draft

Drop semanticdb prefix from indexer-internal symbol APIs#898
jupblb wants to merge 1 commit into
michal/drop-semanticdb-kotlinfrom
michal/scip-symbol-rename

Conversation

@jupblb
Copy link
Copy Markdown
Member

@jupblb jupblb commented Jun 3, 2026

Stacked on #897.

Renames misleading semanticdb-prefixed identifiers in the Java/Kotlin indexer code now that we only emit SCIP:

  • ScipSymbols.fromSemanticdbSymbol(String)ScipSymbols.format(String) (Java + Kotlin)
  • GlobalSymbolsCache.semanticdbSymbol/uncachedSemanticdbSymbol/semanticdbDescriptorsymbol/uncachedSymbol/descriptor
  • SymbolsCache.kt equivalents
  • ScipVisitor helpers (semanticdbParentSymbols, semanticdbOverrides, etc.) lose the prefix
  • Local variables semanticdbSymbolsymbol; docstrings updated accordingly

The shared SemanticdbSymbols utility class is kept — it encapsulates the symbol grammar SCIP adopted verbatim from SemanticDB, and it is part of the published com.sourcegraph:semanticdb-java artifact.

Validated with sbt --client checkAll and sbt --client unit/test.

@jupblb jupblb force-pushed the michal/drop-semanticdb-kotlin branch from c2402be to 6e8e91f Compare June 3, 2026 10:42
@jupblb jupblb force-pushed the michal/scip-symbol-rename branch from 0d17945 to 4ec31f0 Compare June 3, 2026 10:42
@jupblb jupblb force-pushed the michal/drop-semanticdb-kotlin branch from 6e8e91f to 130802e Compare June 3, 2026 10:47
@jupblb jupblb marked this pull request as draft June 3, 2026 10:50
@jupblb jupblb force-pushed the michal/scip-symbol-rename branch from 4ec31f0 to f6baf7f Compare June 3, 2026 10:52
@jupblb jupblb force-pushed the michal/drop-semanticdb-kotlin branch from 130802e to ffff8b2 Compare June 3, 2026 15:24
@jupblb jupblb force-pushed the michal/scip-symbol-rename branch from f6baf7f to 8e2b403 Compare June 3, 2026 15:24
@jupblb jupblb force-pushed the michal/drop-semanticdb-kotlin branch from ffff8b2 to 77d22d6 Compare June 3, 2026 15:34
@jupblb jupblb force-pushed the michal/scip-symbol-rename branch from 8e2b403 to 5671061 Compare June 3, 2026 15:35
@jupblb jupblb force-pushed the michal/drop-semanticdb-kotlin branch from 77d22d6 to 45e15d8 Compare June 3, 2026 15:50
Rename misleadingly-prefixed internal methods in semanticdb-javac and
semanticdb-kotlinc (semanticdbSymbol -> scipSymbol, etc.) while keeping
the public SemanticdbSymbols class name (still names the adopted grammar
and is part of the published semanticdb-shared artifact).
@jupblb jupblb force-pushed the michal/scip-symbol-rename branch from 5671061 to e8b5086 Compare June 3, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant