EditorGroups
EditorGroups copied to clipboard
IntelliJ plugin prototype of https://youtrack.jetbrains.com/issue/IDEA-12130#comment=27-2838171
==== Implementation of https://github.com/SomewhatCloudy/phpstorm-related-proposal ====
image::example.gif[]
=== Types of groups
- favorites
- manually defined in
*.egroupsfile (with language support) or in any other file ** does not support refactoring yet - by the current file name (without extension) anywhere in the project
- by regex (supporting regex groups, defined in Settings) - https://github.com/krasa/EditorGroups/issues/5[#5] https://github.com/krasa/EditorGroups/issues/21[#21]
- by folder
- bookmarks
=== Shortcuts
-
Ctrl + Alt + Q- Refresh -
Ctrl + Alt + W- Switch Group popup -
Ctrl + Alt + Shift + W- Switch File popup -
Ctrl + Mouse WheelorCtrl + ; or '- switch file (closing the previous one) -
Ctrl + Alt + Mouse WheelorCtrl + Alt + ; or '- switch file (leaving the previous one opened) -
Ctrl + Shift + Mouse Wheel- switch file into a new window
=== Tab click modifiers
Ctrl + Left Button- open a file in a new tabShift + Left Button- open a file in a new windowAlt + Left Button- open a file in a vertical split windowAlt + Shift + Left Button- open a file in a horizontal split windowMiddle Button- remove from group (only for Favorites)
=== Advanced actions and settings
- right click on the panel
File | Settings | Other Settings | Editor Groups
== Manually Defined Group Syntax
@group.id myUniqueId- must be unique across the project, creates a new group if there is more than one (otherwise path+index is used, which breaks references on refactoring)@group.root ../../- root directory, by default the current file's one; accepts macros, relative and absolute paths
=== Relative paths to the current file
@group.related file.txt@group.related ../file.txt
=== Absolute paths
@group.related C:/file.txt@group.related /file.txt
=== Macros
@group.related MODULE/src/file.txt@group.related PROJECT/myModule/src/file.txt
=== Wildcards
@group.related ./*@group.related *.txt@group.related file.*@group.related f??e.txt@group.related fileName(with all extensions, unless the file exists)
=== Exact filename anywhere in the project
@group.related */foo/file.txt
=== All files with the same name anywhere in the project
@group.related \*/foo/file.*
=== Tab/Title customization
@group.title yourTitle@group.color yellow(a name from https://www.w3schools.com/colors/colors_names.asp)@group.color yellow+3(or yellow+++ or yellow-3 or yellow--- for darker or brighter shade)@group.color #FF0096@group.color 0xFF0096
=== Other
@group.disable(disables indexing of the current file)
== Regex groups image::regexSettings.png[]
image::https://www.yourkit.com/images/yklogo.png[]
YourKit supports open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of https://www.yourkit.com/java/profiler/[YourKit Java Profiler] and https://www.yourkit.com/.net/profiler/[YourKit .NET Profiler], innovative and intelligent tools for profiling Java and .NET applications.