ZenCoding Plugin

54 views
Skip to first unread message

Jose

unread,
Jul 18, 2012, 1:05:08 PM7/18/12
to web2py-d...@googlegroups.com
Hi

Why is removed  ZenCoding Plugin in the web editor?
It is going to include it again? It was very comfortable

José

Massimo DiPierro

unread,
Jul 18, 2012, 1:25:11 PM7/18/12
to web2py-d...@googlegroups.com
? not sure what you are talking about.

--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
 
 

Jose

unread,
Jul 18, 2012, 1:32:05 PM7/18/12
to web2py-d...@googlegroups.com


El miércoles, 18 de julio de 2012 14:25:11 UTC-3, Massimo Di Pierro escribió:
? not sure what you are talking about.

When editing a view, We could do some of this

Key bindings for ZenCoding Plugin

  • Ctrl+S Save via Ajax
  • Ctrl+, Expand Abbreviation
  • Ctrl+M Match Pair
  • Ctrl+H Wrap with Abbreviation
  • Shift+Ctrl+M Merge Lines
  • Ctrl+Shift+← Previous Edit Point
  • Ctrl+Shift+→ Next Edit Point
  • Ctrl+Shift+↑ Go to Matching Pair
 but when he changed his publisher, was removed.

Jose

Massimo DiPierro

unread,
Jul 18, 2012, 1:40:41 PM7/18/12
to web2py-d...@googlegroups.com
Do they still work? I think we broken them as we upgraded the editor.

Jose

unread,
Jul 18, 2012, 1:52:56 PM7/18/12
to web2py-d...@googlegroups.com


El miércoles, 18 de julio de 2012 14:40:41 UTC-3, Massimo Di Pierro escribió:
Do they still work? I think we broken them as we upgraded the editor.

Exactly, stopped working when migrated the editor. I thought it was temporary. 

Mariano Reingart

unread,
Jul 18, 2012, 2:26:24 PM7/18/12
to web2py-d...@googlegroups.com
Except Ctrl+S, they do not work in the new editor (ACE).
The new editor has a better support for keybindings (including vim and
emacs), but that is not tested thoroughly.
ZenCoding-like keystrokes could be mapped, but I don't think I'll have
the time to do that.
This, added to breakpoints marks, is in my TODO list for web2py 2.0

Anyway, you can reeenable the previous editor changing the line 10 in
admin/models/0.py:

## Default editor
TEXT_EDITOR = 'edit_area' or 'amy'

Regards

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com


Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com

Massimo DiPierro

unread,
Jul 18, 2012, 2:29:42 PM7/18/12
to web2py-d...@googlegroups.com
@Jose, can you check that if TEXT_EDITOR = 'edit_area', the keybinding work? I can restore the legend in this case.

@Mariano, can you please check emacs keybindings?

Massimo DiPierro

unread,
Jul 18, 2012, 3:17:58 PM7/18/12
to web2py-d...@googlegroups.com
I checked. There was a check missing but otherwise if TEXT_EDITOR == 'edit_area' and if the file is an HTML file, the encoding shortcuts work.
Jose, can you confirm their work for you.

In other situations the legend should not appear or be different.

On Jul 18, 2012, at 1:26 PM, Mariano Reingart wrote:

Jose

unread,
Jul 18, 2012, 3:23:40 PM7/18/12
to web2py-d...@googlegroups.com


El miércoles, 18 de julio de 2012 15:29:42 UTC-3, Massimo Di Pierro escribió:
@Jose, can you check that if TEXT_EDITOR = 'edit_area', the keybinding work? I can restore the legend in this case.


With TEXT_EDITOR = 'edit_area'

It works well the key combination.

Jose 
Reply all
Reply to author
Forward
0 new messages