- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the code has
#if (something)
some = code;
#else
some = other(code);
#endif
Then it should be possible to fold up whichever branch is unused to hide them from view. PSoC Creator only allows folding up the entire #if-#endif block, though.
Also, it should be possible to fold/hide unused code by default when a file is open so there is less clutter.
PSoC Creator 4.2 (4.2.0.641)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We understood what you are saying. It is a good idea.
Our software developers might thought that generally #if #endif statements are used in generated code/generated source sections where the selection is mainly based on the device family. Since user can actually go and see the configuration, it is better to make the user go through the entire flow for better understanding.
Anyways, we will inform this to our software team to consider this in future versions
Thank you
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We understood what you are saying. It is a good idea.
Our software developers might thought that generally #if #endif statements are used in generated code/generated source sections where the selection is mainly based on the device family. Since user can actually go and see the configuration, it is better to make the user go through the entire flow for better understanding.
Anyways, we will inform this to our software team to consider this in future versions
Thank you
Ganesh