How to specify the file to be opened (URL API or the way keeping query parameters upto Theia Plugin). #20495
Labels
area/dashboard
kind/question
Questions that haven't been identified as being feature requests or bugs.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Summary
Hello, my question is related to eclipse-theia/theia#8292.
But because
workspace-loader
was replaced withche-dashboard
this question became actual again.I need to share a link to a specific file(with line and column) in a workspace. The problem was solved with a custom plugin that reads query parameters and uses Theia API to open files. The base of the solution was the ability to pass query parameters to the plugin. It was possible with URIs like /workspace-loader/lego/temp-prj?f=/projects/22.txt&l=61&c=421&uid=42
But now there is no
workspace-loader
and I use link from workspace dto, for example,https://server8wkx32v7-jwtproxy-server-4402.k8s.managed.cloud/#/projects?f=/projects/22.txt&l=61&c=421&uid=42
. It works as well as earlier, except expanding left panel (see #20494).Does any better approach exist to open files via URL API? Or maybe somebody knows how to get query parameters in a custom plugin without using links to
jwtproxy
, ideally with the usage of link in the context of workspace?Relevant information
No response
The text was updated successfully, but these errors were encountered: