usethesource / rascal-language-servers

An LSP server for Rascal which includes an easy-to-use LSP generator for languages implemented in Rascal, and an interactive terminal REPL.
BSD 2-Clause "Simplified" License
14 stars 8 forks source link

Silently unresolved project name leads to downstream issues #184

Closed jurgenvinju closed 8 months ago

jurgenvinju commented 2 years ago

Describe the bug


if anybody has a hunch how to work around this issue.. I'd like to demonstrate salix tomorrow.

jurgenvinju commented 2 years ago

RASCAL.MF:

Manifest-Version: 0.0.1
Source: src
Project-Name: salix
jurgenvinju commented 2 years ago
rascal>getProjectPathConfig(|project://salix|)
PathConfig: pathConfig(
  javaCompilerPath=[
    |file:///Users/jurgenv/.vscode/extensions/usethesource.rascalmpl-0.4.0/assets/jars/rascal-lsp.jar|,
    |file:///Users/jurgenv/.vscode/extensions/usethesource.rascalmpl-0.4.0/assets/jars/rascal.jar|,
    |file:///Users/jurgenv/.m2/repository/net/sourceforge/plantuml/plantuml/8059/plantuml-8059.jar|,
    |file:///Users/jurgenv/.m2/repository/org/rascalmpl/rascal/0.19.4-RC2/rascal-0.19.4-RC2.jar|,
    |file:///Users/jurgenv/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar|,
    |file:///Users/jurgenv/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar|
  ],
  bin=|target://salix|,
  classloaders=[
    |target://salix|,
    |system:///|,
    |file:///Users/jurgenv/.m2/repository/net/sourceforge/plantuml/plantuml/8059/plantuml-8059.jar|,
    |file:///Users/jurgenv/.m2/repository/org/rascalmpl/rascal/0.19.4-RC2/rascal-0.19.4-RC2.jar|,
    |file:///Users/jurgenv/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar|,
    |file:///Users/jurgenv/.m2/repository/junit/junit/4.13.1/junit-4.13.1.jar|
  ],
  libs=[|lib://rascal|],
  srcs=[|project://salix/src|],
  courses=[])
DavyLandman commented 2 years ago

It would help if you share which projects you have in your workspace, so we can try and reproduce. The current issue doesn't contain enough information. Or are you storing this for yourself?

jurgenvinju commented 2 years ago

I'm building a case slowly. It's very confusing to see what matters and what not. Also I don't have the time now. So please bear with me.

DavyLandman commented 2 years ago

okay, thanks, I didn't know it was one of these ;) good luck figuring it out.

DavyLandman commented 1 year ago

@jurgenvinju is this still a problem?

DavyLandman commented 8 months ago

Closing this, please re-open if you have a repo case.