Recent Locations in vscode (Like in IntelliJ)

Viewed 144

I like the feature Recent Locations of IntelliJ. Especially the "show changed only" is very helpful.

pycharm-recent-locations For other reasons I will use vscode (for golang).

Is there a similar feature in vscode?

I want to see a list of the my recent locations (optional filtered, so that only the locaions are visible, which where recently changed).

2 Answers

If you use git, you get most of what you request here. Vscode has a git extension in the sidebar that shows you what files you have changed, as in unstaged and staged changes.

You can also jump between location, with alt+left/right arrow. This is independent from git. It just remembers your last cursor positions.

If you are willing to use an extension, there is one that seems to do what you are asking for, judging by its name: https://marketplace.visualstudio.com/items?itemName=percygrunwald.vscode-intellij-recent-files

@guettli They are different editors, so it will be hard to always find the exact same feature. I think there is nothing like recent locations in vsCode, at least when i'm writing this. Will there be something like that in the future? Probably.

Ctrl-P will display a list of recently opened files, and by selecting one of the files it will go to the last location when editing the file. To see the changes in a file(w/ git) you can right-click it and select the "view timeline" or view the changes with the git button. Not exactly what you asked for but may be useful.

Related