'Ballerina Swan Lake an IDEs. How to get sequence diagrams

It's me again! After getting help with this question here, I managed writing a little microservice in Ballerina. For that I switched to Swan Lake as recommended.

But now I'm having difficulties using IDEs and their plugins. Because all questions related to that are pretty old I'm creating a new post. I'm writing a paper about Ballerina and cloud native languages and thought it would be cool to show a generated sequence diagram, so I tried setting up a proper project and generating one.

However: The IntelliJ plugin doesn't seem to support Swan Lake yet. I always get an error message that the SDK is invalid. So I switched to VS Code. Here I have a lot of problems. I can run and build my stuff just fine and I also have syntax highlight, but I don't know how to get a diagram. The documentation tells me to either open it through the project overview or the file overview. But I do not have that. My VS Code Window looks as follows: VS Code Screenshot

If I try to use "Ballerina: Document" it tells me "Current file does not belong to a Ballerina project" Also notice that the explorer one the left looks completely different compared to the documentation But how would I set this up correctly? I did everything that the docs tell me to do and I have tried the integrator. Doesn't support Swan Lake yet. And as I said: IntelliJ doesn't work either. Is it even possible to set this up correctly with Swan Lake at the moment? Am I just to stupid? I have never used VS Code before, so maybe there's a trick?



Solution 1:[1]

The sequence diagram view in Ballerina has been removed temporarily in Swan Lake. But this support will be brought back before the GA version. I guess it will be available in the Beta release, which is due in April.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Anjana Fernando