Skip to content

Commit bbd9ec2

Browse files
committed
Release version 1.0.2: improved overview, links, and full English localization
1 parent 64a5599 commit bbd9ec2

File tree

91 files changed

+1732
-3168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1732
-3168
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<ivy-module version="2.0">
2+
<info organisation="bundledModule" module="intellij-platform-test-runtime" revision="IC-241.18034.62"/>
3+
<configurations>
4+
<conf name="default" visibility="public"/>
5+
</configurations>
6+
<publications/>
7+
<dependencies/>
8+
</ivy-module>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<ivy-module version="2.0">
2+
<info organisation="bundledModule" module="intellij-platform-test-runtime" revision="PC-241.18034.82"/>
3+
<configurations>
4+
<conf name="default" visibility="public"/>
5+
</configurations>
6+
<publications/>
7+
<dependencies/>
8+
</ivy-module>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<ivy-module version="2.0">
2+
<info organisation="bundledPlugin" module="PythonCore" revision="PC-241.18034.82"/>
3+
<configurations>
4+
<conf name="default" visibility="public"/>
5+
</configurations>
6+
<publications>
7+
<artifact name="python-ce" ext="jar" conf="default" url="plugins/python-ce/lib"/>
8+
</publications>
9+
<dependencies>
10+
<dependency org="bundledPlugin" name="org.toml.lang" rev="PC-241.18034.82"/>
11+
</dependencies>
12+
</ivy-module>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<ivy-module version="2.0">
2+
<info organisation="bundledPlugin" module="org.toml.lang" revision="PC-241.18034.82"/>
3+
<configurations>
4+
<conf name="default" visibility="public"/>
5+
</configurations>
6+
<publications>
7+
<artifact name="toml" ext="jar" conf="default" url="plugins/toml/lib"/>
8+
</publications>
9+
<dependencies/>
10+
</ivy-module>

.intellijPlatform/self-update.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-06-25

License.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
MIT License
2+
13
Copyright (c) 2024 AlexTkDev
24

35
Permission is hereby granted, free of charge, to any person obtaining a copy

META-INF/plugin.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<idea-plugin>
2+
<id>odoo.autocomplete.support.community</id>
3+
<name>Odoo Autocompletion Support</name>
4+
<description>An enhanced IntelliJ/PyCharm plugin for Odoo development, providing advanced autocompletion, code navigation, and inspections for models, records, and more.</description>
5+
<vendor url="https://github.com/AlexTkDev/odoo-autocomplete-plugin">AlexTkDev</vendor>
6+
<version>1.0.1</version>
7+
<idea-version since-build="251" until-build="241.*" />
8+
<change-notes><![CDATA[<h3>Version 0.7.0</h3>
9+
<ul>
10+
<li><b>Feature:</b> Added full support for JavaScript module autocompletion and navigation (<code>odoo.define</code>).</li>
11+
<li><b>Feature:</b> Added full support for PO/POT file <code>msgid</code> autocompletion and navigation.</li>
12+
<li><b>Feature:</b> Added inspections for missing JS modules and PO <code>msgid</code>s.</li>
13+
<li><b>Update:</b> Plugin renamed to "Odoo Autocomplete Plugin".</li>
14+
<li><b>Update:</b> Compatibility updated for IntelliJ/PyCharm 2025.1 and newer.</li>
15+
<li><b>Refactor:</b> Translated codebase and documentation to English.</li>
16+
</ul>]]></change-notes>
17+
<depends>com.intellij.modules.platform</depends>
18+
<depends>com.jetbrains.python</depends>
19+
<depends>JavaScript</depends>
20+
<extensions>
21+
<localInspection language="XML" shortName="MissingRecordDefinitionXml" bundle="at.wtioit.intellij.plugins.OdooBundle" key="INSP.NAME.missing.record.definition" groupKey="INSP.GROUP.odoo" enabledByDefault="true" level="WARNING" implementationClass="at.wtioit.intellij.plugins.odoo.records.inspection.MissingRecordDefinitionXmlInspection" />
22+
<localInspection language="JavaScript" shortName="MissingJsModule" bundle="at.wtioit.intellij.plugins.OdooBundle" key="INSP.NAME.missing.js.module" groupKey="INSP.GROUP.odoo" enabledByDefault="true" level="WARNING" implementationClass="at.wtioit.intellij.plugins.odoo.inspections.MissingJsModuleInspection" />
23+
<localInspection language="Python" shortName="MissingPoMsgId" bundle="at.wtioit.intellij.plugins.OdooBundle" key="INSP.NAME.missing.po.msgid" groupKey="INSP.GROUP.odoo" enabledByDefault="true" level="WARNING" implementationClass="at.wtioit.intellij.plugins.odoo.inspections.MissingPoMsgIdInspection" />
24+
<localInspection language="XML" shortName="MissingPoMsgIdXml" bundle="at.wtioit.intellij.plugins.OdooBundle" key="INSP.NAME.missing.po.msgid" groupKey="INSP.GROUP.odoo" enabledByDefault="true" level="WARNING" implementationClass="at.wtioit.intellij.plugins.odoo.inspections.MissingPoMsgIdInspection" />
25+
<!-- Odoo Model Completion Contributor (Python) -->
26+
<completion.contributor language="Python" implementationClass="at.wtioit.intellij.plugins.odoo.models.OdooModelCompletionContributor" />
27+
<!-- Odoo Model Completion Contributor (XML) -->
28+
<completion.contributor language="XML" implementationClass="at.wtioit.intellij.plugins.odoo.models.OdooXmlModelCompletionContributor" />
29+
<!-- Odoo Manifest Completion Contributor -->
30+
<completion.contributor language="Python" implementationClass="at.wtioit.intellij.plugins.odoo.OdooManifestCompletionContributor" />
31+
<!-- Odoo Model Goto Declaration Handler -->
32+
<gotoDeclarationHandler implementationClass="at.wtioit.intellij.plugins.odoo.models.OdooModelGoToDeclarationHandler" />
33+
<!-- Odoo Model Inspection -->
34+
<localInspection implementationClass="at.wtioit.intellij.plugins.odoo.models.OdooModelInspection" />
35+
<!-- Odoo Model QuickFix -->
36+
<localQuickFix implementationClass="at.wtioit.intellij.plugins.odoo.models.OdooModelQuickFix" />
37+
<!-- Odoo Model Template Generator -->
38+
<intentionAction implementationClass="at.wtioit.intellij.plugins.odoo.models.OdooModelTemplateGenerator" />
39+
<!-- Odoo Documentation Provider -->
40+
<documentationProvider implementationClass="at.wtioit.intellij.plugins.odoo.OdooDocumentationProvider" />
41+
</extensions>
42+
</idea-plugin>

README.md

Lines changed: 31 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,42 @@
1-
# 🚀 Odoo Autocomplete Plugin
1+
# 🚀 Odoo Autocompletion Support (v1.0.2)
22

3-
An enhanced IntelliJ/PyCharm plugin for Odoo development. It provides advanced autocompletion, code navigation, and inspections to supercharge your workflow. Supports all Odoo versions!
3+
A modern, production-ready plugin for PyCharm Community Edition and IntelliJ IDEA, designed to supercharge Odoo development.
44

5-
## ✨ Features
6-
7-
- **Full Autocompletion:** For Models, Record XML IDs, Actions, Views, Menus, Groups, and more across Python, XML, and CSV files.
8-
- **Go To Declaration:** Instantly navigate to the definition of any Odoo entity.
9-
- **JavaScript Support:** Autocompletion and navigation for JS modules defined with `odoo.define`.
10-
- **Translation Support:** Autocompletion and navigation for `msgid` entries from PO/POT files.
11-
- **Smart Inspections:** Get warnings for missing models, records, JS modules, and translations.
12-
- **High Performance:** Built with a powerful indexing engine for a fast and smooth developer experience.
13-
14-
## 🛠️ Installation
15-
16-
1. **Build the plugin:**
17-
```bash
18-
./gradlew buildPlugin
19-
```
20-
2. The plugin `.jar` file will be created in the `build/libs/` directory.
21-
3. **Install in your IDE:**
22-
- In PyCharm/IntelliJ, go to `File > Settings > Plugins`.
23-
- Click the gear icon ⚙️ and select **"Install Plugin from Disk..."**.
24-
- Choose the `.jar` file you just built.
25-
26-
## 📚 Documentation
27-
28-
For a detailed list of features, supported entities, and usage examples, please see the full documentation: [documentation/README.md](documentation/README.md).
5+
---
296

30-
## 📄 License
31-
32-
This project is licensed under the MIT License. See the [License.txt](License.txt) file for details.
33-
34-
## 🧑‍💻 Authorship
35-
36-
Copyright (c) 2024 AlexTkDev.
37-
38-
Based on the original work by `wt-io-it/odoo-pycharm-plugin`.
39-
40-
# Installing
7+
## ✨ Features
8+
- **Full Autocompletion:** Models, fields, XML-IDs, manifests, and more in Python and XML.
9+
- **Go to Declaration:** Instantly navigate to models, fields, records, and references.
10+
- **Inspections & Quickfixes:** For missing models, records, and manifest errors.
11+
- **Odoo-specific Code Generation:** Fast creation of Odoo models and records.
12+
- **Documentation Popups:** Inline Odoo docs for models and fields.
13+
- **Manifest & Security Support:** Navigation and validation for manifest and security files.
14+
- **Marketplace-ready:** All code and UI in English, ready for JetBrains Marketplace.
15+
- **No Ultimate dependencies, no license checks, fully open source.**
4116

42-
The Plugin will be made available in the [JetBrains Plugin Repository](https://plugins.jetbrains.com/plugin/13083-odoo-support-for-pycharm)
17+
---
4318

44-
Alternatively you can install it as a local file
45-
* Download [odoo_plugin.jar](odoo_plugin.jar)
46-
* In PyCharm in File > Settings > Plugin select the gear icon.
47-
* Select install plugin from disk and choose the downloaded odoo_plugin.jar
19+
## 📦 Installation
20+
1. Download the latest release from [GitHub Releases](https://github.com/AlexTkDev/odoo-autocomplete-plugin/releases) or build from source:
21+
```bash
22+
./gradlew clean build --no-build-cache --refresh-dependencies
23+
```
24+
2. In PyCharm: Preferences → Plugins → Install plugin from disk → select the built `.zip` file.
25+
3. Restart PyCharm.
4826

49-
# Contributing
27+
---
5028

51-
## Checkout and open Odoo Autocompletion Plugin in IntelliJ IDEA
29+
## 📚 Documentation & Support
30+
- **Repository:** [github.com/AlexTkDev/odoo-autocomplete-plugin](https://github.com/AlexTkDev/odoo-autocomplete-plugin)
31+
- **Documentation:** [Full documentation](https://github.com/AlexTkDev/odoo-autocomplete-plugin/blob/master/documentation/README.md)
32+
- **Issues & Feedback:** [GitHub Issues](https://github.com/AlexTkDev/odoo-autocomplete-plugin/issues)
5233

53-
1. git clone https://github.com/wt-io-it/odoo-pycharm-plugin.git into a directory
54-
1. Open a new project by selecting File > New > Project from Version Control > Git
55-
1. Enter `https://github.com/wt-io-it/odoo-pycharm-plugin.git` into the Field URL
56-
![intellij new project from version control](documentation/setup/01_new_project_url.png)
57-
1. Start coding
34+
---
5835

59-
## Agreement to publish the code in the Jetbrains Plugin Repository
36+
## 📝 License
37+
MIT License. Copyright (c) 2024 AlexTkDev.
6038

61-
By contributing you agree that this plugin is also published in the JetBrains Plugin Repository under the terms of the
62-
JetBrains Plugin Marketplace Developer Agreement
39+
---
40+
Odoo® is a registered trademark of Odoo S.A. This plugin is an independent open-source project and is not affiliated with Odoo S.A.
6341

64-
# Development HowTos
65-
## Build Plugin
66-
To build the plugin perform the following steps
67-
* checkout the version you want to build
68-
* run `./gradlew buildPlugin`
69-
## Install Development Version of the Plugin
70-
> Development versions are marked with -SNAPSHOT
71-
* Build the plugin as descriped above
72-
* In PyCharm / IntelliJ open File > Settings
73-
* Select Plugins
74-
* Select the gear icon above the plugin list and select "Install Plugin from Disk ..."
75-
![Select "Install Plugin from Disk ..."](documentation/dev/01_install_dev_plugin.png)
76-
* Select the plugin jar file from [build/libs](build/libs) directory and click "OK"
77-
* Click the "Restart IDE" button to apply the new version of the plugin:
78-
![Restart IDE button](documentation/dev/02_install_dev_plugin_restart.png)
79-
## Publish a new version
80-
* test plugin with `./gradlew test`
81-
* test plugin manually by installing it
82-
* review changelog
83-
* change -SNAPSHOT version to non snapshot version and perform release commit
84-
* verify the plugin with `./gradlew verifyPlugin && ./gradlew runPluginVerifier`
85-
* submit plugin to jetbrains review process with `./gradlew publishPlugin`
86-
* tag commit as version with `vN.N.N`
87-
* push commit and tag
88-
* prepare version numbers for next version and commit
89-
* push commit
42+
*This README is up to date for version 1.0.2 and the 2025.1+ JetBrains platform.*

0 commit comments

Comments
 (0)