Language Support plug-in, Code-completion

Łukasz Kucharski lukasz.kucharski at nsn.com
Thu Sep 1 13:05:59 UTC 2011


Hi,

I'm working on language which is called TTCN-3 - it's not very popular one.

Currently I have repository on gitorius  
http://gitorious.org/kdevttcnsupport,
but if there is a possibility to have KDE's git repo it would be great.

Thanks about the hint I will check it.

Dnia 01-09-2011 o 14:19:53 ext Milian Wolff <mail at milianw.de> napisał(a):

> On Wednesday 31 August 2011 17:27:55 Lukasz Kucharski wrote:
>> Hi all,
>
> Hey there! Might I ask which language you are working on? If you want,  
> you can
> work on that in KDE's git using a personal repo. This way we can better  
> help
> you as well, as we can easily access the code if required and do changes.
>
>> I have a question regarding Code Completion and text replacement in  
>> editor
>> upon item selection (execute).
>>
>> I'm dealing with language where it is not allowed to have '()' for
>> function invocation which have empty argument list.
>>
>> Unfortunately when code-completion prepares item and item with function
>> declaration is selected (execute method is invoked) also '()' is added  
>> at
>> the end.
>>
>> Guys do you know how to change this behavior? (or maybe you know where  
>> is
>> code that inserts '()')
>
> In PHP at least I think it's completion/item.cpp ->
> NormalDeclarationCompletionItem::executed which calls  
> insertFunctionParenText.
>
> bye




More information about the KDevelop-devel mailing list