Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't Rename #1

Open
CWSpear opened this issue Oct 12, 2014 · 3 comments
Open

Doesn't Rename #1

CWSpear opened this issue Oct 12, 2014 · 3 comments

Comments

@CWSpear
Copy link

CWSpear commented Oct 12, 2014

This plugin appears to create a new file with the name provided. I would expect it to rename the file similar to when you click on rename in the sidebar (including pre-populating the field with the current file's name).

@frozenice
Copy link
Owner

Hi,

it only renames the tab, not the file. Pre-populating the field with the current filename seems useful, a pull request would be awesome, as I don't have the time to work on this. Also note that I developed this for ST2, I haven't tested it in ST3, as I don't use ST3.

Btw, I also added a link to http://frozenice.de/blog/rename-tab-st2-package/ to this repo's summary.

@CWSpear
Copy link
Author

CWSpear commented Oct 14, 2014

So... the use case is not to rename the file of the opened tab? That was the functionality I was looking for. Currently, to rename a file, you have to find it in the sidebar, which can be tricky if you have a lot of files, or if it's nested deeply!

I was looking for a quick way to rename the file by clicking on the tab instead of trudging through the sidebar.

@jessegilbride
Copy link

I was looking for a way to only rename the tab and leave the file alone, not create an unsaved version. If I get the gumption, I may do a pull and see what I can manage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants