Code Monkey home page Code Monkey logo

Comments (6)

math2001 avatar math2001 commented on May 30, 2024 1

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.

TerminalFi avatar TerminalFi commented on May 30, 2024 1

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.

TerminalFi avatar TerminalFi commented on May 30, 2024

@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.

math2001 avatar math2001 commented on May 30, 2024

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.

math2001 avatar math2001 commented on May 30, 2024

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.

redgluten avatar redgluten commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.