Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] - Document how to use Visual Studio Code for add-on development using openHAB inside a docker container. #2276

Open
pgfeller opened this issue Mar 21, 2024 · 1 comment
Assignees

Comments

@pgfeller
Copy link
Contributor

During the work on the huesync binding I learned that it is very convenient to use a docker container with a openHAB instance to debug the binding you're working on.

This allows you to work on a development machine without the need to install openHAB directly on it (I do not want/need it on that device). It also allows you to work next to a productive instance and/or update/reset/change the server environment easely.

The setup is simple - but still requires some knowledge - therefore I propose to add information about this possibility and how to set it up to VSCode.

image

I could update the documentation during my work on the binding if you would like to have this.
@stefan-hoehn ➡️ In that case you can assign this issue to me.

@stefan-hoehn
Copy link
Contributor

I looked into our docs where this would probably fit best.

IMHO, the place to put it would be

https://next.openhab.org/docs/developer/#setup-the-development-environment

where a also found an issue we could improve: if you click on one of the IDEs, ie. VSCODE it forwards you to

https://next.openhab.org/docs/developer/ide/vscode.html

which could never be reached nor found via the menu on the left.

With the new submenu option like in

image

we should add these as well first:

image

I would then first provide a PR for that. WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants