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

Simplify debugging custom style files #46

Open
MisterAI opened this issue Mar 15, 2022 · 1 comment
Open

Simplify debugging custom style files #46

MisterAI opened this issue Mar 15, 2022 · 1 comment

Comments

@MisterAI
Copy link

In order to support the creation of user defined type it would be helpful to get some debug output whenever loading or applying a custom style file was loaded. Otherwise it is hard to know why the extension doesn't behave as expected. Maybe there is already such a debugging possibility but I couldn't find any so far.

Possible implementation:

  1. User sets some CustomFileTypes.xml in the settings.
  2. User starts debugging session
  3. In the output window at "Debug" an error message appears, if applicable e.g.:
    • Graphical Debugging: Error loading type "NameSpace::Of::SomeC$lass"; invalid characters
    • Graphical Debugging: Didn't load type "NameSpace::Of::AnotherClass"; already defined
@awulkiew
Copy link
Owner

Yes, optional logging should be there.

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