Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use IDE features of Metals on "Java files" in mixed Java/Scala projects with sbt? #1035

Closed
JSQQQQQQ opened this issue Nov 1, 2019 · 1 comment

Comments

@JSQQQQQQ
Copy link

JSQQQQQQ commented Nov 1, 2019

Question
Can I use IDE features of Metals (see errors, goto definition, completions, etc) on Java files?
(e.g. Click 'Go to Definition' on a Java file opens a corresponding Scala file)

I have a Java/Scala project which use sbt as its build tool. As far as I know, Metals supports IDE features only for Scala files. Since Metals doesn't support Java files and no Java plugins support sbt, VSCode + Metals + (Some Java plugins) combination isn't as useful as IntelliJ.

Installation:

  • Operating system: Linux (Windows WSL)
  • Editor: Visual Studio Code
  • Metals version: v1.6.2

Additional context
The Java plugin I use is Language Support for Java(TM) by Red Hat

Search terms
sbt, Java

@gabro
Copy link
Member

gabro commented Nov 1, 2019

Unfortunately not, it’s not possible yet.
There’s an open feature request tracking this here scalameta/metals-feature-requests#5

@gabro gabro closed this as completed Nov 1, 2019
@tgodzik tgodzik added this to the Metals v0.8 - Cobalt milestone Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants