Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » context sensitive help will not work allways.
context sensitive help will not work allways. [message #36281] Wed, 18 March 2009 07:58 Go to next message
Gunter Pfeiffer is currently offline Gunter Pfeiffer
Messages: 30
Registered: July 2009
Member
Some of my function will not displayed in an hover when i move the courser
on it.
And this is at the same time when will work correct for other functions
from the same library.

Normally this should not possible unless there is a list of not allowed
words or something like this.

Any idea ??

best regards
Gunter
Re: context sensitive help will not work allways. [message #36347 is a reply to message #36281] Thu, 19 March 2009 10:44 Go to previous messageGo to next message
Alex Panchenko is currently offline Alex Panchenko
Messages: 342
Registered: July 2009
Senior Member
Hi Gunter,

Probably in some cases DLTK is not able to detect the reference to your
functions, e.g. if the function call is deeply nested inside curly
braces, etc.

If you could provide simple examples I can check what exactly happens.

Regards,
Alex

Gunter Pfeiffer wrote:
> Some of my function will not displayed in an hover when i move the
> courser on it.
> And this is at the same time when will work correct for other functions
> from the same library.
>
> Normally this should not possible unless there is a list of not allowed
> words or something like this.
>
> Any idea ??
>
> best regards Gunter
>
>
Re: context sensitive help will not work allways. [message #36376 is a reply to message #36347] Thu, 19 March 2009 14:04 Go to previous messageGo to next message
Gunter Pfeiffer is currently offline Gunter Pfeiffer
Messages: 30
Registered: July 2009
Member
Hello Alex,

at the Moment i had no simple example.

But an example:

for { set num 1000 } { $num <= 10000 } { incr num 1000 } {
if { [CheckBreak] } {break}

TlPrint ""
TlPrint "activate Gear, Immediate synchronisation, factor =
$num:$denom"
if { ![pdoActivateMode $mode $action $denom $num] } { break }
doWaitMs 500
pdoCheckMotionStatBit $AW_NACT_P 1
pdoCheckDriveStatBit $PDO_DSTAT_X_ERR 0
pdoCheckDriveStatBit $PDO_DSTAT_X_END 0
set sollSpeed [expr round( ($WagoSpeed * 60.0 / $INC_PRO_1U) *
($num/$denom) )]
checkNAct $sollSpeed [expr abs(round($sollSpeed*0.02))] ;# +2% Tol
checkNPRef $sollSpeed [expr abs(round($sollSpeed*0.02))] ;# +2% Tol

} ;# for

The definition of "pdoActivateMode" is not found.
But the definition off :

pdoCheckMotionStatBit
pdoCheckDriveStatBit

is found. And all procs are in the same file.

Hope this will help.
If not please call for more infos.
Thanks
Gunter
Re: context sensitive help will not work allways. [message #36516 is a reply to message #36376] Thu, 26 March 2009 13:21 Go to previous messageGo to next message
Alex Panchenko is currently offline Alex Panchenko
Messages: 342
Registered: July 2009
Senior Member
Hi Gunter,

I have expected something like that - function calls inside [] are not
always handled.

We have it in plans, though there some different cases here,
like 'set a [func]' and 'if { [func] } ....'.

Regards,
Alex

Gunter Pfeiffer wrote:
> Hello Alex,
>
> at the Moment i had no simple example.
>
> But an example:
>
> for { set num 1000 } { $num <= 10000 } { incr num 1000 } {
> if { [CheckBreak] } {break}
>
> TlPrint ""
> TlPrint "activate Gear, Immediate synchronisation, factor =
> $num:$denom"
> if { ![pdoActivateMode $mode $action $denom $num] } { break }
> doWaitMs 500
> pdoCheckMotionStatBit $AW_NACT_P 1
> pdoCheckDriveStatBit $PDO_DSTAT_X_ERR 0
> pdoCheckDriveStatBit $PDO_DSTAT_X_END 0
> set sollSpeed [expr round( ($WagoSpeed * 60.0 / $INC_PRO_1U) *
> ($num/$denom) )]
> checkNAct $sollSpeed [expr abs(round($sollSpeed*0.02))] ;# +2% Tol
> checkNPRef $sollSpeed [expr abs(round($sollSpeed*0.02))] ;# +2% Tol
>
> } ;# for
>
> The definition of "pdoActivateMode" is not found.
> But the definition off :
>
> pdoCheckMotionStatBit pdoCheckDriveStatBit
> is found. And all procs are in the same file.
>
> Hope this will help.
> If not please call for more infos.
> Thanks
> Gunter
>
>
>
>
>
>
>
Re: context sensitive help will not work allways. [message #36544 is a reply to message #36516] Fri, 27 March 2009 09:13 Go to previous message
Gunter Pfeiffer is currently offline Gunter Pfeiffer
Messages: 30
Registered: July 2009
Member
Hello Alex,

thank you for your information.

If you will go on with this problem
it would be very kindly from you
if you could inform me.

Than i can test for you.

Thanks in advance.

Best regards
Gunter
Previous Topic:Content assist contributor extension points?
Next Topic:LTK: Need to replace DeleteResourcedRefactoringContribution
Goto Forum:
  


Current Time: Wed Oct 22 06:31:12 GMT 2014

Powered by FUDForum. Page generated in 0.03099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software