Creating Language Plugin not used for new language

Roland Plüss roland at rptd.ch
Sat Aug 11 14:18:04 BST 2018


No, this one is not implemented so far. That would explain the
highlighting but why does the DUChain not show up for example in the
class outline panel?


On 08/11/2018 01:04 PM, Sven Brauch wrote:
> 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


-- 
Mit freundlichen Grüssen
Plüss Roland

Leader und Head Programmer
- Game: Epsylon ( http://www.indiedb.com/games/epsylon )
- Game Engine: Drag[en]gine ( http://www.indiedb.com/engines/dragengine
, http://dragengine.rptd.ch/wiki )
- Sowie verschiedene Blender Export-Skripts und Game-Tools

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180811/428c3847/attachment.sig>


More information about the KDevelop-devel mailing list