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

Support images in LSP that are located outside of bundles #146

Open
a-sr opened this issue Nov 12, 2022 · 0 comments
Open

Support images in LSP that are located outside of bundles #146

a-sr opened this issue Nov 12, 2022 · 0 comments
Labels
enhancement New feature or request LSP Affect the klighd language server.

Comments

@a-sr
Copy link
Member

a-sr commented Nov 12, 2022

Currently, the Klighd LSP only supports KImages that refer to images in a bundle, hence the LS jar. This should be extended to support any URI in order to enable images defined by the modeller, e.g. on the file system.

@Data
class ImageData {
/**
* Name of the bundle where the image can be found. Note that the imagePath is relative to this bundle.
*/
String bundleName
/**
* The path to the image on the filesystem relative to the bundleName (and its according position).
*/
String imagePath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request LSP Affect the klighd language server.
Projects
None yet
Development

No branches or pull requests

1 participant