Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

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

Open
KCulture opened this issue Jul 28, 2020 · 4 comments
Open

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

KCulture opened this issue Jul 28, 2020 · 4 comments

Comments

@KCulture
Copy link

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.

@tgodzik
Copy link
Contributor

tgodzik commented Aug 3, 2020

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
Copy link
Contributor

tgodzik commented Aug 3, 2020

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.

@KCulture
Copy link
Author

KCulture commented Sep 2, 2020

@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.

@tgodzik
Copy link
Contributor

tgodzik commented Sep 3, 2020

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants