metals-eclipse icon indicating copy to clipboard operation
metals-eclipse copied to clipboard

Having issues with worksheets on Eclipse 2019-12(4.14.0)

Open KCulture opened this issue 5 years ago • 4 comments

Not sure if this is just an issue with me or eclipse.

So I am able to get metals to work in a .scala file.. (By work I mean that it will makes completion suggestions)

An issue that I am coming up against is getting worksheets to work. My steps Created a file in my project directory. The file name is src/main/scala/attempt.worksheet.sc Expected Once creating this file I was expecting to see the result for my expressions show as text within the worksheet. Actual worksheet file is not being interpreted

I checked the logs for eclipse and language server and I am not finding anything to indicate what the issue might be

Could be user error but felt like I tried what I could. Let me know if any additional troubleshooting that I might preform.

Side note I have also notice that I am not able to access the command interface http://127.0.0.1:5031/. Not sure if this is a indication of something so wanted to mention it.

KCulture avatar Jul 28 '20 16:07 KCulture

Thanks for reporting! It looks like the worksheets are really not being updated and the command interface is not there, we to take a look at it and figure out what's going on.

tgodzik avatar Aug 03 '20 11:08 tgodzik

From what I see it looks like the worksheets are no longer sent to be evaluated to the server, it might be due to the different extension.

tgodzik avatar Aug 03 '20 11:08 tgodzik

@tgodzik is there something that I can do to help? If someone can help me with a starting place I can do a little leg work. I would like to use the worksheets. I know that repl can be used but I still would prefer the worksheet.

KCulture avatar Sep 02 '20 19:09 KCulture

@KCulture I planned to take a look, but couldn't really find the time for it. I am not 100% sure what we need to do there. It seems .sc files are not treated as scala files, which is why worksheets don't get updated. There should be a part of the code that registers it, so I am thinking the only issue might be to add it? I will try to take a look next week finally, I need to update a bit of things there.

tgodzik avatar Sep 03 '20 08:09 tgodzik