1. 显示行号:
(1). windows-->preferences...-->对话框(2). General-->Editors-->Text Editors-->右侧(3). 勾选show line numbers--完成设置