Commit Graph

42 Commits

Author SHA1 Message Date
WebFreak001 d6376c4881
Fuzzy matching instead of startsWith for filtering
Experimental, subject to change
2023-03-20 04:03:17 +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
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 e6b94622f0 dsymbol deduces ufcs 2023-03-16 16:08:23 +01:00
davu c336004ed8 moving ufcs logic to dsymbol 2023-03-08 15:56:43 +01:00
davu 92f2d73731 Added max recusion guard depth 2023-02-25 21:29:39 +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 086fc5bd73 added integer promotion, implicit upcast 2023-02-21 21:37:00 +01: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 4fd12cf485 adding null check for firstSymbol 2022-12-07 19:39:23 +01:00
davu 6c3a4d3797 Added paren completion for UFCS 2022-12-07 19:39:23 +01:00
WebFreak001 15ae4e5f00
change `body` to `do` in util.d
Fixes deprecation, brings file in alignment with rest of code
2022-11-14 13:02:20 +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 98d09a2fe5 Removing unsused cases 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 5c529f300d use GC nearly everywhere 2022-10-13 18:18:53 +02:00
WebFreak001 4594a63634 replace stdx-allocator with std.experimental 2022-10-13 18:18:53 +02:00
Per Nordlöw 5aba1b1b54 Use scope instead of std.typecons.scoped 2021-10-10 19:05:41 +02:00
Jan Jurzitza 46ea058cfb
fix --localUse off-by-one error (#640) 2021-07-14 18:41:41 +00:00
WebFreak001 6a195ea86a make private symbols not show up in auto complete 2019-05-12 00:44:15 +02:00
Basile-z cb0e49bc36 fix #584 - crash when completing and if the previous expression is negated (#586)
fix #584 - crash when completing and if the previous expression is negated
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-02-18 06:41:21 +01:00
BBasile b764ad2486 fix #561 - possible range violation (#566)
fix #561 - possible range violation
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-12-31 00:30:28 +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 670c05bf37 fix #558 - regression in import completion due to FQN autocomplete 2018-12-29 16:40:24 +01:00
Basile Burg 292f3bae06 fix issue 557 - Module name completion should not complete anything 2018-12-29 14:29:37 +01:00
BBasile 09ba8f8787 add support for the Module Scope Operator, close #548 (#550)
add support for the Module Scope Operator, close #548
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-12-24 14:11:05 +01:00
Basile Burg 9b7414367d Update to dparse 0.10.x 2018-11-08 12:14:26 +01:00
Basile Burg 5398d88114 fix #504 - Completion for partial identifier matching to a basic type doesn't work 2018-07-11 13:59:22 +02:00
Basile Burg 5a8b2f7838 fix #382 - No completion when current string is a keyword 2018-04-25 00:03:45 +02:00
Hackerpilot c34a3f4b3c Add some attributes 2018-03-19 16:57:11 -07:00
Basile Burg b646dd4680 warn about bad cursor position 2018-02-24 13:41:05 +01:00
Basile Burg 7e70c26faa fix #442 - Prevent crash when cursor is in the middle of a UTF sequence 2018-02-24 12:58:38 +01:00
Sebastian Wilzbach 468c4ebf60 Switch to use the frozen stdx-allocator 2018-02-11 15:16:41 +01:00
WebFreak001 17789292e0 Adjust to requested changes 2017-11-29 11:17:13 +01:00
WebFreak001 172d45ce81 Added --full output mode
This will send symbol location & documentation along with completions and calltips

partly #20, fix #96, fix #269
2017-11-25 00:24:39 +01:00
Laurent Tréguier ad9c08c6b0 Move everything under package `dcd` (#417)
Move everything under package `dcd`
merged-on-behalf-of: Richard Andrew Cattermole <alphaglosined@gmail.com>
2017-11-02 11:03:56 +01:00