Web-based source code editor
What we want
- http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors
- With realtime Syntax highlighting
- Compatible with our License
- Support for PHP, JavaScript, HTML, CSS, MySQL, Smarty, YAML so we can Dogfood within Tiki.
- Support for other popular languages (Python, Java, etc.)
- Possible to add syntaxes, such as Tiki markup so we can do something like WikiWizard
- Ideally will open the door to Web commits
- To find an open source project happy to be integrated in Tiki and that could help us.
Wishes
Open
Pending
| Rating | Subject | Submitted By | Importance | Easy to solve ? | Priority | Category | Volunteered to solve | Created | Modified | |
|---|---|---|---|---|---|---|---|---|---|---|
| CodeMirror problems | Jonny Bradley | 4 | 1 | 4 |
|
jonnybradley | 14 Nov 13 | 20 Nov 25 |
Closed
| Rating | Subject | Submitted By | Importance | Easy to solve ? | Priority | Category | Volunteered to solve | Created | Modified | |
|---|---|---|---|---|---|---|---|---|---|---|
| PluginCODE: Colors picker regression | Marc Laporte | 8 | 8 | 64 |
|
04 Nov 13 | 05 Jul 26 | |||
| Upgrade CodeMirror to latest stable version | Marc Laporte | 7 | 9 | 63 |
|
manivannans | 08 Sep 13 | 11 Nov 13 | ||
| Codemirror buttons not shown in edit page at dev.t.o 12.x r48321 | Xavier de Pedro | 6 | 8 | 48 |
|
jonnybradley | 04 Nov 13 | 20 Nov 13 | ||
| Comments to tracker items can't be posted when codemirror is on | Xavier de Pedro | 6 | 6 | 36 |
|
11 Oct 16 | 08 Dec 16 | |||
| 12.x: can't post comments if codemirror is on (it says 'Content is empty') | Xavier de Pedro | 7 | 5 | 35 |
|
28 May 14 | 13 Jul 14 | |||
| rtl in codemirror 3.16: scrollbar on the right should disappear | Xavier de Pedro | 4 | 8 | 32 |
|
02 Nov 13 | 05 Dec 13 | |||
| Minify JavaScript breaks codemirror in doc.t.o 18.x | Xavier de Pedro | 4 | 8 | 32 |
|
01 Apr 18 | 19 Jul 18 | |||
| Codemirror is not showing links to switch the highlighter even if prefs is correctly set | Xavier de Pedro | 5 | 5 | 25 |
|
29 Jul 21 | 30 Jul 21 | |||
| CodeMirror: too much white space in wiki source view | Marc Laporte | 3 | 7 | 21 |
|
manivannans | 12 Nov 13 | 30 Jul 14 | ||
| CodeMirror latest 12.x : Line numbering hides everything and puts huge line breaks | Marc Laporte | 4 | 4 | 16 |
|
jonnybradley | 02 Nov 13 | 05 Dec 13 | ||
| GeSHi - Generic Syntax Highlighter for PluginCode should be in mods (and activated on *.tw.o sites) | Xavier de Pedro | 3 | 15 |
|
07 Aug 07 | 28 Sep 12 | ||||
| codemirror not switchable for new comments (but just for comment edition) even if preference correctly set | Xavier de Pedro | 3 | 5 | 15 |
|
13 Jul 14 | 04 Dec 14 | |||
| CodeMirror doesn't minify like everything else does | Marc Laporte | 2 | 4 | 8 |
|
10 Aug 14 | 09 Dec 16 |
Todo
-
discuss- investigate project stats on https://www.ohloh.net/tags/source/syntax_highlighter
-
pickCodeMirror has been picked -
contact project - integrate tightly
-
Text areasdone - Theme generator
- Edit CSS ->
Use CSS here: tiki-edit_css.phpdone in 9.2 - Edit Templates -> Use Smarty here: tiki-edit_templates.php
-
- add syntaxes
Bugs
- 2013-01-31: 10.x Can't paste text (that is in my clipboard) with Android browser in comment box of a tracker item on dev.tiki.org. Workaround: Toggle highlighter
- 2012-09-29: Doing CTRL-F to find test on a page will not find all results. Workaround: Toggle highlighter
- Try here: http://profiles.tiki.org/tiki-editpage.php?page=CartoGraf and find "attach". With CodeMirror, there are 2 results. If I click "Toggle Highlighter" to turn it off, I now have 7 results.
- Marijn Haverbeke on the mailing list wrote:
This is expected behavior. For performance reasons, CodeMirror only
renders the part of the document that is visible. Thus, the browser won't search through the rest.If this is a big issue for you, you can use the viewportMargin option that's in the v3 branch
(http://codemirror.net/3/doc/manual.html#option_viewportMargin), but don't do that if you want big documents to be fast.- 2013-11-17: still an issue in 12.x with CodeMirror 3.x
-
- Try here: http://profiles.tiki.org/tiki-editpage.php?page=CartoGraf and find "attach". With CodeMirror, there are 2 results. If I click "Toggle Highlighter" to turn it off, I now have 7 results.
- Fullscreen needs to auto-detect buttons that are found below on the page if any (like wiki: save, preview, etc) and add them if not, make sure if buttons are hidden, they are not added.
- http://irc.tiki.org/irclogger_log/tikiwiki?date=2012-09-30,Sun&sel=204#l200
- When I edit a Wiki page and press Home or End keys, the cursor jumps not to the start/end of line, but the start/end of paragraph.
Feedback from 8.x
- False positives
- Strike trough syntax here: http://dev.tiki.org/Semi-automatic+merging+period
- PluginCode is missing a way to have colors "none" (ex.: when it doesn't have a syntax like sql)
Feedback from 7.x experimental
[+]Robert & Marc
7.x
-
PluginCode: CodeMirror is doubling up(seems good to me - jb 110714) -
Upgrade 7.x to CodeMirror 1.0 to get bug fixes(done jb 110714)
Trunk
-
Upgrade trunk to CodeMirror2 to get new goodies- Use YAML parser for profiles.tiki.org
- This works but you need to use the yaml param for each plugin
- A perfect example for Override default params for plugins
- This works but you need to use the yaml param for each plugin
- the 8 .js files should be minified
- Make strings translatable
- Use YAML parser for profiles.tiki.org
Related links
- http://techmix.net/blog/2010/08/20/best-online-source-code-editor-collection-must-have-for-a-developer/
- http://smashinghub.com/40-useful-online-applications-for-web-designers-and-developers.htm
- Syntax highlighter
- Syntax highlighting
- PluginCode
- web-based code editor
- Code Mirror
- CodeMirror
- webeditor
- web editor
Options
[+]v3 Dogfood testing
Related
- Comparing ACE and CodeMirror on Ohloh.net
- http://sandeep.shetty.in/2011/05/codemirror-vs-ace.html
- http://www.chris-granger.com/2012/04/12/light-table---a-new-ide-concept/
- http://code.google.com/p/collide/
- http://techcrunch.com/2012/06/18/mozilla-launches-thimble-a-web-based-code-editor-for-teaching-html-and-css/
- http://java.dzone.com/articles/5-reasons-why-5-years-desktop
Realtime
Alias names for this page:
ACE | codeeditor | code editor