Code Monkey home page Code Monkey logo

Comments (3)

math2001 avatar math2001 commented on May 31, 2024

Reorganize the settings files according to:

The discoverability of an option should be proportional to the distance between the perfect solution and the current solution

// auto complete with files
"complete_with_files_too": true,

What does that even do?

// only relevant if complete_with_files_too is true
// choose folder over file if folder and file are available for
// completion. Null means that it will be selected by alphabetic order
// valid values: "files", "folders", "alphabetic"
"pick_first": "folders",

name too short. I have to read the comment to know what it does (i should only have to read the comment to learn how to use it, if I can't "feel" that. Ideally, I shouldn't need comment, but come on, I'm not smart enough for that).

// define if the auto completion case sensitive
"case_sensitive": false,

name too short. Same as above

// recommended to be a char that cannot be in a file name
"index_folder_separator": ">",

I don't know what this does, even reading at the comment.

// which folder to pick for reference by default
// (create folder from it)
"default_index": 0,

why do I have to think about that?? Of course I'm going to pick 0. name to short. Same as above.

// valid value
// false: disable the log
// "user": display a user friendly path. eg: ~/Desktop/ (working on window)
// "computer": display a computer friendly path: C:\User\<user>\Desktop\
"log_in_status_bar": "computer",

this shouldn't be an option. Remove it. Choose for the user. Always log the computer friendly path.

// terminals
// if there is only one, it will directly open it
// otherwise, it will open a quick panel with all
// the name listed
// example for cmder:
// { "name": "Cmder", "cmd": ["C:/cmder/cmder.exe", "/SINGLE", "$cwd"] }
// $cwd will be replaced by the current working directory
"terminals": [
{
"name": "CMD",
"cmd": ["cmd"],
"platform": "windows"
},
{
"name": "Terminal",
"cmd": ["open", "-a", "Terminal", "$cwd"],
"platform": "osx"
},
{
"name": "iTerm",
"cmd": ["open", "-a", "iTerm", "$cwd"],
"platform": "osx"
},
{
"name": "GNOME Terminal",
"cmd": ["gnome-terminal"],
"platform": "linux"
}
],

good, it's intuitive to use, except for platform which should be called platforms and take a list. The comments should be clearer and more "compact", it doesn't feel like they belong to the terminals setting.

// If set to true, all the command that are disabled (in grey)
// will be hidden
"menu_without_distraction": true,

I like that. Just reading the name I know I want that on. So that probably means it shouldn't be an option in the first place. But it's kind a cute. Should be removed for sure. 🙁

// no need to comment anything on that one I guess :)
"auto_close_empty_groups": false,

Remove "funny" comments please. It's not even that obvious.

// auto refresh the side bar when you run any action that might affect it
// by default, sublime text would do it by itself, but if this is
// set to true, then it will be explicitly refreshed
"explicitly_refresh_sidebar": false,

Is it expensive to always have that on? And by default it's off, and I've never had any problem... I wonder if some people have it on... So maybe it should be removed.

// if true, each time you create/rename/duplicate etc a file, it will be revealed
// in the sidebar
"reveal_in_sidebar": false,

ok that's probably the best one right now. The name explain what it does. The comment is nearly perfect, it could be better if it used a different wording than the setting name (ie. reveal)

// Save after creating a file (because a snippet can be inserted)
"save_after_creating": false,

gooood. The comment should give case-scenario example, it's not the clearest (even for me).

"aliases": {
"st": "$packages",
"des": "~/Desktop",
"here": "$file_path"
},

Perfect? Don't even need a comment saying you can use aliases within aliases because it does it in the default value, so the user can understand it off the bat. Maybe have a link to the list of default aliases in there though. And explicitly say that these aliases will be added to the default aliases.

// See https://math2001.github.io/FileManager/aliases/#watch-out-for-infinite-loops
"open_help_on_alias_infinite_loop": true,

pretty sweet, except the link's broken... The comment should indicate that it'll just open the browser for help.

// Once again, to improve your speed, if there is commands
// you never use, you can super easily hide them.
// You can hide/show every command, and it will have no impact
// on the other ones.
"show_create_command": true,
"show_copy_command": true,
"show_delete_command": true,
"show_duplicate_command": true,
"show_edit_to_the_left_command": true,
"show_edit_to_the_right_command": true,
"show_find_in_files_command": true,
"show_move_command": true,
"show_open_in_explorer_command": true,
"show_open_in_browser_command": true,
"show_open_terminal_command": true,
"show_rename_command": true,
"show_create_from_selection_command": true,

I doubt anyone would decide to suddenly "hide" an option. If they do, then maybe that's a sign that it should be removed completely from file manager (a good indicator that I should remove it is me saying "to improve your speed". Don't aim to improve your speed by customizing your plugins. You're wasting your time. Code stuff). But it's cute. Remove it? 😢

// Set to false to disable the default alt+n key binding
"create_keybinding_enabled": true

Bad name (no one thinks of "New..." as "create"), but good comment.

from filemanager.

mwchase avatar mwchase commented on May 31, 2024

// auto refresh the side bar when you run any action that might affect it
// by default, sublime text would do it by itself, but if this is
// set to true, then it will be explicitly refreshed
"explicitly_refresh_sidebar": false,

Is it expensive to always have that on? And by default it's off, and I've never had any problem... I wonder if some people have it on... So maybe it should be removed.

I don't know if you mean "remove and act like it's defaulted to true" or "remove and act like it's defaulted to false", but for what it's worth, having it act like it's off (#54) makes the New file/folder stuff really annoying to use, and I haven't yet noticed issues from editing my local copy to force it on.

from filemanager.

TerminalFi avatar TerminalFi commented on May 31, 2024

// auto refresh the side bar when you run any action that might affect it
// by default, sublime text would do it by itself, but if this is
// set to true, then it will be explicitly refreshed
"explicitly_refresh_sidebar": false,

Is it expensive to always have that on? And by default it's off, and I've never had any problem... I wonder if some people have it on... So maybe it should be removed.

I don't know if you mean "remove and act like it's defaulted to true" or "remove and act like it's defaulted to false", but for what it's worth, having it act like it's off (#54) makes the New file/folder stuff really annoying to use, and I haven't yet noticed issues from editing my local copy to force it on.

What version of ST are you using? And you are saying that it is annoying to have it disabled?

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.