Autoscroll to source 和 Autoscroll from source 功能在 Intellij IDE 中有什么用?
What is the use of autoscroll to source and and autoscroll from source features in Intellij IDEs?
我一直在寻找如何在项目视图中显示打开的文件并找到了这两个功能,我想知道上述功能有什么作用?
来自手册,
自动滚动到源
If this option is on, IntelliJ IDEA automatically navigates from a file (or a class member) selected in the Project tool window to the corresponding source file (or its fragment) in the editor. If the corresponding file is not currently open, it will open automatically.
从源自动滚动
If this option is on, IntelliJ IDEA automatically navigates from a file in the editor to the corresponding node (file, class, field, method, etc.) in the Project tool window.
https://www.jetbrains.com/idea/help/project-tool-window.html
简单解释一下,
自动滚动到来源
每当您在资源管理器 Window 中单击文件名时,该文件将在编辑器中成为焦点。如果文件未打开,将打开它。
从源自动滚动
如果您在编辑器中 select 一个文件,该填充将滚动到项目资源管理器中并突出显示。
我一直在寻找如何在项目视图中显示打开的文件并找到了这两个功能,我想知道上述功能有什么作用?
来自手册,
自动滚动到源
If this option is on, IntelliJ IDEA automatically navigates from a file (or a class member) selected in the Project tool window to the corresponding source file (or its fragment) in the editor. If the corresponding file is not currently open, it will open automatically.
从源自动滚动
If this option is on, IntelliJ IDEA automatically navigates from a file in the editor to the corresponding node (file, class, field, method, etc.) in the Project tool window.
https://www.jetbrains.com/idea/help/project-tool-window.html
简单解释一下,
自动滚动到来源 每当您在资源管理器 Window 中单击文件名时,该文件将在编辑器中成为焦点。如果文件未打开,将打开它。
从源自动滚动 如果您在编辑器中 select 一个文件,该填充将滚动到项目资源管理器中并突出显示。