google-style-guide Questions
5
Solved
I want to run cpplint.py on my whole project not for single file to get a report for all C/C++ files in the project. How to do this on macOS and Windows?
Alleenallegation asked 9/7, 2015 at 5:0
2
Solved
Does anyone now a simple way do convert all docstrings in an existing project from reStructured Text to the Google format?
It looks like Napoleon can do something like that, but it looks very comp...
Hoxsie asked 6/7, 2017 at 17:22
2
This question is related to this other one. The proposed and accepted solution is:
Returns:
(tuple): tuple containing:
arg1: First Argument
arg2: Second Argument
This solution is not workin...
Cyclostome asked 14/7, 2015 at 17:59
7
Solved
In the Google C++ Style Guide, on the topic of "Unsigned Integers", it is suggested that
Because of historical accident, the C++ standard also uses unsigned integers to represent the size of con...
Capparidaceous asked 3/8, 2018 at 17:57
1
I've been using the Google-Style Python Docstring format for a while now. The way I've been handling functions/methods with no arguments suddenly doesn't look correct to me. I did a bit of searchin...
Kine asked 21/3, 2020 at 22:3
2
I recently started adding documentation to my project and I'm trying to follow the Google style guide. I am using Sphinx to generate the documents and the Sphinx extension napoleon to bridge the ga...
Hebraism asked 15/6, 2017 at 21:31
3
Solved
I am using the google java style in the checkstyle plugin for eclipse luna. Seeing this error all over my java doc but cannot seem to find how to resolve it. It's minor but its bugging me.
my java...
Decadence asked 9/10, 2015 at 17:41
0
Forward declarations can hide a dependency, allowing user code to skip necessary recompilation when headers change.
from https://google.github.io/styleguide/cppguide.html#Forward_Declarations
...
Gerontocracy asked 31/1, 2020 at 1:14
1
Solved
How do I change the syntax highlighting in VSCode so that it adheres to a particular style guide? For example, I want to adhere to the Google C++ style guide where member variables are written as s...
Climatology asked 21/2, 2019 at 17:12
2
Solved
I am currently documenting my Python project using Sphinx. I have come across an issue when including a bullet point list in the multi-line part of a docstring.
I would like to include a bulleted ...
Eileen asked 13/2, 2019 at 19:16
2
Solved
Google C++ Style Guide recommends to include the header files (.h) to the implementation files (.cpp, .cc) in the following order:
In dir/foo.cc or dir/foo_test.cc, whose main purpose is to impl...
Zitvaa asked 24/1, 2019 at 13:29
1
Solved
The Google Style Guide for python states that one should:
"Use imports for packages and modules only."
https://google.github.io/styleguide/pyguide.html#Imports
Is there a tool that flags violatio...
Trey asked 11/7, 2017 at 22:48
2
Solved
Not to say that the Google Style Guide is the holy bible but as a newbie programmer, it seems like a good reference.
The Google Style Guide lists the following disadvantages of forward declaration...
Nydia asked 13/4, 2016 at 11:24
1
I am using sublime text 3 for writing C++ code.
We follow Google style guide for CPP.
I am looking for any plugins which provide auto-reindent and linter support using the style guide as referen...
Bathilda asked 25/3, 2015 at 22:52
1
Solved
Why is <chrono> an unapproved header in the Google CPP Guide? I can't find any direct mention of this in the Google CPP Style Guide. This point mentions portability issues with <ratio> ...
Obaza asked 11/11, 2015 at 15:1
4
Solved
The Google C++ Style Guide draws a clear distinction (strictly followed by cpplint.py) between input parameters(→ const ref, value) and input-output or output parameters (→ non const pointers) :
...
Selfabnegation asked 18/10, 2014 at 15:10
1
Solved
i am documenting a JavaScript API. I am following the google style guide but I found nothing about the order of the tags.
I usually document a variable like this:
/**
* @description Radius of th...
Reprobation asked 19/6, 2014 at 12:38
1
Solved
I'm curious about one of the recommendations in the Google Python style guide concerning properties.
In it, they give the following example:
class Square(object):
"""A square with two propertie...
Dikmen asked 28/2, 2014 at 22:46
1
Solved
According to the Google JavaScript style guide, function declarations should not be declared within blocks since this is not a part of ECMAScript. However, I'm not entirely clear on what counts as ...
Crenation asked 1/7, 2013 at 17:9
4
Solved
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Function_Names#Function_Names
Regular functions have mixed case; accessors and mutators match the
name of the variable: My...
Bantam asked 5/2, 2013 at 16:38
5
Solved
I understand "semicolon implicit insertion", but I'm not sure it's occurs in case of function expressions.
For example, this two expressions always will interpreters equally:
Matrix.scale =...
Semiliterate asked 13/8, 2012 at 20:44
2
Solved
Are there any good places to get examples for the C++ Google Style Guide?
Toile asked 17/6, 2010 at 14:0
1
© 2022 - 2024 — McMap. All rights reserved.