Is it expected marks behaviour? #1488
-
|
I'm using Rider and ideavim. I don't have Everything is working fine if I'm in a single solution. However if I open 2 solutions A and B then I face strange behaviour:
I expect it to open file from Solution A when I'm in Solution A however it seems it just opens whatever last file had mark with that index. Is it expected behaviour? The default Rider IDE behaviour will be as I would expect. Bookmarks with same values won't interleave between solution and when I'm in Solution A, only Solution A bookmarks will be opened. I had empty |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
any thoughts? |
Beta Was this translation helpful? Give feedback.
IdeaVim's global marks (numbered and uppercase) are global to the application, while they should probably be global to the current project (solution in Rider terminology). So last write to a mark wins, regardless of which IDE instance you're in. There is a ticket for this, but there's no priority or ETA for a fix: VIM-1516.
The
'ideamarks'option doesn't make any difference to this behaviour - when setting a global mark in Vim, IdeaVim will also set the bookmark of the same name. These IDE bookmarks are per-project, but IdeaVim is per-application.