ballerina-platform / plugin-intellij

Ballerina extension for IntelliJ IDEA.
Apache License 2.0
118 stars 4 forks source link

Add a language server settings page #52

Closed ThemiraChathumina closed 4 months ago

ThemiraChathumina commented 4 months ago

Purpose

This PR adds a language settings page component for Ballerina language server related settings. currently it has enabling language server trace logs and debug logs feature. Related to https://github.com/ballerina-platform/plugin-intellij/issues/51

Approach

After enabling the features and applying them, there is no need to restart. The request to enable the features will be sent immediately to the language server. Additionally, the selected features will persist, so the next time the IDE starts up, the request to enable the features is sent to the language server right after initialization, allowing the features to be used at startup. Trace log and debug log notifications are sent to the IDE event log, so user can open the event log tab and view the notifications. These notifications are not popup type notifications so it will not disturb the user experience.

Samples

Settings page component image

Notifications image