Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Browser based Javascript/CSS editor with autocomplete [closed]

Is anyone aware of a browser based editor that has autocomplete for Javascript and CSS? I know of typescript (http://www.typescriptlang.org/Playground/), but want something a little more complete.

like image 306
Deepanjan Nag Avatar asked Dec 24 '12 15:12

Deepanjan Nag


People also ask

Is CodeMirror open source?

About. CodeMirror is open source under a permissive license (MIT). It is being developed on GitHub. Contributions are welcome.

What IDE should I use for JavaScript?

Microsoft Visual Studio Code is the most widely used and popular IDE. It is Microsoft developed and includes tools and extensions for various computer languages such as C #, C ++, Python, PHP, etc. JavaScript, TypeScript, NodeJS, and many more.

How do you integrate CodeMirror?

Integrating with VuePut the <div> you will attach your CodeMirror to in your Vue template. Create the CodeMirror instance in the mounted lifecycle hook. Use $refs to get a reference to the <div> in the component's template. Listen for changes to your CodeMirror instance by listening to CodeMirror's 'changes' event.


1 Answers

Check out CodeMirror

CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the language you are coding in, it will color your code, and optionally help with indentation.

A rich programming API and a CSS theming system are available for customizing CodeMirror to fit your application, and extending it with new functionality.

More info: http://codemirror.net/

like image 161
Praveen Kumar Purushothaman Avatar answered Sep 28 '22 22:09

Praveen Kumar Purushothaman