-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
I'm not sure what I'm doing wrong, but I've got this file 'coho.kt'
import dev.fishies.coho.core.*
import dev.fishies.coho.core.html.*
import dev.fishies.coho.core.markdown.*
import kotlin.io.path.*
fun generate(): RootPath = root {
md(src("index.md"))
path {
ktHtml("")
}
}
This is what it looks like in VSCodium:

This is my workspace.json:
{
"modules": [
{
"name": "main",
"dependencies": [
{
"type": "library",
"name": "core-jar",
"scope": "runtime"
}
],
"contentRoots": [
{
"path": ".",
"excludedPatterns": [],
"excludedUrls": [],
"sourceRoots": [
{
"path": ".",
"type": "SOURCE"
}
]
}
],
"facets": []
}
],
"libraries": [
{
"name": "core-jar",
"type": null,
"roots": [
{
"path": "/home/fish/IDEAProjects/coho/core/build/libs/core.jar"
}
],
"excludedRoots": []
}
],
"sdks": [],
"kotlinSettings": []
}
This is what the file tree looks like
.
├── coho.kt
├── index.md
└── workspace.json
The language server doesn't seem to want to add the provided JAR to the classpath. I don't get any diagnostics, semantic highlighting, or go to definition for the file, and I don't get autocompletion for the imports either.
Metadata
Metadata
Assignees
Labels
No labels