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)

Symbol Link:
[PromiseDebugInfo::id](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
```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/253CBFB4-3F1B-4EF9-A22E-B9148B6922EF%40gmail.com.

Reply via email to