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.

Disable annotations (useWorker not working)

See original GitHub issue

Heyo 👋 I’m having trouble disabling the annotations. After searching through some issues, I’ve tried out the following:

<AceEditor
  value={code}
  mode="javascript"
  theme="github"
  showLineNumbers
  readOnly
  editorProps={{
    $useWorker: false,
  }}
  setOptions={{
    useWorker: false
  }}
/>

As I understand it, setting either setOptions.useWorker or editorProps.$useWorker to false should disable annotations and linting entirely, but it just isn’t working. Any ideas?

Thanks!

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
leojhcommented, Jun 16, 2018
{
  ...,
  setOptions: {
    useWorker: false
  }
}

is disabling all annotations for me

1reaction
zhangshuai0101commented, Mar 26, 2019

I also encountered the problem of disabled annotations not taking effect. image Quick operations can still be used to annotate in development

Read more comments on GitHub >

github_iconTop Results From Across the Web

Annotations disappear with setOption("useWorker", false)
... thus preventing it from clearing your annotations. I'm still looking for a better way without disabling syntax checker though.
Read more >
react-ace - Bountysource
Disable annotations (useWorker not working) $ 0. Created 5 years ago in securingsincity/react-ace with 10 comments. Heyo I'm having trouble disabling the ...
Read more >
Disable Annotations in Github Actions | by Sibiraj - Medium
Annotations are created when a problem matcher detects a match in the CI log. Problem matchers are enabled by default by some actions...
Read more >
TimescaleDB release notes and future plans - Timescale Docs
The bug fixes in this release address issues with joins, the status of background jobs, and disabling compression. It also includes enhancements to ......
Read more >
Compatibility guide for Kotlin 1.6
source: source-incompatible change stops code that used to compile fine (without ... Short summary: Kotlin 1.6 will check that the container annotation of...
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