Page MenuHomePhabricator

[HELP] Symbol Index Setups For Swift
Closed, ResolvedPublic

Asked by shan199105 on May 21 2016, 2:18 AM.

Details

Hi,

I have a problem when setting up symbol index for my repository. The language I use is "Swift". I updated my server ctags tool and add a config for it to generate swift ctags file and use ./scripts/symbols/generate_ctags_symbols.php to generate swift symbol index. It seems no problem while generating the symbol. Here is a screenshot for part of its result.

admin@r1. ~-repo-pbt-repo-phabricator — ssh -p 222 admin@192.168.86.106 — 136×73 Terminal, Today at 10.11.01 PM.png (437×922 px, 160 KB)

Then I use the following cmd to link symbol data with my repository

admin@r1. ~-repo-pbt-repo-phabricator — ssh -p 222 admin@192.168.86.106 — 136×73 Terminal, Today at 10.11.33 PM.png (88×759 px, 15 KB)

After that, if I go into that diffusion repository and type function name on the search field, it pops out symbol results and redirects me to the symbol definition line. That works perfectly. HOWEVER, if I cmd + click any function calls in source file, it opens a page that displays No matching symbol could be found in any indexed repository.

I am new to Phabricator. Any help is appreciated. Thank you for your time and patience.

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.