-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
2.0 does not allow reloading of custom conversions #4
Comments
Yes, with 2.0 the menu option for reloading was disabled (through Keypirinha's global menu Reload Configuration does do the reload, along with all other plugins). I have pushed an update to bring back that menu option. Note that with 2.0, you can have in the custom conversion definition file just the measure you want to add (it will take the rest from the built-in one) and also that its format has changed. By the way, I'm curious about the measure you add - is it worth sharing? |
I am not sure if worth sharing outside my work - I am converting volumes of specifics gases into tonnage based on their molecular weights. For example, how much 5L of oxygen weigh and how much 10,000 gal on nitrogen weigh. Your package was a godsend to do this on the fly in KP’s accessible platform. |
I like the idea of 2.0.2 to use the cvt.ini file to add new measure and still get new default conversions that you might add to main package. I am having a tough time following directions to add this conversion to cvt.ini. Can you please show how to do this? Below is the custom conversion that I had added to my old cvtdefs.json - "measures": [ |
Hi p...8, I actually considered doing that kind of conversion but got discouraged because it was endless - each molecule has its own measure... I was not aware that anyone actually used my KP plugin and in V2 I changed the format of the conversion definition file in an incompatible way (noted in the change log), hence your issue. You should use the new simplified format (a couple of minutes of edit with regex), for example:
|
Back in business! Thank you, you have to believe me - your tool is so very helpful! Now that I am geek mode - what syntax do I use to define this new measure on the cvt.ini file? |
Hi p..8. I have added a definition= item in the I am closing this issue. |
2.1.0 working just fine. I was easily able to create a custom list. Thanks for the update. |
Cvt: Reload custom coversions action is not working in 2.0 so cannot load back custom conversions for new measures.
The text was updated successfully, but these errors were encountered: