How can I show line numbers in Eclipse?

前端 未结 16 1345
无人共我
无人共我 2020-11-30 16:14

How can I show line numbers by default in Eclipse?

16条回答
  •  青春惊慌失措
    2020-11-30 17:05

    this will be the appropriate solution for asked question:

    String lineNumbers = AbstractDecoratedTextEditorPreferenceConstants.EDITOR_LINE_NUMBER_RULER; EditorsUI.getPreferenceStore().setValue(lineNumbers, true);

提交回复
热议问题