allow completion of tempalte parameter standard properties (#575)
allow completion of template parameter standard properties merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
parent
fc061b148b
commit
144cc4ed41
|
@ -139,6 +139,8 @@ tab character, followed by a completion kind
|
|||
* l - alias name
|
||||
* t - template name
|
||||
* T - mixin template name
|
||||
* h - template type parameter (when no colon constraint)
|
||||
* p - template variadic parameter
|
||||
|
||||
#### Example output
|
||||
|
||||
|
|
2
dsymbol
2
dsymbol
|
@ -1 +1 @@
|
|||
Subproject commit 4606b1608e77af7df58e5d03e18327f623ec25e9
|
||||
Subproject commit 3da6fb97664f3e0156f62f2f8bd21de3b54ccefc
|
2
dub.json
2
dub.json
|
@ -7,7 +7,7 @@
|
|||
],
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"dsymbol": "~>0.5.7",
|
||||
"dsymbol": "~>0.6.0",
|
||||
"libdparse": "~>0.10.10",
|
||||
"msgpack-d": "~>1.0.0-beta.7",
|
||||
"stdx-allocator": "~>2.77.5"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
identifiers
|
||||
C l
|
||||
C h
|
||||
alignof k
|
||||
i v
|
||||
init k
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
identifiers
|
||||
T l
|
||||
T h
|
||||
alignof k
|
||||
bar f
|
||||
init k
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
identifiers
|
||||
init k
|
||||
length k
|
||||
stringof k
|
|
@ -0,0 +1,6 @@
|
|||
identifiers
|
||||
alignof k
|
||||
init k
|
||||
mangleof k
|
||||
sizeof k
|
||||
stringof k
|
|
@ -0,0 +1 @@
|
|||
struct Foo(T...){T.} struct Bar(T){T.}
|
|
@ -0,0 +1,8 @@
|
|||
set -e
|
||||
set -u
|
||||
|
||||
../../bin/dcd-client $1 file.d -c19 > actual1.txt
|
||||
diff actual1.txt expected1.txt
|
||||
|
||||
../../bin/dcd-client $1 file.d -c37 > actual2.txt
|
||||
diff actual2.txt expected2.txt
|
Loading…
Reference in New Issue