Hello, we have a case where we display a large number of nodes (rootsIncludingImported) in a substitution a href='http://menu.It'menu.It/a takes a long time to display the nodes. Is there any way to e...
This is an auto-generated question from the MPS Slack community: Hello, we have a case where we display a large number of nodes (rootsIncludingImported) in a substitution a href='http://menu.It'menu.It/a takes a long time to display the nodes. Is there any way to enable some kind of lazy loading for this? Like it works with NodeSearch for example (with the dots)?
3 comments
Sort by
Date
Votes
Maybe someone has a simpler solution, but you could implement your own node search. Implement some code that looks similar to a href='http://127.0.0.1:63320/node?ref=r%3A00000000-0000-4000-0000-011c895904a4%28jetbrains.mps.ide.actions%29%2F3906874221886742303'GoToRootNode/a with your own scopes. Then create an action map that overrides the COMPLETE action and calls your implementation.
In the end, assign the action map to the cell that should have your custom completion.
Thanks for the answer, I already assumed that we have to implment something of our own
This is auto-generated question from the MPS Community Slack Workspace. If you want to comment on the question, do it from the Slack workspace
Post is closed for comments.