question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please stop writing "WARNING: No active editor during save. Nothing saved." to the Helm output channel

See original GitHub issue

Currently when ANY document is saved and there is no active editor, the extension logs WARNING: No active editor during save. Nothing saved. to the Helm output channel (and forces the output channel to show itself 😢)

This is causing issues with GitLens’ new settings editor (since it is a previewHtml – not an editor) and it saves settings which seems to cause vscode to fire an onDidSaveTextDocument event.

Here is the offending line: https://github.com/Azure/vscode-kubernetes-tools/blob/43210bbc8edac9cb075a63f26fd51fb11ba3285f/src/extension.ts#L162

Also here is where it is forcing the output panel to show each time something is logged – I hope this can be removed too. https://github.com/Azure/vscode-kubernetes-tools/blob/43210bbc8edac9cb075a63f26fd51fb11ba3285f/src/logger.ts#L20

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
itowlsoncommented, Feb 7, 2018

Thanks for flagging this. I’ve noticed that some of the Helm bits can be a bit over-enthusiastic. I’ll figure out why it wants to warn about this and get it fixed so it errs on the side of non-noisiness.

0reactions
eamodiocommented, Feb 19, 2018

No worries — thank you again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Please stop writing "WARNING: No active editor during save ...
Currently when ANY document is saved and there is no active editor, the extension logs WARNING: No active editor during save. Nothing saved....
Read more >
Modern IDEs are magic. Why are so many coders still using ...
We spend the vast majority of our time EDITING existing code, rather than creating new code. This is why vim is a text...
Read more >
Environments and deployments - GitLab Docs
Tracks your deployments, so you always know what is deployed on your servers. If you have a deployment service like Kubernetes associated with...
Read more >
Ticket: # 1227953 - Spam advertisement emails Description
A health provider sends emails without any legitimate way of opting out. The email indicates to 'sign in' to manage contact preferences. This ......
Read more >
Teleport CLI Reference | Teleport Docs
By default without any configuration, teleport starts running as a single-node # cluster. It's the equivalent of running with --roles=node,proxy,auth sudo ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found