Skip to content

Fix workspace/reload not importing dependencies without re-compilation #1673

@Gedochao

Description

@Gedochao

It actually doesn't do nothing, we should be supporting workspace/reload.

override def workspaceReload(): CompletableFuture[AnyRef] =

private def onReload(): CompletableFuture[AnyRef] = {

After testing it a bit just now, it technically does work, but in this use case it's a bit wonky.

Screen.Recording.2022-12-09.at.10.05.31.mov

after adding a new directive/dependency in the code, workspace/reload doesn't seem to pick it up until the first re-compilation is triggered. It doesn't matter if it's from the command line, or if it's a re-run from IntelliJ and the re-run should go through BSP).

Not sure where's the bug, but it's worth investigating on our side. I'll create a ticket.

Originally posted by @Gedochao in #1659 (comment)

Metadata

Metadata

Assignees

Labels

IDEbugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions