Skip to content

Commit 002dce9

Browse files
shivam71Achal1607
authored andcommitted
Issue with notebook configurations fixed
Refactorings done as a part of Achal1607@b02d686 caused the issue. Language client must be set before initializing the configurations.
1 parent 90620e8 commit 002dce9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nbcode/notebooks/src/org/netbeans/modules/nbcode/java/notebook/NotebookDocumentServiceHandlerImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,9 @@ public CompletableFuture<Either<List<CompletionItem>, CompletionList>> completio
142142

143143
@Override
144144
public void connect(LanguageClient client) {
145-
NotebookConfigs.getInstance().initConfigs();
146145
LanguageClientInstance.getInstance().setClient((NbCodeLanguageClient) client);
146+
NotebookConfigs.getInstance().initConfigs();
147+
147148
}
148149

149150
@Override

0 commit comments

Comments
 (0)