aBothe / Mono-D

D Add-In for MonoDevelop
http://wiki.dlang.org/Mono-D
Other
113 stars 26 forks source link

All files show up twice in dub projects #547

Closed etcimon closed 10 years ago

etcimon commented 10 years ago

Windows and linux latest versions of everything, both have this problem of duplicating files in the workspace tree. The filesystem is not affected.

aBothe commented 10 years ago

could you send me the dub.json?

etcimon commented 10 years ago

I tried multiple dub.json projects, they all have this behavior

aBothe commented 10 years ago

Ah, that's probably because I'm including now all subdirectories of a dub project. And if there's any subpackage, it will be rendered twice. Hmm.

etcimon commented 10 years ago

Actually, I just tried vibe.d and it was fine. The problem is with libasync and botan.

https://github.com/etcimon/libasync https://github.com/etcimon/botan

aBothe commented 10 years ago

Okay, that's obvious then: source/botan is a subdirectory of the dub project--which is then added twice or so. Hmm.

etcimon commented 10 years ago

I removed sourcePath and the problem is solved. I think I prefer the new mono-d behavior, but I'd probably just restrict the tree if it's present.

etcimon commented 10 years ago

Actually, I was trying out clion recently to adapt those c++ projects and they show the entire file structure but gray out the folders and files that are not in sourcePath or the default path. Maybe MonoDevelop has a similar interface?

etcimon commented 10 years ago

Btw, the document outline is missing spaces after commas, I get confused every time I look at it. Was it a deliberate design decision?

aBothe commented 10 years ago

missing spaces after commas? Of which kind of symbols are you talking about? Got a screenshot?

etcimon commented 10 years ago

Yes, I refer myself to the document outline and leave it on the right bar. It works so far but it feels hard because there's no spacing after the commas.

doc-outline