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.

misspelled options - again!

See original GitHub issue

Problem

Problem reported here https://github.com/securingsincity/react-ace/issues/95 was believed to be fixed, but unfortunately still occurs: Getting some warnings in console: misspelled option “enableBasicAutocompletion” misspelled option “enableLiveAutocompletion”

Detail the problem here, including any possible solutions.

Remedy for this problem was supposedly this PR https://github.com/securingsincity/react-ace/pull/127, but it solved only some cases - for others, problem still happens.

Based on error details, similar changes as in that PR https://github.com/securingsincity/react-ace/pull/127/files should also be applied here: https://github.com/securingsincity/react-ace/blob/87bd672673d344d7e3eb3d5ec0ec0308c2223a3e/src/ace.jsx#L181

Sample code to reproduce your issue

Just use editor with some options, ie:

<AceEditor
  setoptions={{
    enableBasicAutocompletion: true,
    enableLiveAutocompletion: true,
    enableSnippets: true
  }}
/>

and make sure, that componentDidUpdate was triggered.

References

Progress on: #

Issue Analytics

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

github_iconTop GitHub Comments

8reactions
ziishanedcommented, Oct 25, 2020

I solved it by following:

import "ace-builds/src-noconflict/ext-language_tools";
4reactions
kolbinskicommented, Oct 23, 2018

Closing - this issue can be solved by adding import 'brace/ext/language_tools';

Read more comments on GitHub >

github_iconTop Results From Across the Web

Misspelled Ace Editor Options - Stack Overflow
I have implemented an Ace editor setup for PHP (which is working fine), but when I try to set additional options using Ace's...
Read more >
Right-Click a misspelled word and "Add to Autocorrect" appears
Whenever I right-click a misspelled word in Word, an option to "Add to Autocorrect" appears which I can hover over and select a...
Read more >
Galaxy S21/S20: Fix Samsung Keyboard Showing Misspelled ...
Learn how you can fix the Samsung keyboard showing misspelled words, wrong auto-correction, or wrong predictive text suggestions on Galaxy ...
Read more >
How to Enable or Disable Autocorrect and Highlight ...
How to Enable or Disable Autocorrect and Highlight Misspelled Words Settings in Windows 11In Windows 11/10, misspelled words get ...
Read more >
Ignore Setting on Misspelled Words not Persistent
... again show as misspelled. The options are, essentially, a way to temporarily—not permanently—stop Word from noting the misspelling.
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