go to imlementation not working?

General questions regarding the usage of CodeLite
gerardpuducul
CodeLite Enthusiast
Posts: 36
Joined: Mon Sep 08, 2008 5:11 pm
Contact:

Re: go to imlementation not working?

Post by gerardpuducul »

Place your caret on 'function' and hit Ctrl-D or (Search -> Find Symbol)
if i have the declaration and the function in the same file a dialog open with 2 references to function (prototype and function)

if i have the declaration and the function in 2 differents file, when I hit Crtl-D on the declaration codelite focus on the function, and when I do the same thing on the function nothing happen

here is the .project

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CodeLite_Project Name="test">
  <Description/>
  <Dependencies/>
  <Settings Type="Executable">
    <Configuration Name="Debug" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="">
      <General OutputFile="$(IntermediateDirectory)/$(ProjectName)" IntermediateDirectory="./Debug" Command="./$(ProjectName)" CommandArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="yes"/>
      <Compiler Required="yes" Options="-g">
        <IncludePath Value="."/>
      </Compiler>
      <Linker Required="yes" Options=""/>
      <ResourceCompiler Required="no" Options=""/>
      <PreBuild/>
      <PostBuild/>
      <CustomBuild Enabled="no">
        <CleanCommand/>
        <BuildCommand/>
        <SingleFileCommand/>
        <MakefileGenerationCommand/>
        <ThirdPartyToolName>None</ThirdPartyToolName>
        <WorkingDirectory/>
      </CustomBuild>
      <AdditionalRules>
        <CustomPostBuild/>
        <CustomPreBuild/>
      </AdditionalRules>
    </Configuration>
    <Configuration Name="Release" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="">
      <General OutputFile="$(IntermediateDirectory)/$(ProjectName)" IntermediateDirectory="./Release" Command="./$(ProjectName)" CommandArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="yes"/>
      <Compiler Required="yes" Options="">
        <IncludePath Value="."/>
      </Compiler>
      <Linker Required="yes" Options="-O2"/>
      <ResourceCompiler Required="no" Options=""/>
      <PreBuild/>
      <PostBuild/>
      <CustomBuild Enabled="no">
        <CleanCommand/>
        <BuildCommand/>
        <SingleFileCommand/>
        <MakefileGenerationCommand/>
        <ThirdPartyToolName>None</ThirdPartyToolName>
        <WorkingDirectory/>
      </CustomBuild>
      <AdditionalRules>
        <CustomPostBuild/>
        <CustomPreBuild/>
      </AdditionalRules>
    </Configuration>
  </Settings>
  <VirtualDirectory Name="source">
    <File Name="test.c"/>
    <File Name="test2.c"/>
  </VirtualDirectory>
</CodeLite_Project>


User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: go to imlementation not working?

Post by eranif »

Can u zip the entire workspace (projects, files) and send it to me?

eran dot ifrah @ gmail dot come

Eran
Make sure you have read the HOW TO POST thread
gerardpuducul
CodeLite Enthusiast
Posts: 36
Joined: Mon Sep 08, 2008 5:11 pm
Contact:

Re: go to imlementation not working?

Post by gerardpuducul »

done
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: go to imlementation not working?

Post by eranif »

gerardpuducul wrote:done
Thanks,

As expected: all is working here

here is what I did:
- created a new dirctory 'impl_not_working'
- extracted the content of the zip file there, so now I have: impl_not_working/test/
- copied the workspace file to 'impl_not_working'
- Opened the workspace -> retagged it

I also tried to move impl/decl to the second file and all is working as well.

I dont know If I asked you this or not:
Which CodeLite revision are you using and OS?

Eran
Make sure you have read the HOW TO POST thread
gerardpuducul
CodeLite Enthusiast
Posts: 36
Joined: Mon Sep 08, 2008 5:11 pm
Contact:

Re: go to imlementation not working?

Post by gerardpuducul »

I use the rev 1789 ( i have seen in the forum amnoucement that a rev 2013 is avaible but the link jump to the rev 1789)

I use it on windows (sorry) :roll: :roll:
gerardpuducul
CodeLite Enthusiast
Posts: 36
Joined: Mon Sep 08, 2008 5:11 pm
Contact:

Re: go to imlementation not working?

Post by gerardpuducul »

I have tested with the rev 2060 and all is ok!!!!! :D :D

Sorry for all!!!!!
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: go to imlementation not working?

Post by eranif »

gerardpuducul wrote:I use the rev 1789 ( i have seen in the forum announcement that a rev 2013 is avaible but the link jump to the rev 1789)
I should fix this ASAP.

This is why stating revision/OS should be the first thing in posts...

Eran
Make sure you have read the HOW TO POST thread
Post Reply