Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Conversation

@hlxid
Copy link
Member

@hlxid hlxid commented Sep 8, 2021

The IntelliJ schema mentions that it defaults to 127.0.0.1:19524 if no address is given.
This makes sense as most will connect the service to the IntelliJ instance running on the same host.
However the schema requires a value and also the code doesn't check for undefined and thus doesn't provide the default if the value is missing.
This PR implements the default value by using it if no value is provided and removing address from the required fields list of the JSON schema.

The IntelliJ schema mentions that it defaults to `127.0.0.1:19524` if no address is given.
This makes sense as most will connect the service to the IntelliJ instance running on the same host.
However the schema requires a value and also the code doesn't check for `undefined` and thus doesn't provide the default if the value is missing.
This PR implements the default value by using it if no value is provided and removing `address` from the required fields list of the JSON schema.
@hlxid hlxid self-assigned this Sep 8, 2021
@hlxid hlxid merged commit 4571bfb into master Sep 8, 2021
@hlxid hlxid deleted the fix/intellij-address-default branch September 8, 2021 18:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants