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

implement generic tool and command (preset) definition #49

Open
anb0s opened this issue Jul 5, 2016 · 3 comments
Open

implement generic tool and command (preset) definition #49

anb0s opened this issue Jul 5, 2016 · 3 comments
Assignees
Milestone

Comments

@anb0s
Copy link
Owner

anb0s commented Jul 5, 2016

We need a generic way to define tools:

  • name
  • UUID
  • executable
  • search paths (user may override or extend them)
  • available for OS (Windows, Linux, Mac OS X etc.)
  • supported command types (Open, Run, Explore etc.)
  • available for resources (files, folders or both)
  • available for number of resources (mostly for one resource, but may be in case of compare tools 2 or 3 resources must be selected or stored before, see add support for external diff and merge tools #41 )

Presets or commands can re-use tools defined above:

  • name
  • UUID
  • used tool (by name or UUID)
  • used tool command type
  • used tool number of ressources
  • ...

More to be defined later...

@anb0s anb0s added this to the v2.1 milestone Jul 5, 2016
@anb0s anb0s self-assigned this Jul 5, 2016
@josh-bridge
Copy link

To clarify, would this include being able to rename the menu options?

e.g. Renaming "Run with Windows Git-Bash" to "Gradle Build (Bash)" if I had the command set up to run a gradle script

@anb0s
Copy link
Owner Author

anb0s commented Jul 15, 2016

Yes, for menu names you can select from predefined name patterns like:

"${easyshell:command_type} with ${easyshell:command_name}" that is fixed in v1.5 test build and expanded to your example "Run with Windows Git-Bash"

"${easyshell:command_type}: ${easyshell:command_name}" that is default in v2.0 beta 1 build and expanded to your example "Run: Windows Git-Bash"

etc. or you enter your own name like "Gradle Build (Bash)" directly.

@anb0s
Copy link
Owner Author

anb0s commented Jul 15, 2016

@josh-bridge Please see already implemented features described in issue #53 that addresses your request.

This issue #49 is to make the tool definitions also more generic, because at different PCs and OSes users have the same tools in different folders etc. We need a way to just have the command/preset definitions and menus independent of tool locations. For this i have a prototype to just describe a tool in generic way and allow user to override some parameters or just add other search locations or let EasyShell search for the locations during first start or by wizard. This is more for future 2.x releases --> may be 2.1...

@anb0s anb0s mentioned this issue Jul 15, 2016
6 tasks
@anb0s anb0s mentioned this issue Sep 2, 2016
15 tasks
@anb0s anb0s modified the milestones: v2.1, v2.2 Dec 10, 2016
@anb0s anb0s changed the title [v2.0] implement generic tool and command (preset) definition [v2.x] implement generic tool and command (preset) definition Nov 4, 2018
@anb0s anb0s changed the title [v2.x] implement generic tool and command (preset) definition implement generic tool and command (preset) definition Nov 4, 2018
@anb0s anb0s modified the milestones: v2.2, TBD Sep 27, 2020
@anb0s anb0s modified the milestones: TBD, v3.0 Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants