WebFreak001
584b245c8b
support .Type
syntax for module type lookup
2023-12-04 13:01:28 +01:00
WebFreak001
dcffd378e1
support casts in initializers
...
rework of #710 , reuses the existing type construction
Co-authored-by: ryuukk <ryuukk.dev@gmail.com>
2023-12-04 12:07:29 +01:00
WebFreak001
fe6ce04720
implement typeof in types
2023-12-04 11:02:05 +01:00
WebFreak001
2bb03265cc
support inlay hints inside functions
...
remake of #759
Co-authored-by: ryuukk <ryuukk.dev@gmail.com>
2023-12-04 11:01:19 +01:00
Jan Jurzitza
b79982d509
Add a new request to get inlay hints ( #764 )
...
Co-authored-by: ryuukk <ryuukk.dev@gmail.com>
2023-12-04 09:38:58 +00:00
imrying
f15ca10acf
fix(env): change the environment to be /usr/bin/env bash
2023-11-07 10:04:33 +01:00
WebFreak001
8a693954d3
add test for ctors not tainting fields
2023-08-19 20:20:26 +02:00
WebFreak001
07576383bf
update exended format in test
2023-05-20 00:18:03 +02:00
ryuukk
33fd0db07d
added test for #717
2023-05-20 00:18:03 +02:00
WebFreak001
dc1305364c
make --logLevel work again, add some test options
2023-05-19 23:53:49 +02:00
WebFreak001
911ce077a5
add auto-generated UFCS correctness checks
2023-05-17 16:15:21 +02:00
WebFreak001
efd8743c9e
fix arithemtic promotions for UFCS / parameters
2023-05-17 16:15:21 +02:00
WebFreak001
fa98057dcc
fix code formatting, fix minor logic errors
...
Also changes struct and class calltips from `Something(T)` to
`Something!(T)`
2023-05-15 16:56:09 +02:00
davu
66e410ae93
Adding finishing touch and test
2023-05-15 16:56:09 +02:00
davu
9484c44b49
Changes according to suggestions
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
WebFreak001
64e318e707
auto-update ddoc-based constants
2023-05-02 03:26:00 +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
Jan Jurzitza
19e019a57b
add PR comments that show build statistics, speed & RAM usage ( #735 )
2023-03-22 03:17:01 +01:00
WebFreak001
c324b60da3
fix UFCS with partial completion, fix #731
2023-03-20 03:49:14 +01:00
WebFreak001
109d56b248
extended array & pointer tests
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
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
795ea87f80
add missing development files to gitignore
2023-03-16 16:13:06 +01:00
davu
810b77fe06
PR changes round 1
2023-03-16 16:08:23 +01:00
davu
6c3c67fa2f
updating dcd tests
2023-03-16 16:08:23 +01: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
davu
86cb518b27
added alias this test
2023-02-25 21:29:39 +01:00
davu
086fc5bd73
added integer promotion, implicit upcast
2023-02-21 21:37:00 +01:00
davu
cad3f3d747
changing naming to respect .gitignore
2023-02-21 21:37:00 +01:00
davu
66b11109fc
updating readme for UFCS
2023-02-21 21:37:00 +01:00
davu
5ff0b74550
adding test for ufcs fundamental types
2023-02-21 21:37:00 +01: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
Crsi
0f68143929
Improve non-linux testing ( #698 )
2022-12-08 19:41:26 +00:00
WebFreak001
2457f70b8e
use isCallableWithArg
in paren completion
...
For consistency and to allow future changes to type matching (e.g.
implicit type conversion)
2022-12-07 21:18:52 +01:00
davu
6c3a4d3797
Added paren completion for UFCS
2022-12-07 19:39:23 +01:00
davu
29dba75ce9
UFCS using new completion kind F
2022-10-18 23:31:20 +02:00
davu
642a0e0a14
minor adjustments
2022-10-18 23:31:20 +02:00
davu
52c0298c3a
UFSC implementation using functionParameters instead and update tests for UFSC
2022-10-18 23:31:20 +02:00
davu
951870e06f
hide private functions
2022-10-18 23:31:20 +02:00
davu
9e60ab8b2c
Adding Simple UFCS
...
Added UFCS navigation
Adding test cases for ufcs
With ufcs update expected test
Updated UFCS with templating support
Removing template function.
2022-10-18 23:31:20 +02:00
WebFreak001
0c7f4a4a56
Integrate dsymbol into DCD
...
fix #669
2022-10-13 18:18:53 +02:00
Jan Jurzitza
46ea058cfb
fix --localUse off-by-one error ( #640 )
2021-07-14 18:41:41 +00:00
Hackerpilot
fe54fa84cb
Test cases for #620
2020-07-25 00:09:42 -07:00
WebFreak001
8c53181ffd
add RequestKind.requiresSourceCode, fix #617
...
this is a or-combined mask of the request kinds which operate on
`request.sourceCode`. Before if a client sent a request without source
code (with empty source) to one of these commands, the server would
crash with an assertion failure, now the server returns an empty
response.
2020-06-19 22:16:46 +02:00