News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

D Programming Language Support

Started by nocide, March 23, 2010, 12:58:11 PM

Previous topic - Next topic

oBFusCATed

The code-completion is C/C++ only.
It might have worked in the past, because D looks like C/C++ (sometimes), but there is no guarantee that it will work in the future or for every project.
If you want to have CC for D in C::B the only solution is to step up and implement one.
If you use a existing parser it should not be that hard.
You only have to know to program in C++ and wxWidgets (this is not a requirement, because the lib is not that hard).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Marenz

I don't want any code completion. I just want the class browser in the "Symbols" tab to work again.

ollydbg

Quote from: Marenz on August 31, 2011, 03:53:34 PM
I don't want any code completion. I just want the class browser in the "Symbols" tab to work again.
D language has the different syntax or semantic grammar, and we only have c/c++ parser. class browser also need the c/c++ parser to collect the tags/tokens.

As obf said, we only implement c/c++ parser. Currently no D parser is implemented. So, no idea to support class browser for D language.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Marenz

Hmm I see. So it probably worked in the past and doesn't work anylonger because you made the parser for c++ smarter?

Is syntax hilighting related to this? Because that does still work.

  --Marenz

oBFusCATed

No, the syntax highlighter is implemented inside wxScintilla. The editor component, we are using.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]