| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
DisadvantagesI noticed a few disadvantages with this approach. Smart renamesSome LSP performs actions when renaming a file with the current SPC f R. Focus lostAfter performing the action on mac, the cursor is not focused anymore on any window of vscode, so to go back to editing the file, I have to use the mouse. AlternativesCurrent solutionThe current SPC f R doesn't work 100% of the time. Sometimes it just select the file in the file browser, without renaming it. Why you don't like this solution and you prefer using an extension for renaming tasks? FileUtils extensionI tried FileUtils. "Smart renames" work. But I sill lose focus. |
Sorry, something went wrong.
Let's merge that PR to fix the current rename action.
The built-in rename doesn't really allow you to move the file to a different path which is more align with spacemacs. However, currently there's quite a bit of issue with using vscode.workspace.fs.rename. (thanks for testing it) Let put this on hold until we figured some of the those issues out. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixed #134.
As file-browser added separate command for rename in bodil/vscode-file-browser#27 and released v0.2.11, we can use that command instead of the built-in one.