User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
user:embedded_c_code_doesn_t_have_to_be_ugly [2020/05/11 16:36] – [3. #define vs. enum] Igor Yefmovuser:embedded_c_code_doesn_t_have_to_be_ugly [2020/05/11 16:41] – [1. Use *YOUR* favorite IDE] Igor Yefmov
Line 18: Line 18:
 Even if unit tests are not something that pop to mind when working on firmware (embedded) code, one must always make sure to fully understand the code before modifying it. Even if unit tests are not something that pop to mind when working on firmware (embedded) code, one must always make sure to fully understand the code before modifying it.
  
-==== 1. IDE setup ==== +==== 1. Use *YOUR* favorite IDE ==== 
-The default SDK provided an IDE based around [[https://www.eclipse.org/ide/|Eclipse]]. My personal preference is [[https://visualstudio.microsoft.com/|MS Visual Studio]] which (obviously) with its features that I can no longer live without. Namely:+The default SDK provided an IDE based around [[https://www.eclipse.org/ide/|Eclipse]]. My personal preference is [[https://visualstudio.microsoft.com/|MS Visual Studio]] with its slew of features that I can no longer live without. Namely:
   * My favorite keyboard shortcuts (A mouse? It often just slows me down when I'm working with text!)   * My favorite keyboard shortcuts (A mouse? It often just slows me down when I'm working with text!)
   * Code browsing database   * Code browsing database
 +  * Mouse-over function/variable comment display
 +  * Datatype information (especially useful for ''C++'''s ''auto'' variables, IMHO)
   * "Find all references"   * "Find all references"
 +  * Search text in: block, file, all open files, all files for the project/solution (that last one will include all the ''#include'' files as well)
   * Jump to declaration/definition (including a "quick view")   * Jump to declaration/definition (including a "quick view")
   * View call hierarchy (both "from" and "to" up and down the call stack)   * View call hierarchy (both "from" and "to" up and down the call stack)

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information