Changeset View
Changeset View
Standalone View
Standalone View
language/codecompletion/codecompletionitemgrouper.cpp
Show All 19 Lines | |||||
20 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 20 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
21 | */ | 21 | */ | ||
22 | 22 | | |||
23 | #include "codecompletionitemgrouper.h" | 23 | #include "codecompletionitemgrouper.h" | ||
24 | 24 | | |||
25 | using namespace KDevelop; | 25 | using namespace KDevelop; | ||
26 | 26 | | |||
27 | ///@todo make configurable. These are the attributes that can be respected for grouping. | 27 | ///@todo make configurable. These are the attributes that can be respected for grouping. | ||
28 | const int SimplifiedAttributesExtractor::groupingProperties = CodeCompletionModel::Public | CodeCompletionModel::Protected | CodeCompletionModel::Private | CodeCompletionModel::Static | CodeCompletionModel::TypeAlias | CodeCompletionModel::Variable | CodeCompletionModel::Class | CodeCompletionModel::GlobalScope | CodeCompletionModel::LocalScope | CodeCompletionModel::GlobalScope | CodeCompletionModel::NamespaceScope; | 28 | const int SimplifiedAttributesExtractor::groupingProperties = | ||
29 | CodeCompletionModel::Public | ||||
30 | | CodeCompletionModel::Protected | ||||
31 | | CodeCompletionModel::Private | ||||
32 | | CodeCompletionModel::Static | ||||
33 | | CodeCompletionModel::TypeAlias | ||||
34 | | CodeCompletionModel::Variable | ||||
35 | | CodeCompletionModel::Class | ||||
36 | | CodeCompletionModel::GlobalScope | ||||
37 | | CodeCompletionModel::LocalScope | ||||
38 | | CodeCompletionModel::NamespaceScope; | ||||
kfunk: Style: While at it: Let's do one enum value per line? | |||||
29 | 39 | |
Style: While at it: Let's do one enum value per line?