Creating Language Plugin not used for new language

Sven Brauch mail at svenbrauch.de
Sat Aug 11 12:04:34 BST 2018


On Saturday, 11 August 2018 00:55:30 CEST Roland Pl├╝ss wrote:
> I'm trying to get the DUChain stuff working. I'm using the python plugin
> as example. I've done now the following:
> - parsed the test-source into an AST (Flex + KDevelop-PG-QT)
> - created DUContext for namespaces/classes/interface to get a first
> working example
> - assigned the DUContext in ParseJob::run() using setDuChain()
> - called highlightDUChain() after setDuChain()
> - notified KDevelop using DUChain::self()->emitUpdateReady(document(),
> duChain());

Did you implement the function

KDevelop::ICodeHighlighting* LanguageSupport::codeHighlighting() const

in your language support?

Best,
Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180811/e6848a51/attachment.sig>


More information about the KDevelop-devel mailing list