mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[IMP] owl-vision: syntax scripts, single quotes attributes and slot props highlight and switch below command
This commit adds the following: - Syntax builder scripts to make syntaxes easier to read and edit - Syntax highlight in single quote attributes - Syntax highlight for slot props - Basic syntax highlight for xpaths - Added `Switch Below` command This commit fixes the following: - Using `Switch Besides` or `Switch Below` does not open a new panel if one was already open - Fixed missing space in component's snippet indentation
This commit is contained in:
committed by
Géry Debongnie
parent
398df543fe
commit
34489a2494
@@ -4,7 +4,9 @@ Owl Vision is an extension for the amazing [Owl framework](https://github.com/od
|
||||
|
||||

|
||||
|
||||
This extension also adds a small Component snippet to allow you to create beautiful components as fast as possible!
|
||||
This extension also adds:
|
||||
- A basic component snippent.
|
||||
- "Go to definition" providers for component tags in xml or in inline templates.
|
||||
|
||||
## Commands
|
||||
|
||||
@@ -13,11 +15,10 @@ This extension also adds a small Component snippet to allow you to create beauti
|
||||
- If the cursor is on a component, finds the template of the selected component.
|
||||
* `Owl Vision: Find Component`: Finds the selected component definition.
|
||||
* `Owl Vision: Switch`: Finds the corresponding template or component depending on the current file.
|
||||
* `Owl Vision: Switch Besides`: Finds the corresponding template or component depending on the current file and opens it besides.
|
||||
* `Owl Vision: Switch (Besides)`: Finds the corresponding template or component depending on the current file and opens it besides.
|
||||
* `Owl Vision: Switch (Below)`: Finds the corresponding template or component depending on the current file and opens it below.
|
||||
|
||||
## Extension Settings
|
||||
|
||||
This extension contributes the following settings:
|
||||
## Settings
|
||||
|
||||
* `owl-vision.include`: Glob filter for files to include while searching.
|
||||
* `owl-vision.exclude`: Glob filter for files to exclude while searching.
|
||||
|
||||
Reference in New Issue
Block a user