redhat-developer / redhat-developer/vscode-java
Feature request: Provide a way to specify -source and -target for javac with VScode
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
[provide a description of the issue]
Environment
- Operating System: MacOS,
- JDK version: Java 11
- Visual Studio Code version: Version 1.35.1 (1.35.1)
- Java extension version: Language Support for Java(tm) 0.46.0
Steps To Reproduce
Allow VScode to build a project. JDK11 is installed and found on path, and is used for builds. Classes generated have class target 55.0
I want to have them generated with target version 52.0 (Java 1.8)
That is, I'd like to be able to pass -source and/or -target to the invocation of javac (or logical equivalent) Could not find any setting or configuration or documentation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by locating the VS Code Java extension's javac build invocation and its configuration or documentation for compiler options. Done means users can specify -source and/or -target, and a project built with JDK 11 produces the requested Java 8 target rather than class target 55.0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- build-system, developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100