The issue is fixed and now the feature is also available in not-latest version 
for the file.
"Symbol Link" is not shown there because there's no symbol information for 
not-latest version.

Thank you!

-- 
arai

> 2022/05/21 4:57、Tooru Fujisawa <[email protected]>のメール:
> 
> There's known issue that the "Copy as Markdown" feature is available only 
> when you open the latest version for the file.
> https://bugzilla.mozilla.org/show_bug.cgi?id=1770501 
> <https://bugzilla.mozilla.org/show_bug.cgi?id=1770501>
> 
> Now fixing the issue, and I'll keep you updated.
> Thanks!
> 
>> 2022/05/21 3:44、Tooru Fujisawa <[email protected] 
>> <mailto:[email protected]>>のメール:
>> 
>> Hello Searchfox users!
>> 
>> I'm happy to announce the new Searchfox feature, "Copy as Markdown" [1].
>> You can copy the selected lines as a Markdown link with filename or 
>> corresponding symbol, or a URL with a code block, by single click or 
>> accesskey.
>> 
>> Here's example for each type:
>> 
>> Filename Link:
>> [Promise.cpp](https://searchfox.org/mozilla-central/rev/49204d3e4b03513ca2741404b7453245863d380c/js/src/builtin/Promise.cpp#443,448,451-453
>>  
>> <https://searchfox.org/mozilla-central/rev/49204d3e4b03513ca2741404b7453245863d380c/js/src/builtin/Promise.cpp#443,448,451-453>)
>> 
>> Symbol Link:
>> [PromiseDebugInfo::id](https://searchfox.org/mozilla-central/rev/49204d3e4b03513ca2741404b7453245863d380c/js/src/builtin/Promise.cpp#443,448,451-453
>>  
>> <https://searchfox.org/mozilla-central/rev/49204d3e4b03513ca2741404b7453245863d380c/js/src/builtin/Promise.cpp#443,448,451-453>)
>> 
>> Code Block:
>> https://searchfox.org/mozilla-central/rev/49204d3e4b03513ca2741404b7453245863d380c/js/src/builtin/Promise.cpp#443,448,451-453
>>  
>> <https://searchfox.org/mozilla-central/rev/49204d3e4b03513ca2741404b7453245863d380c/js/src/builtin/Promise.cpp#443,448,451-453>
>> ```cpp
>>  static uint64_t id(PromiseObject* promise) {
>> ...
>>    } else if (idVal.isObject()) {
>> ...
>>      if (idVal.isUndefined()) {
>>        idVal.setDouble(++gIDGenerator);
>>        debugInfo->setFixedSlot(Slot_Id, idVal);
>> ```
>> 
>> I hope the feature helps you while writing bug comments, or in the 
>> discussion on Matrix, etc :)
>> Please let us know if you find any issue.
>> 
>> Regards,
>> 
>> [1] https://github.com/mozsearch/mozsearch/pull/511
>> 
>> -- 
>> arai
>> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/92D91326-F7E5-4B8E-AE44-2A2FCC88D7F1%40gmail.com.

Reply via email to