eclipse / xtext

Eclipse Xtext™ is a language development framework
http://www.eclipse.org/Xtext
Eclipse Public License 2.0
764 stars 319 forks source link

[LanguageServer] Provide basic (java) project concept #2581

Open cdietrich opened 7 years ago

cdietrich commented 7 years ago

It would be nice to have a simple support for Java projects in LSP. Currently we just use "folder" and thus have no support for source/output folders and classpath configuration.

cdietrich commented 7 years ago

if i understand the code correctly this would mean a second version of ProjectManager providing a classpathURIContext and (maybe) IFileSystemScanner filtering output folders.

cdietrich commented 7 years ago

should we use some existing format (like gradle) or create something proprietary? maybe we can use/recycle what the java language server does

spoenemann commented 7 years ago

If we decide do add such a thing, it should go to xtext-extras where all other Java related stuff lies, e.g. org.eclipse.xtext.xbase.ide

svenefftinge commented 7 years ago

We should built different implementations for different formats. For instance one that uses .the gradle Tools API, seems to be appropriate.

cdietrich commented 7 years ago

do we want to ship this with the january release or postpone to 2.11.1 / 2.12 ?

blueneogeo commented 6 years ago

Is there a way I can help? I would really like to see Xtend in VSCode.

cdietrich commented 6 years ago

You can provide a pr

spoenemann commented 6 years ago

Is there a way I can help? I would really like to see Xtend in VSCode.

AFAIK the Eclipse-independent IDE services for Xbase and Xtend are not really mature yet.

See https://github.com/eclipse/xtext-extras/tree/master/org.eclipse.xtext.xbase.ide https://github.com/eclipse/xtext-xtend/tree/master/org.eclipse.xtend.ide.common

cdietrich commented 6 years ago

the main problem is still to provide a proper classpath @spoenemann

cdietrich commented 1 year ago

cc @szarnekow