uiwjs / uiwjs/react-codemirror
Disable autocompletion keymap
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
Trying to just outright disable the autocompletion on enter keymap, however, I am unable to, tried the following:
<CodeMirror value="print('hi!')" extensions={[python()]} basicSetup={{completionKeymap: false, defaultKeymap: false}}></CodeMirror>
But tab and enter still indent and autocomplete respectively with no change
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the shown example and inspect how basicSetup handles completionKeymap and defaultKeymap. Reproduce the example with python(), then verify that disabling the relevant keymaps prevents autocomplete on Enter and indentation on Tab.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100