elia / vscode-textmate

TextMate features and keybindings for Visual Studio Code
MIT License
6 stars 0 forks source link

[REQUEST] Alternate File command #3

Open phuibonhoa opened 3 weeks ago

phuibonhoa commented 3 weeks ago

If there is any way to port the ⌃⇧+↓ (CTRL + SHIFT + DOWN) command from textmate, that is sorely missing in VS Code.

Easily jumping between a file and the specs/tests is great. And the fact that it would also create the test file for you in the appropriate directory saves a lot of clicks.

I would have never been able to make the leap from Textmate to VS Code without your work! Thank you.

elia commented 3 weeks ago

I'm trying out this extension https://marketplace.visualstudio.com/items?itemName=testdouble.vscode-alternate-alternate-file

If it works well we could embed a simpler version in vscode-textmate as I did for others, please give it a try (or try another one) and let me know what do you think 🙏

phuibonhoa commented 2 weeks ago

@elia - I have no idea how I didn't find that extension before. It works pretty well. The Textmate version has the edge in that it actually generated the alternate file if it was missing, but honestly this extension works plenty well even without that feature. 👍

elia commented 2 weeks ago

I'm using the "create alternate file" command which works similarly, except it doesn't ask for confirmation before creating the file.