Jan Jurzitza
Jan Jurzitza
You should maybe escape the name for regex before testing, and also add \b before and after the name so it doesn't mark nicknames mid-word. This could also be combined...
this is fixed since https://github.com/dlang-community/DCD/pull/328 in IDEs that pass in the import files from DUB into DCD. In code-d/serve-d this has been disabled though as it significantly increased memory usage...
you are right, the change adding support for indexing individual files doesn't change the module matching, it still only relies on the path to resolve which modules are where. DCD...
unnecessary reads of files just to figure out the module names would introduce a lot of I/O overhead for very little benefit as 98% of the dub ecosystem have matching...
we can make it work through the sourceFiles setting in dub, which can be indexed by DCD, (and is also used in a lot of packages which have this kind...
D-Scanner already covers this: ``` void main() { int x; int x; int y; } stdin(3:5)[warn]: Variable "x" has the same name as a variable defined on line 2. ```...
there are a few types of things to implement: - check: variable access in functions - check: member access in classes (only ctor may initialize properly) - keep in mind:...
platform? self compiled dmd with ldc or the one from the releases page?
embedded the dropbox image for you so people don't need to go to an external website
I copied the image and did ctrl-v in the github comment editor, it uploads it. It's the same like drag and dropping the image in here