-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix: Use VirtualFiles to save dot file, improved logging #115
Conversation
Artifact build on last commit: distributions.zip. |
This works for me :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few questions/nits about logging
} | ||
LOG.info("Project directory: $projectDir") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this info or debug info?
} catch (e: IOException) { | ||
LOG.error("Failed to write to $DOTFILE: ${e.message}") | ||
} | ||
LOG.info("$newFile created") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this info or debug info?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://plugins.jetbrains.com/docs/intellij/ide-infrastructure.html#logging INFO
and above goes to idea.log
by default. As I'm looking into other log files entries ours fits perfectly. It's information about work of plugin so I would keep it as INFO
.
Description
Use VirtualFile to save
.copilot-plugin.properties
file.Based on contribution by @sveinnetnordic
Fixes #47