Comments (6)
Damn, I didn't hear about ST4 for a while, I'm not too involved with ST (anymore?). Anyway, thanks for reporting 🙂
I don't really wanna go through the hastle of finding the downloads for ST4 (and I don't think you should post them here either, I think they want it to be somewhat private).
Anyway, there are two options: remove the FileManager's rename command, or hide their command. If i throw out FileManager's rename, it's going to break consistency, though it's not that bad, I use their rename command all the time. Hiding their command is really easy (if the menu system still works the same way as in ST3, and it looks like it does from your screenshot)
I'm thinking throw out FIleManager's rename command. The less custom stuff, the better. What do you think?
from filemanager.
I’ll remove FM function and see how everything flows. I really like FM over sidebar enhancements. Perhaps I’ll start familiarizing myself with ST4 API and try to keep FM up to date with PR’s
from filemanager.
@math2001 Unless there is any functions we can implement that the current ST rename doesn't offer, then I believe we should just disable this menu item by default and mark as deprecated. That will then provide time to really think about it before ripping out the code.
from filemanager.
Unless there is any functions we can implement that the current ST rename doesn't offer, then I believe we should just disable this menu item by default and mark as deprecated
Yep, thanks for making that clear in my head. That didn't stand out to me for some reason (guess I'll try to think a bit more next time).
I looked at the Sublime Text 3 rename.py
, and it looks like it does everything that fm_delete
would do, but better. There is no difference between ST4 and ST3's rename (it's just that neat 👌)
I wouldn't have thought of marking it as deprecated as a first step either, and that's clearly a much better thing to do.
from filemanager.
Wait hang on, I can't quite understand how you got this context menu in the first place... the default rename command should have been disabled by prevent_default.py
. I looked at the Default
package, and it declares the same commands. That's kind of surprising.
Anyway, it's better to use the default command regardless.
from filemanager.
Just a little feedback: it seems that FM is quite unstable with ST4 I had an issue where deleting a file from the sidebar menus would delete two different files. After disabling FM the problem does not appears anymore.
If I understand correctly ST4 dev is already quite advanced and many people like me are using it because of compatibility issues of ST3 (macOS Big Sur and M1 chips in my case).
I don’t know if you plan to work on a proper ST4 upgrade since you mentioned not being so involved anymore, if that’s the case and you want a better bug report I can try to do that. In the meantime maybe a little warning in the Package Control install messages about the compatibility might prove useful.
from filemanager.
Related Issues (20)
- [Feature Request] Add edit files without any layout setting HOT 4
- FileManager shouldn't create so many commands HOT 2
- Remove .sublime folder HOT 1
- Test tab completion logic
- Document tips and tricks
- [help wanted] Remove useless things. Make this package intuitive. HOT 3
- Refresh side bar checking view settings instead of FileManager settings
- Copy relative path function outputs a string starting with "/" HOT 5
- How to accept an intermediate path completion? HOT 6
- stopped working for me HOT 8
- Duplicate chokes on non-ascii files HOT 1
- folder selection is not working
- [Bug] Sidebar missing entries when file is open HOT 1
- conflict of hotkey "alt+n" HOT 2
- Cannot move files to different directories
- can not duplicate the file to a new directory HOT 3
- Definign index number in preferences does not seem to change the default
- Remove so many features
- Getting frivolous infinite loop messages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filemanager.