全局设置 (编辑器) (AccessToSQL) Global Settings (Editor) (AccessToSQL)

使用 " 全局设置 " 对话框的 "编辑器" 页可以指定代码编辑器窗口的设置。Use the Editor page of the Global Settings dialog box to specify settings for code editor windows.

若要访问编辑器设置,请在 " 工具 " 菜单上选择 " 全局设置",单击左侧窗格底部的 " GUI ",然后选择 " 编辑器"。To access the editor settings, on the Tools menu, select Global Settings, click GUI at the bottom of the left pane, and then select Editor.

选项Options

在编辑器中显示行号Show line numbers in editors
若要在代码编辑器窗口中显示行号,请选择 TrueTo display line numbers in code editor windows, select True.

如果在更改此设置时选择了 "代码编辑器" 窗口,可能需要重新选择当前对象以更新显示。If a code editor window is selected when you change this setting, you may need to reselect the current object to update the display.