Sams Teach Yourself Emacs in 24 Hours |
|||||||||||||||||
Hour 18: Editing C, C++, and Java Files |
|||||||||||||||||
|
When working with C, C++, Objective C, or Java, many of the same elements work across all four languages. Many of the lessons learned in this hour can be applied to other languages such as Pascal, Fortran, Python, and other more-esoteric programming languages. Emacs can enable many of these features through a syntax definition provided by each language. All the key sequences learned for navigation and comment management can be applied in almost any situation.
At the end of this hour, you should be able to easily identify and navigate across advanced syntactic expressions such as lists, symbols, and functions. It should also be straightforward for you to manage your comments and make your code format itself with the tough configuration issues saved in your .emacs configuration file.
You should also now know whether you like the proactive editing features such as hungry delete, auto newline, and the C preprocessor management modes, and how to enable them if they appeal to you.
Lastly, some tagging features have been covered, giving you a couple more methods of finding the code segments you want to work on more easily.
Sams Teach Yourself Emacs in 24 Hours |
|||||||||||||||||
Hour 18: Editing C, C++, and Java Files |
|||||||||||||||||
|
© Copyright Macmillan USA. All rights reserved.