Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vitalibo/bitbake-intellij-plugin

IntelliJ Platform plugin for support BitBake syntax
https://github.com/vitalibo/bitbake-intellij-plugin

bitbake intellij-plugin yocto

Last synced: about 7 hours ago
JSON representation

IntelliJ Platform plugin for support BitBake syntax

Awesome Lists containing this project

README

        

# BitBake IntelliJ Plugin

Highlight `.bb`/`.bbappend`/`.bbclass`/`.inc` files in JetBrains IDEs to make working with BitBake-based projects (like
anything based on Yocto Project) easier.

![](.screenshot.png)

## How to install

The easiest way is to just install the plugin from the official JetBrains Marketplace:

[![Get from Marketplace](https://user-images.githubusercontent.com/5559994/177139564-fa340c42-93a7-4d07-ab1d-ee26ef62b947.png)](https://plugins.jetbrains.com/plugin/19471-bitbake)

Or you can download the [latest release](../../releases/) and install it in your favourite JetBrains IDE like this:
*File ➜ Settings... ➜ Plugins ➜ ⚙️ Gear Button (Manage Repositories, Configure Proxy or Install Plugin from Disk) ➜
Install Plugin from Disk...*

## How to build
If you have Git, Gradle and Java installed, just use the following command to build the plugin:

```shell
gradle build -Pversion=$(git describe --dirty --tags --always)
```

The installable `.zip` file of the plugin can then be found in `build/distributions`.

Alternatives without installing Gradle & Java system-wide

If you don't want to install Gradle & Java locally, you can use e. g. Docker or Podman:
```shell
$ docker run --rm -it -u "$(id -u)" \
-v "$(pwd)":/home/gradle/project -w /home/gradle/project \
docker.io/library/gradle:7.4-jdk11 bash
$ gradle build -Pversion=$(git describe --dirty --tags --always)
```

You can also use Conda to install Gradle & Java in a separate environment:
```shell
$ conda create -n jetbrains-plugin-development -c conda-forge gradle=7.4.* openjdk=11.*.*
$ conda activate jetbrains-plugin-development
$ gradle build -Pversion=$(git describe --dirty --tags --always)
```