It doesn't seem to matter what I set the projectFile to.
"projectMapping": [{
"projectFile": "figuro.nimble",
"fileRegex": "src/.*\\.nim"
}]
It seems to start with DBG Starting createOrRestartNimsuggest projectFile=/home/derek-v-s/1a/GitHub/figuro/src/figuro.nim uri=
But changing to that or src/figuro.nim doesn't seem to prevent it from "guessing" and just choosing the associated file.
DBG Auto-guessing project file for file=/home/derek-v-s/1a/GitHub/figuro/src/figuro/common/nodes/uinodes.nim
DBG getProjectFile project=/home/derek-v-s/1a/GitHub/figuro/src/figuro/common/nodes/uinodes.nim fileUri=/home/derek-v-s/1a/GitHub/figuro/src/figuro/common/nodes/uinodes.nim
DBG Document associated with the following projectFile uri=file:///home/derek-v-s/1a/GitHub/figuro/src/figuro/common/nodes/uinodes.nim projectFile=/home/derek-v-s/1a/GitHub/figuro/src/figuro/common/nodes/uinodes.nim
https://github.com/elcritch/figuro What's the correct setup for this project?
Is this related to the following?
...the known command is broken. Thats why it keeps spawning processes as a fallback. The new default is one max ns process, so even when known would return false or timeout, it tries to reuse the instance. That said, in the latest sources which is about to be released, there a few bugs fixed related to process handling
@jmgomez
And what's workingDirectoryMapping used for that differs from projectMapping? I get DBG Failed to parse the configuration. error="key not found: [0].workingDirectoryMapping[0].directory" when trying to use it the same way as projectMapping.
It doesn't seem to matter what I set the projectFile to.
It seems to start with
DBG Starting createOrRestartNimsuggest projectFile=/home/derek-v-s/1a/GitHub/figuro/src/figuro.nim uri=But changing to that or
src/figuro.nimdoesn't seem to prevent it from "guessing" and just choosing the associated file.https://github.com/elcritch/figuro What's the correct setup for this project?
Is this related to the following?
@jmgomez
And what's
workingDirectoryMappingused for that differs fromprojectMapping? I getDBG Failed to parse the configuration. error="key not found: [0].workingDirectoryMapping[0].directory"when trying to use it the same way asprojectMapping.