I like the Autoscroll to/from source
features. Every time I import a new project, I will always enable them. However, it gets annoying when you have to do that every time for a new import. I googled, but couldn't find out how. So, do you know how to enable them permanently? Thank you very much.
标签:
intellij-idea
相关问题
- Configure gradle plugin based on future tasks
- How to make available “open this project in Intell
- IntelliJ 2017.1.2 GOLANG debug does not work on br
- JavaFX sample issue
- Could not import the newly generated play framewor
相关文章
- In IntelliJ IDEA, how can I create a key binding t
- IntelliJ IDEA can't open projects or add SDK o
- IntelliJ Subversion Authentication Required Dialog
- Kotlin Koans with EduTools plugin: “Failed to laun
- How to set up Intellij to run javap command on a p
- How to enable “type information” for streams retur
- How to add a project to build path in IntelliJ Ide
- How do I use Gradle bootRun with --args in Intelli
There is now a free IntelliJ plugin to remember Autoscroll to/from Source settings:
Jetbrains repository: Autoscroll Save Plugin
Instructions to use:
Autoscroll Save
plugin and restart IntelliJAll IntelliJ projects opened or created in future will now inherit your desired Autoscroll to/from Source settings.
If you have any feedback on the plugin, please click on the author (vikingsteve) on the plugin page and use "Send email" function.
Edit: I was just at a java conference and spoke to some of the Jetbrains devs from St Petersbourg. After thanking them for developing IntelliJ, I asked them about this, and I understand that since they are really busy with other things they don't have time right now to make this default functionality in IntelliJ.
So, in the meantime, please try out the Autoscroll Save plugin - from everyone I spoke to at the conference, it works for them without problem.
This is currently not possible.
The auto-scroll settings are Project specific and are stored in the
.idea/workspace.xml
file :Accessing Default Project Settings and Structure documents how to change the default settings used by new projects. Unfortunately, the autoscroll settings are not amongst the ones that can be set there.
A bit more digging shows that the default project is represented by
.IntelliJIdea12\config\options\project.default.xml
and it does not have settings for autoScroll specified. (Out of curiosity, I tried copying in the following in that file :But that was not picked up by new projects. )