You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a few times that reports have come in via sentry
ava.lang.IllegalArgumentException: Could not find single match for token: 'floatLiteral'. 0 matches found
at io.github.intellij.dlanguage.parser.DLangParser.tok(DLangParser.java:9465)
at io.github.intellij.dlanguage.parser.DLangParser.<init>(DLangParser.java:135)
at io.github.intellij.dlanguage.parser.ParserWrapper.parseLight(ParserWrapper.java:23)
at io.github.intellij.dlanguage.parser.ParserWrapper.parse(ParserWrapper.java:448)
It seems that for some reason Intellij is scanning the content of the users python installation. There are numerous files with a .d extension such as
test/dtracedata/assert_usable.d
test/dtracedata/call_stack.d
test/dtracedata/gc.d
test/dtracedata/line.d
which the IDE then treats as D source. This example was from Intellij IDEA Ultimate 2023.1.2 on Linux:
com.intellij.diagnostic.PluginException: Failed to build index 'DModuleIndex' for file file:///usr/lib/python3.10/test/dtracedata/line.d (id = 2365) (file type = D file) [Plugin: net.masterthought.dlanguage]
at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:89)
at com.intellij.util.indexing.diagnostic.BrokenIndexingDiagnostics$DefaultListener.onFileIndexMappingFailed(BrokenIndexingDiagnostics.kt:47)
at com.intellij.util.indexing.FileBasedIndexImpl.createSingleIndexValueApplier(FileBasedIndexImpl.java:1690)
at com.intellij.util.indexing.FileBasedIndexImpl.lambda$doIndexFileContent$26(FileBasedIndexImpl.java:1546)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyWithProvidedValueIn(FileTypeManagerImpl.java:675)
at com.intellij.util.indexing.FileBasedIndexImpl.doIndexFileContent(FileBasedIndexImpl.java:1494)
at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1467)
The plugin should only be treating *.d or *.di files as D source if it's files within the project under content roots or modules that have been added as D dependencies via dub.
The text was updated successfully, but these errors were encountered:
got a similar error reported for method_compile_stat.d which is was related to dtrace files in Android source code
SingingBush
changed the title
DLangParser is attempting to parse *.d files in python installation
DLangParser is attempting to parse *.d files related to DTrace for things like Python installations and Android sdk
Jul 15, 2023
There's a few times that reports have come in via sentry
It seems that for some reason Intellij is scanning the content of the users python installation. There are numerous files with a
.d
extension such aswhich the IDE then treats as D source. This example was from Intellij IDEA Ultimate 2023.1.2 on Linux:
The plugin should only be treating
*.d
or*.di
files as D source if it's files within the project under content roots or modules that have been added as D dependencies via dub.The text was updated successfully, but these errors were encountered: