You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this also seems similar to what is done in JDT-LS when a java file created in an empty folder/project does have basic completion working. Could o.e.jdt.ls.core.internal.JDTUtils#getFakeCompilationUnit(uri) be modified to work with a .jsh file and an existing project ?
Activity
fbricon commentedon Aug 31, 2020
That'll require upstream JDT to support jshell scripts. cc @akurtakov @rgrunber @scela
rgrunber commentedon Sep 4, 2020
This seems pretty similar to https://help.eclipse.org/2020-06/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-create_scrapbook_page.htm . Although that makes use of JavaSnippet{Editor,ViewerConfiguration,CompletionProcessor} which are definitely part of UI, so not the way to go.
However, this also seems similar to what is done in JDT-LS when a java file created in an empty folder/project does have basic completion working. Could o.e.jdt.ls.core.internal.JDTUtils#getFakeCompilationUnit(uri) be modified to work with a .jsh file and an existing project ?
maxandersen commentedon Mar 12, 2022
Any chance of this happening ? Really just need content assist per line using available classpath info for the project.
maxandersen commentedon Mar 12, 2022
Related to #2355