HomePhorge

Infrastructure changes to support scoped symbols

Description

Infrastructure changes to support scoped symbols

Summary:

  • import_project_symbols supports an optional extra field, which is the context of the symbol.
  • Symbol query can take a symbol argument, either as a parameter or a URL component (so you can now jump nav to s Zerg/rush, for example).
  • Conduit method not yet updated. Will do that later.
NOTE: Not providing a context is distinct from providing an empty context, because an empty context stands for top-level context, i.e. functions and classes for PHP. It will not find class methods, etc. It is possible that we should use some weird token that could not normally be a context name to stand in for empty context.

Test Plan: Do a bunch of symbol searches.

Reviewers: epriestley

Reviewed By: epriestley

CC: nh, aran, Korvin

Maniphest Tasks: T1602

Differential Revision: https://secure.phabricator.com/D3148

Details

Provenance
Alan HuangAuthored on Aug 7 2012, 9:28 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP1c98ca70420a: Fix doc links
Branches
Unknown
Tags
Unknown

Event Timeline