|Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.|
ROSLaunch and EmacsDescription: Configure emacs to color roslaunch files correctly
Tutorial Level: BEGINNER
This is an extremely simple tutorial to configure emacs to view .launch files with color highlighting.
- Open ~/.emacs with your favorite text editor
- Add the following to the bottom of the file:
; roslaunch highlighting (add-to-list 'auto-mode-alist '("\\.launch$" . xml-mode))
- Save and reload emacs to see the change take effect!