Commit Graph

130 Commits

Author SHA1 Message Date
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
WebFreak001 5c529f300d use GC nearly everywhere 2022-10-13 18:18:53 +02:00
WebFreak001 e7c7f86455 fix mutating list while iterating over it 2022-10-13 18:18:53 +02:00
WebFreak001 0c7f4a4a56 Integrate dsymbol into DCD
fix #669
2022-10-13 18:18:53 +02:00
WebFreak001 4594a63634 replace stdx-allocator with std.experimental 2022-10-13 18:18:53 +02:00
Hackerpilot dbc9d82f70 Update several dependencies.
libdparse: Get support for 'throw' as a function attribute
dsymbol: A bug fix that will fix issue 620
msgpack-d: Fix some deprecations and some build issues on Windows
containers: Some bug fixes.
2020-07-29 23:04:19 -07:00
Jan Jurzitza 15f71142ec use d-test-utils & bump libdparse to 0.15.x
Because this release fixes the private protection issue through new
dsymbol (since 0.11.0) we also need to bump libdparse to at least 0.15.0
so no older libdparse versions are supported.
2020-07-22 07:43:18 +02:00
Basile Burg 005baccdc5 update dparse to 0.13.z 2019-07-11 16:19:34 +02:00
Basile Burg abd29bcb0c fix #600 - Wrong scope for parameter solving in nested funcs 2019-05-12 02:20:04 +02:00
WebFreak001 6a195ea86a make private symbols not show up in auto complete 2019-05-12 00:44:15 +02:00
Basile Burg 33a673836e update dsymbol to fix #592, and to also to fix #593 2019-03-28 13:17:36 +01:00
Basile Burg 53db8bf9ee upgrade dependencies 2019-03-17 08:44:03 +01:00
Basile-z adc3b815dc Update dsymbol to include the recent progresses on array type resolution (#581)
Update dsymbol to include the recent progresses on array type resolution
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-01-22 12:16:12 +01:00
BBasile 144cc4ed41 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>
2019-01-13 09:44:25 +01:00
BBasile 216275ead9 fix wrong completion for if variable initialized with an array (#565)
fix wrong completion for if variable initialized with an array
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-12-31 00:11:44 +01:00
Jan Jurzitza 6ae1b6f890 Extended mode ditto comment support (#562)
Extended mode ditto comment support
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-12-29 20:38:38 +01:00
Basile Burg a324922558 update dependencies to allow building with `-dip25` 2018-12-29 10:45:24 +01:00
Basile Burg 32865f8617 fix #551 - Add completions for template type parameter with colon type 2018-12-20 14:53:59 +01:00
Basile Burg 77347c10a8 fix #489 - Abnormal completion list for core.thread.Thread 2018-11-09 13:09:41 +01:00
Basile Burg 9b7414367d Update to dparse 0.10.x 2018-11-08 12:14:26 +01:00
Basile Burg ff3c7d212b Add support for auto anon class completion, close #532 2018-09-16 20:07:30 +02:00
Basile Burg 530a78f38e fix issue #489 - fix issue #523, mess in scopes 2018-09-02 19:34:21 +02:00
Laurent Tréguier 436778fd1b fix #521 - Add a request allowing to remove a set of import path (#522)
fix #521 - Add a request allowing to remove a set of import path
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-08-10 09:15:07 +02:00
Basile Burg 599b6a5a23 Update dsymbol and dparse
While updating D-Scanner for phobos a possible range violation in dsymbol has been discovered.
Also a custom function body parser was not yet adapted to the expressions-based contracts.

Dparse is also updated to allow the new syntax of enum members, which will come with DMDFE 2.082
2018-08-03 00:44:52 +02:00
Basile Burg 8927d99a49 fix #516 - Add support for expression-based contracts 2018-07-28 21:22:27 +02:00
Basile Burg 0e53e96c4e fix #510 - mixin template and alias 2018-07-21 11:40:43 +02:00
Basile Burg c55131d07c fix #495 - Completion no working on variable named `body` 2018-06-14 15:16:05 +02:00
Basile Burg ddd7c3801f fix #493 - regression, crash when trying to get completion for selective import 2018-06-11 13:37:03 +02:00
Basile Burg 6cdef23f59 fix #490 - Crash while writing if statements 2018-06-02 05:07:08 +02:00
Basile Burg 94c8670efc fix #484 - no completion for variable declared in the `IfCondition`s 2018-05-13 21:41:22 +02:00
Basile Burg 735c0e0a3d fix #481 - No dot completion on `char` 2018-05-10 16:12:42 +02:00