ryuukk
0088c05a2f
Save progress
2023-10-05 18:49:22 +02:00
ryuukk
76bba560e0
update dsymbol test
2023-10-05 07:08:23 +02:00
ryuukk
05c8e4fced
Saving progress + debugging bits on purpose
2023-10-05 06:58:47 +02:00
ryuukk
978c7a1bfa
Remove debugging left over
2023-10-05 05:44:02 +02:00
ryuukk
aa9865535a
skip pointers
2023-10-05 05:42:05 +02:00
ryuukk
1be5d16f5e
Display template parameters for the code completion
2023-10-05 05:26:35 +02:00
ryuukk
c24981f9ba
Fix test
2023-08-12 02:00:17 +02:00
ryuukk
9c08819a0f
Make sure aliases are properly resolved
2023-08-12 00:20:22 +02:00
ryuukk
7cbe5289f7
Apply some code review suggestions
2023-08-09 18:51:26 +02:00
ryuukk
e5bade2878
Apply changes from latest libdparse version
2023-08-09 18:11:56 +02:00
ryuukk
8098d80435
never own builtin symbols
2023-08-09 18:05:10 +02:00
ryuukk
48c89d7fc1
add more tests
2023-08-09 18:05:10 +02:00
ryuukk
68d468ca06
make it work with builtin symbols
2023-08-09 18:05:10 +02:00
ryuukk
0ede218bc6
resolve templates
2023-08-09 18:05:10 +02:00
WebFreak001
1c60c5480f
fix dsymbol tests
2023-05-20 00:18:03 +02:00
ryuukk
953d32f2fa
run a lightweight version of second phase to make sure no symbols are left out
2023-05-20 00:18:03 +02:00
WebFreak001
5975b9c535
fix wrong initializer visitors
2023-05-19 23:32:25 +02:00
WebFreak001
eead318246
upgrade libdparse to 0.23.0
2023-05-19 23:32:25 +02:00
WebFreak001
efd8743c9e
fix arithemtic promotions for UFCS / parameters
2023-05-17 16:15:21 +02:00
WebFreak001
cdf4b56eb3
store parameter storage classes in DSymbols
2023-05-17 16:15:21 +02:00
Vushu
4d3bc1142d
Update dsymbol/src/dsymbol/builtin/symbols.d
...
Co-authored-by: Jan Jurzitza <gh@webfreak.org>
2023-05-15 16:56:09 +02:00
davu
371a36e9d5
adding bang completion for template func, struct, class
2023-05-15 16:56:09 +02:00
davu
218d047760
PR changes
2023-04-01 20:11:21 +02:00
davu
9e4c70ce15
added ufcs completion for string and string literal
2023-04-01 20:11:21 +02:00
Vushu
fbd79b258f
refactoring match algorithm to not use recursion for UFCS ( #736 )
2023-03-23 00:50:46 +01:00
WebFreak001
c324b60da3
fix UFCS with partial completion, fix #731
2023-03-20 03:49:14 +01:00
WebFreak001
996141cc1b
minor style cleanup
2023-03-19 23:39:50 +01:00
davu
8326bdb428
Included array matching
2023-03-19 23:39:50 +01:00
davu
95e484a202
Adding ufcs to math with type of pointer
2023-03-19 23:39:50 +01:00
WebFreak001
e65e86a744
Document special breadcrumb/symbol names
...
Also auto-generate the istring value from an UDA, to make it easier to
add/remove things without worrying about breakage.
2023-03-16 22:09:16 +01:00
WebFreak001
22f65d51fe
Resolve ptr, array & aa in types, add typeOf field
...
typeOf field is new tab-delimited field in dcd-client output, so you no
longer need to manually guess types / parse code. Calltips still yield
the actual written type, but in case of "auto", the typeOf column may
contain more useful info.
2023-03-16 16:45:25 +01:00
WebFreak001
690d6254db
Properly implement pointer types
...
- special DCD pointer symbols are actually inserted now
- they are implicitly dereferenced (max 1 deref) for member access
- index accessing them yields proper types (one pointer removed)
- they return standard type properties on pointer pointers
2023-03-16 16:45:25 +01:00
WebFreak001
24f67f3b63
remove PR introduced unused variable
2023-03-16 16:08:23 +01:00
WebFreak001
c196130c78
fix destroying of unowned symbols
2023-03-16 16:08:23 +01:00
WebFreak001
a6eead7c81
improve code style in utility function
2023-03-16 16:08:23 +01:00
davu
810b77fe06
PR changes round 1
2023-03-16 16:08:23 +01:00
davu
0c22a2bf7e
refixing ufcs calltips
2023-03-16 16:08:23 +01:00
davu
2fd33fc27f
Adding non contrainted templates into ufcs completion
2023-03-16 16:08:23 +01:00
davu
e6b94622f0
dsymbol deduces ufcs
2023-03-16 16:08:23 +01:00
davu
a739070310
moving utils to dsymbol
2023-03-16 16:08:23 +01:00
davu
c336004ed8
moving ufcs logic to dsymbol
2023-03-08 15:56:43 +01:00
Vushu
1b67f493d4
Adding return type symbol ( #720 )
2023-03-05 17:00:50 +00:00
davu
434a838d20
Updated for PR
2023-02-25 21:29:39 +01:00
davu
de001983c2
Adding alias this to symbol and match algorithm
2023-02-25 21:29:39 +01:00
WebFreak001
5a04cd2404
allow arbitrary libdparse versions in dsymbol
2023-02-15 08:38:10 +02:00
WebFreak001
4fa9a42974
upgrade to libdparse 0.22.0
2023-02-15 08:38:10 +02:00
ryuukk
1c54fc9873
Move third phase to its own module ( #708 )
2023-02-06 14:38:10 +00:00
ryuukk
0f69db00fb
Public import recurse fix ( #706 )
...
* Add a 3rd phase to tesolve missing types that were parsed recursively
* store the type name into its own field, so we could resolve templates later
Fixes https://github.com/dlang-community/DCD/issues/678
2023-02-03 10:56:10 +00:00
WebFreak001
4c426d73d1
bump libdparse to 0.21.1
...
Mainly adds some new syntax parsing support
2022-12-30 16:22:50 +01:00
davu
29dba75ce9
UFCS using new completion kind F
2022-10-18 23:31:20 +02:00