├── .gitattributes ├── code-of-conduct.md ├── contributing.md └── readme.md /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | readme.md merge=union -------------------------------------------------------------------------------- /code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, gender identity and expression, level of experience, 9 | nationality, personal appearance, race, religion, or sexual identity and 10 | orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language 18 | * Being respectful of differing viewpoints and experiences 19 | * Gracefully accepting constructive criticism 20 | * Focusing on what is best for the community 21 | * Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | * Trolling, insulting/derogatory comments, and personal or political attacks 28 | * Public or private harassment 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, and other contributions 42 | that are not aligned to this Code of Conduct, or to ban temporarily or 43 | permanently any contributor for other behaviors that they deem inappropriate, 44 | threatening, offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting the project team at <%= email %>. All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project team is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ## Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at [http://contributor-covenant.org/version/1/4][version] 72 | 73 | [homepage]: http://contributor-covenant.org 74 | [version]: http://contributor-covenant.org/version/1/4/ -------------------------------------------------------------------------------- /contributing.md: -------------------------------------------------------------------------------- 1 | # Contribution Guidelines 2 | 3 | Please note that this project is released with a 4 | [Contributor Code of Conduct](code-of-conduct.md). By participating in this 5 | project you agree to abide by its terms. 6 | 7 | --- 8 | 9 | Ensure your pull request adheres to the following guidelines: 10 | 11 | - Make sure you take care of this 12 | - And this as well 13 | - And don't forget to check this 14 | 15 | Thank you for your suggestions! 16 | 17 | 18 | ## Updating your PR 19 | 20 | A lot of times, making a PR adhere to the standards above can be difficult. 21 | If the maintainers notice anything that we'd like changed, we'll ask you to 22 | edit your PR before we merge it. There's no need to open a new PR, just edit 23 | the existing one. If you're not sure how to do that, 24 | [here is a guide](https://github.com/RichardLitt/knowledge/blob/master/github/amending-a-commit-guide.md) 25 | on the different ways you can update your PR so that we can merge it. -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # awesome-codemirror [![Awesome](https://awesome.re/badge.svg)](https://awesome.re) 2 | 3 | [CodeMirror](https://codemirror.net/) is an incredibly 4 | popular Code Editor. You've probably used it, even if you 5 | have never heard of it. This is a list of resources and 6 | extensions related to it. Contribute one if you know of it! 7 | 8 | ## Keybindings 9 | 10 | - [codemirror-vim](https://github.com/replit/codemirror-vim): VIM bindings 11 | - [codemirror-emacs](https://github.com/replit/codemirror-emacs): Emacs bindings 12 | - [codemirror-vscode](https://github.com/replit/codemirror-vscode-keymap): VS Code bindings 13 | 14 | ## Plugins 15 | 16 | - [codemirror-ts](https://github.com/val-town/codemirror-ts): TypeScript integration 17 | - [codemirror-copilot](https://github.com/asadm/codemirror-copilot) copilot-like AI code suggestions 18 | - [emmet completions](https://github.com/emmetio/codemirror6-plugin) 19 | - [codemirror-languageserver](https://github.com/furqansoftware/codemirror-languageserver): LSP integration 20 | - [indentation-markers](https://github.com/replit/codemirror-indentation-markers) 21 | - [codemirror-inline-suggestion](https://github.com/saminzadeh/codemirror-extension-inline-suggestion): shows a gray "autocomplete" suggestion inline with code 22 | - [codemirror-continue](https://github.com/val-town/codemirror-continue): supports "continuing" C++ style comments in TypeScript when you press `Enter`. 23 | 24 | ## Integrations 25 | 26 | - [react-codemirror](https://github.com/uiwjs/react-codemirror) for React 27 | - [vue-codemirror](https://github.com/surmon-china/vue-codemirror) for Vue 28 | 29 | ## Themes 30 | 31 | - [dracula theme](https://www.npmjs.com/package/@uiw/codemirror-theme-dracula) 32 | - [github theme](https://www.npmjs.com/package/@uiw/codemirror-theme-github) 33 | 34 | ## Theme collections 35 | 36 | - [@ddietr/codemirror-themes](https://github.com/dennis84/codemirror-themes) 37 | - [thememirror](https://thememirror.net/) 38 | 39 | ## See also 40 | 41 | - [CodeMirror community page](https://codemirror.net/docs/community/) 42 | 43 | ## Wishlist 44 | 45 | - C-style comment continuation plugin (hitting Enter after typing `/**` takes you to the next line and adds a `*` on the next line) 46 | - Port of [template-string-converter from VS Code](https://github.com/meganrogge/template-string-converter): when you type `${`, it converts a quoted string to a template string 47 | 48 | ## Contributing 49 | 50 | Contributions welcome! Read the [contribution guidelines](contributing.md) first. 51 | 52 | --------------------------------------------------------------------------------