ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Odoo

by Mr7F ALL New

Sublime text syntax highlighting for QWeb templates, OWL templates and views.

Details

Installs

  • Total 0
  • Win 0
  • Mac 0
  • Linux 0
Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime - Odoo

Snippets

Add some snippets for common code - new model - overwrite a model - views (form, list, kanban, search, etc) - common methods (create, write, etc)

Check the snippet folder to see what's available.

Syntax highlighting

Syntax highlighting for QWeb templates, OWL templates and views.

Choose “XML - Odoo”, and it will automatically choose the right syntax - OWL syntax (with JS in expression) if inside <templates/> - View syntax (with python in expression) if inside <odoo/>

It highlight JS template inside Python template (eg template of kanban views)

It also highlight mail templates and “backend” templates.

With this syntax highlighting comes the symbols, you can just to view / component template with ctrl+r / ctrl+shift+r

Commands

Please install ripgrep to use most of commands (they are use instead of slow python code to get the list of modules, list of models, etc)

sudo apt install ripgrep

You can automatically create Python inherit, JS component, search a view and overwrite it, etc

Type “Odoo” in the command palette to see what's available.

https://youtu.be/lkYhHB83vJ8

Auto-complete

TODO

  • find a way to automatically change __manifest__.py without reformatting
  • automatically insert the python import at the right place