https://github.com/kristensala/pinned-tabs
Harpoon like file marker for Jetbrains IDEs
https://github.com/kristensala/pinned-tabs
harpoon idea-plugin intellij intellij-plugin mark-files pin-tabs tabs
Last synced: 3 months ago
JSON representation
Harpoon like file marker for Jetbrains IDEs
- Host: GitHub
- URL: https://github.com/kristensala/pinned-tabs
- Owner: kristensala
- Created: 2025-02-26T16:13:32.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-03-08T14:12:22.000Z (3 months ago)
- Last Synced: 2025-03-08T14:29:42.366Z (3 months ago)
- Topics: harpoon, idea-plugin, intellij, intellij-plugin, mark-files, pin-tabs, tabs
- Language: Kotlin
- Homepage:
- Size: 1.94 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# PinnedTabs

[](https://plugins.jetbrains.com/plugin/26713-pinnedtabs)
[](https://plugins.jetbrains.com/plugin/26713-pinnedtabs)This plugin is inspired by [Harpoon](https://github.com/ThePrimeagen/harpoon). Intellij does provide something similar out of the box called Switcher.
But it has a major flaw, files do not keep their order, which bothers me.# Known bugs
- [x] On file open it does not give focus when using IdeaVim
- [ ] If you have previously mapped J or K then this plugin will not override those mappings
- [ ] Getting java.lang.IndexOutOfBoundsException: bitIndex < 0: -2 error sometimes when setting JList selectedIndex
- [ ] In `.pinned_tabs` file paths are sometimes added on top of eachother, rather than on each line separately
- [ ] Does not create a `.pinned_file` under `./idea` folder# QOL updates
- [ ] When opening the popup, highlight currently open file, not the first one. Currently selected index is always by default 0## Usage
### Pinning a file### Removing a pin
### Fixing possible errors
### Shortcuts when using ideaVim
```
nmap (com.github.kristensala.pinnedtabs.popup.TogglePopupAction)
nmap m (com.github.kristensala.pinnedtabs.popup.PinFileAction)
```## How it works
Each project using any JetBrains IDE will generate a .idea/ directory.
This plugin will create a `.pinned_tabs` file under said directory
where each line is a path to a pinned file.---
Plugin based on the [IntelliJ Platform Plugin Template][template].[template]: https://github.com/JetBrains/intellij-platform-plugin-template
[docs:plugin-description]: https://plugins.jetbrains.com/docs/intellij/plugin-user-experience.html#plugin-description-and-presentation