Fix autocomplete

This commit is contained in:
Grim Maple 2022-04-06 22:18:34 +03:00
parent c566de2633
commit b511e32ca3
2 changed files with 5 additions and 5 deletions
dub.json
src/dlangide/tools/d

View File

@ -12,7 +12,7 @@
"stringImportPaths": ["views"],
"dependencies": {
"dlangui": "==0.9.182",
"dlangui": { "path": "../dlangui"},
"dsymbol": "~>0.4.8",
"dcd": "~>0.9.13"
},
@ -30,19 +30,19 @@
"configurations" : [
{
"name" : "default"
},
},
{
"name" : "minimal",
"subConfigurations" : {
"dlangui" : "minimal"
}
},
},
{
"name" : "console",
"subConfigurations" : {
"dlangui" : "console"
}
},
},
{
"name" : "x11",
"subConfigurations" : {

View File

@ -322,7 +322,7 @@ class DCDInterface : Thread {
if (i < response.completionKinds.length)
type = response.completionKinds[i];
result.output[i].kind = type;
result.output[i].name = to!dstring(s);
result.output[i].name = to!dstring(s.identifier);
i++;
}
if (response.completionType == "calltips") {