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