dlang-community / DCD

The D Completion Daemon is an auto-complete program for the D programming language
GNU General Public License v3.0
349 stars 71 forks source link

Handle ``package`` access visibility #770

Open ryuukk opened 11 months ago

ryuukk commented 11 months ago

If module a has functions that are marked package, they should be only seen when requesting completions from a module within package a

https://dlang.org/spec/attribute.html#package

Relevant region:

https://github.com/dlang-community/DCD/blob/57794ca8759ef7ecea640908d7caa03966504e7b/src/dcd/server/autocomplete/complete.d#L755-L767