umple/Umple-for-Vscode

Umple compilation should behave the same way a Java compiler behaves

Closed this issue · 6 comments

Description

When pressing "Compile Umple Code", a piece of code that contains an error is highlighted, but no message is present in the console (a message is present when hovering on the highlighted text). We want to have a message in the console that is similar to the one we see in Umple Online and the Java compiler in VS code.

Current Behaviour

Highlighted piece of problematic code:
image

When hovering over:
image

Wanted Behaviour

When running java code with java extension, an error is present in the console and when hovering over problematic code:
image

hey @fred-lafleche , i will try to take a look at this and resolve this soon. been relatively busy with work.

Hey @Digized , I am currently working on the plugin as part of my Master's project. I will be creating other issues, but I will be working on them. I can't seem to assign the issue to me, might be an access issue.

That's awesome to hear! If you have any questions, lmk, I haven't touched this in at least a year but I may remember some things, I did try to document all the non obvious things I thought of in the wiki.

there maybe some things that are specifically tied to my vscode publishing account (digized), I was hoping to setup an action or something similar to continuously deploy but haven't had the chance to do that just yet.

wrt assigning tickets, I believe we should have the same permissions and I am able to assign a ticket to you..

Hey @Digized , I am currently trying to make changes to the extension. I pulled the code, ran the debugger, a test vs code window appears, I create a .ump file but when pressing Generate or Compile, nothing happens. Are files even created when pressing generating or compiling in the testing environment?
Thanks for your help?

they should be, you can try running the tests, and that should work as expected. Make sure you have an umple compiler installed in the root directory (it should get installed by npm install).

#17 should allow you to fix your problem, we were trying to download from http, but now we use https. also added you as a reviewer on it