Support IDS_ string cross-references from C++ to GRIT in cs.chromium.org |
|||||
Issue descriptionWhat steps will reproduce the problem? (1) Use code search to browse code that uses IDS_... strings [1] (2) and click on a string like IDS_NOT_SECURE_VERBOSE_STATE in C++ What is the expected result? See the `grd[p]` source definitions of the string in the list of cross-references. What happens instead? Get taken to resource ID definitions [2]. If I'm looking up a string, the resource ID is basically never what I want. But I very often want to jump between string definitions and their uses. For someone like me who regularly works on UI code, it would be very useful. (And for someone who rarely works on UI code, it could avoid confusion.) [1] https://cs.chromium.org/chromium/src/components/toolbar/toolbar_model_impl.cc?type=cs&q=%22l10n_util::GetStringUTF16(IDS_NOT_SECURE_VERBOSE_STATE)%22&l=125 [2] https://cs.chromium.org/chromium/src/out/Debug/gen/components/strings/grit/components_strings.h?type=cs&l=372
,
May 17 2017
The grdp file for IDS_NOT_SECURE_VERBOSE_STATE is: https://cs.chromium.org/chromium/src/components/omnibox_strings.grdp?type=cs&q=IDS_NOT_SECURE_VERBOSE_STATE&l=22
,
May 18 2017
Ah, ok, I see. This is a special format.
,
May 18 2017
Yep! I'm aware this is probably a non-trivial feature request, but it would be very useful. :-)
,
Nov 2 2017
,
Nov 2
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 2
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by emso@chromium.org
, May 17 2017Owner: emso@chromium.org
Status: Assigned (was: Untriaged)