4.1. Reading Code¶
This is what developers do every time.
- They read the code.
- Read the lines of code others have written.
- Other developer’s code for code maintenance.
- The API Signatures / Function prototypes
- The values of constants.
- They read the same code written just few minutes back.
Hello World Vs. ZLib
Eclipse is more than what meets the eye. To cover all the features of Eclipse, A Hello World project would not be enough. We have chosen Zlib. The examples / screen shots shown in this book are from Zlib
If you want to take Do-It-Yourself approach along with this book, refer to Setting up Zlib Source and then come back to this chapter.
This is how an opened file, example.c would look in Eclipse.
These are the topics discussed in further detail:
- 4.1.1. Line Numbers
- 4.1.2. Code Folding
- 4.1.3. Outline View
- 4.1.4. Quick Outline
- 4.1.5. Mark Occurrences
- 4.1.6. Quick Preview
- 4.1.7. Macro Expansion
- 4.1.8. Jumping within the file
- 4.1.9. Jumping to declaration/definition
- 4.1.10. Jumping across files
- 4.1.11. Searching / Finding
- 4.1.12. Call Hierarchy
- 4.1.13. Include browser
- 4.1.14. Type Hierarchy
- 4.1.15. Bookmarks
- 4.1.16. Code Formatting