-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Allow extensions to create file based output channel #41672
Comments
@sandy081 Can you clarify what this would actually allow the extension authors to do? Something like treating output channels as files where changes to the file would get reflected in the output channel contents (allowing us to rewrite already output content)? |
@TomasHubelbauer Updated the description. |
@sandy081 is it feasible for this to be developed by an external contributor? Is it easy enough? To me it sounds like a file system watcher on the file and some hooks the the Output channels APIs could do the job. If I'm correct, would you mind posting some pointers in the code the community could use to try and pick up this work? |
@TomasHubelbauer Yes this is easy to implement. We already have file based output channels internally. This is only to expose it as an API. Since it is an API we have some protocols to follow, we would need extension authors requiring for this feature with proper use cases. Since there are no real time requirements from extension authors, I would keep this on hold until we get some. |
Please check out rust-lang/vscode-rust#306 (comment) for one possible use case. |
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding and happy coding! |
Allow extensions to create an output channel based on a file. For example, if an extension is logging into a file and if the extension wants to show those logs in the output channel, this will help you create an output channel streaming from that log file.
The text was updated successfully, but these errors were encountered: