Re: Ideas to store add-on state.
Pawel Urbanski
Thank you for the suggestion. I decided to go the 'appModule' instance
toggle quoted messageShow quoted text
route. This time, I did it properly with the super method and inheritance and so on. Unfortunately Pylance of VS Code kept throwing errors about missing type when parsing the expression of: self.appModule.InstanceVariableName I guess it is due to different capitalization and the fact that 'appModule' with a small 'a' is a runtime property of classes in the add-on runtime. All in all, things are working well and I even managed to remove that code part but still use instance variables for other cases. I posted about the updated VS Code add-on. Thank you once again. Best, Pawel
On 6/21/22, James Scholes <james@...> wrote:
If you have state that only needs to be utilised during the add-on's
|
|