misspelled options - again!
See original GitHub issueProblem
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:
- Created 5 years ago
- Reactions:1
- Comments:5
Top GitHub Comments
I solved it by following:
Closing - this issue can be solved by adding
import 'brace/ext/language_tools';