Notably, aFoo is neither Google nor Rust style. If we didn't already have aFoo as a style, we certainly wouldn't adopt it today.
On Fri, Sep 6, 2019 at 6:59 AM Botond Ballo <[email protected]> wrote: > On Fri, Sep 6, 2019 at 9:40 AM Andrew Sutherland > <[email protected]> wrote: > > But of course, if this was all being done from inside an editor or a > > debugger, no matter what tricks searchfox can do, they can't help you > > elsewhere. > > Editors can of course do things of their own to help you on this > front. For example, Eclipse CDT has semantic highlighting and can > highlight parameters differently from local variables. The C++ > language server clangd (which is designed to be able to plug into any > editor) recently acquired this ability as well. > > I'm not saying this is a reason to retire the 'aFoo' convention (I'd > wait until technologies like the above are a bit more ubiquitous > before doing that), just mentioning the above tools because I've found > them very useful for editing Mozilla C++ code. > > Cheers, > Botond > _______________________________________________ > dev-platform mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

