Samael
Samael
do you use D tools, eg DCD, DScanner, Dfmt? Also, are you Windows, Linux, or Mac?
@the-Mitu to help narrow down the cause can you try removing dub from the D Tools menu and seeing if things improve (also check your system to see if there...
@Scellow there's not been an update on this for a while. Is it still ongoing? If so could you please rebase against the develop branch
I've not had time to look into this yet. I suspect it will simply need fixing as _DLangLibrary_ is pretty fundamental. Looks like there will be changes needed anywhere that...
this is still a problem in 1.28.1 (reported from IDEA 2022.1.3) ``` com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation at com.intellij.openapi.project.IndexNotReadyException.create(IndexNotReadyException.java:67) at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:844) at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:792) at com.intellij.psi.stubs.StubIndexEx.getContainingIds(StubIndexEx.java:352) at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:159)...
this is another issue related to _DubConfigurationParser::getDubProject_ which often takes a long time due to the call to `dub describe`. https://github.com/intellij-dlanguage/intellij-dlanguage/issues?q=is%3Aissue+is%3Aopen+DubConfigurationParser I think doing #571 will make a good improvement...
again with version 1.24.1: ``` java.lang.IllegalArgumentException: string:identifier at io.github.intellij.dlanguage.parser.DLangParser.tok(DLangParser.java:8616) at io.github.intellij.dlanguage.parser.DLangParser.parseIdentifierChain(DLangParser.java:4244) at io.github.intellij.dlanguage.parser.DLangParser.parseSingleImport(DLangParser.java:6123) at io.github.intellij.dlanguage.parser.DLangParser.parseImportDeclaration(... ```
For now I've just improved the error message
error.message | Could not find single match for token: 'identifier'. 0 matches found -- | -- error.stacktrace | java.lang.IllegalArgumentException: Could not find single match for token: 'identifier'. 0 matches found...
This could be related with the change to using a do while loop in `private Token[] getTokens(@NotNull final PsiBuilder builder)`: ```java do { @Nullable final IElementType tokenType = builder.getTokenType(); if(tokenType...