res: Updated tutorial and projects

* mention snippet mode in code tutorial
This commit is contained in:
Eberhard Graether
2018-04-10 12:00:15 +02:00
parent 2340b0d619
commit 7dde56ea6a
5 changed files with 18 additions and 13 deletions
@@ -26,6 +26,7 @@
<source_path>./target/generated-sources/javacc</source_path>
</source_paths>
<standard>8</standard>
<status>enabled</status>
<type>Java Source Group</type>
<use_jre_system_library>1</use_jre_system_library>
</source_group_7a9e75fc-2cad-42d5-8c5b-c86d02f7b4e4>
@@ -12,7 +12,6 @@
<target_options_enabled>0</target_options_enabled>
</cross_compilation>
<name>TicTacToe Source Group</name>
<should_apply_anonymous_typedef_transformation>1</should_apply_anonymous_typedef_transformation>
<source_extensions>
<source_extension>.cpp</source_extension>
<source_extension>.cxx</source_extension>
@@ -22,7 +21,8 @@
<source_paths>
<source_path>./src</source_path>
</source_paths>
<standard>c++1z</standard>
<standard>c++2a</standard>
<status>enabled</status>
<type>C++ Source Group</type>
</source_group_afdfade2-4b42-49a6-961a-d4a563f2cf84>
</source_groups>
@@ -8,15 +8,20 @@
//------------------------------------------------------------------------------
//
// 1 - THE CODE TUTORIAL
// As you already know the Code View displays the snippets of code that are
// related to your currently active symbol. These snippets show the relevant
// lines in combination with some context.
// As you already know the Code View displays the snippets of code that are
// related to your currently active symbol. These snippets show the relevant
// lines in combination with some context.
// In case you discover something interesting as part of the snippet's context
// you can activate that symbol with a left-click. That way you dig deeper
// you can activate that symbol with a left-click. That way you dig deeper
// through your code base.
// Have you ever wondered what's the meaning of life, the universe and
// Have you ever wondered what's the meaning of life, the universe and
// everything? Click the respective symbol to find out.
//
// NOTE:
// This tutorial is based on the snippet view of Sourcetrail's Code View.
// Please click the button "snippet list mode" in the top right corner of the
// Code View.
//
//------------------------------------------------------------------------------
class CodeTutorial
@@ -25,7 +30,7 @@ public:
CodeTutorial()
{
}
static int meaning_of_life_the_universe_and_everything;
};
@@ -47,9 +47,8 @@ void function_with_snippets()
// to the central hub.
//
// P.S.
// You can also click the file name above (i guess you need to scroll up a
// little bit) to activate the file's node in case you want to explore your
// include hierarchy.
// You can also click the file name above to activate the file's node in case you
// want to explore your include hierarchy.
//
//------------------------------------------------------------------------------
@@ -27,14 +27,14 @@
<target_options_enabled>0</target_options_enabled>
</cross_compilation>
<name>Tutorial Source Group</name>
<should_apply_anonymous_typedef_transformation>1</should_apply_anonymous_typedef_transformation>
<source_extensions>
<source_extension>.cpp</source_extension>
</source_extensions>
<source_paths>
<source_path>./src</source_path>
</source_paths>
<standard>c++1z</standard>
<standard>c++2a</standard>
<status>enabled</status>
<type>C++ Source Group</type>
</source_group_75041cb3-37c8-45c6-bb8a-1b8b79040f59>
</source_groups>