Creating Language Plugin not used for new language

Sven Brauch mail at svenbrauch.de
Fri Sep 14 19:13:55 BST 2018


Hi,

On Friday, 14 September 2018 18:41:05 CEST Roland Pl├╝ss wrote:
> I experiment a lot with this stuff looking at the python plugin to
> figure out how this is supposed to work. As I understand it I need to
> parse the files with the background parser. What I don't get though is
> how I can link this "in the process of being parsed" source files to
> actual source files opened in KDevelop. I think I am missing here
> something but without proper documentation I'm guessing around left and
> right.

You need to enqueue them with the background parser and then basically wait 
for the job to complete. You cannot import a "pending" top-context into 
another one. You probably want to do someting like aborting the job and 
queueing the file again with a lower priority if you notice that the built-in 
files are not parsed yet.

Hope that helps and good luck,
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/20180914/1a26ea76/attachment.sig>


More information about the KDevelop-devel mailing list