User commands in menubar
User commands in menubar
Please consider the following extension to the IDE:
allowing to add one (or better more) user definable commands (paths to executable Windows files) under the Tools entry of the menubar.
This would be helpful, for instance, to invoke external apps for analysis, source code version control,
or any other purpose.
allowing to add one (or better more) user definable commands (paths to executable Windows files) under the Tools entry of the menubar.
This would be helpful, for instance, to invoke external apps for analysis, source code version control,
or any other purpose.
-
- Site Admin
- Posts: 525
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: User commands in menubar
Thank you for your suggestion. I’m pleased to be able to report that enhancement had already been planned for the next feature release.
Re: User commands in menubar
Great! Thanks a lot.
-
- Site Admin
- Posts: 525
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: User commands in menubar
We are now actively working on this enhancement. The design allows for context-sensitive parameters e.g. %FilePath%, %FileDir%, %FileName%, %FileRoot% which can be substituted with values corresponding to the file currently showing in the editor. For example, something like:
Are there any other parameters that we might be able to evaluate that would be useful for the sort of commands that you are interested in?
Note - for other cases you will also be able to set an option on a command so that it prompts you for the parameters before it executes.
Code: Select all
%FilePath% = D:\AstrobeM3-v6.4\Examples\General\Info.mod
%FileDir% = D:\AstrobeM3-v6.4\Examples\General\
%FileName% = Info.mod
%FileRoot% = Info
Note - for other cases you will also be able to set an option on a command so that it prompts you for the parameters before it executes.
-
- Site Admin
- Posts: 525
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: User commands in menubar
We were planning to add a new menu item 'Open file location ...' to allow you to launch Windows Explorer in the folder which contains the current file. However, now we have a user-customisable Tools menu, that feature no longer needs to be hard-coded.
The Tools.ini file that you can use to define your own menu items will include the following entry as a working example:
Here's a preview of the end-result:
The Tools.ini file that you can use to define your own menu items will include the following entry as a working example:
Code: Select all
[Command0]
MenuItem=&Open file location ...
Path=C:\Windows\explorer.exe
Parameters=%FileDir%
WorkingFolder=%FileDir%
ConsoleApp=False
Prompt=False
Re: User commands in menubar
It looks fine, looking forward for the release...
-
- Site Admin
- Posts: 525
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: User commands in menubar
v7.0 of Astrobe has now been released. The Tools menu now has three additional items by default. All of these have been implemented just by adding entries to the new Tools.ini configuration file: