Comments (9)
It's the eclipse.jdt.ls project to handle the auto compilation, i suggest you have a look at the source code there. https://github.com/eclipse/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/handlers/DocumentLifeCycleHandler.java#L204
from java-debug.
modify -> textDocument/didChange
save -> textDocument/didSave
from java-debug.
textDocument/didSave does not seem to work .
I want to know how to implement classes that automatically compile changes?
from java-debug.
Thanks
from java-debug.
@gnegu, you need enable auto building for your work. Refer https://github.com/eclipse/eclipse.jdt.ls/blob/c0656fc1230be7f77202238cac61f1f6cd4b74a1/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/managers/ProjectsManager.java for enable this value.
from java-debug.
I think , you said the settings
"autobuild": {
"enabled": true
},
Actually , I set it to true, then I save a file does not appear to take effect.
from java-debug.
setting.json:
"java.autobuild.enabled": true
from java-debug.
It seems that I am setting the right value for autobuild .
from java-debug.
Looks like it was written to false stable.
from java-debug.
Related Issues (20)
- [major] [bug] Gradle projects add test compile path in the launcher configuration HOT 5
- Documentation | How can I launch the DAP server from the command line? HOT 1
- Typo findMethodLocation instead of findMethodLocaiton HOT 1
- i cant debug java core classes HOT 1
- Missing very recent dependency fails build process HOT 2
- StepInto method target doesn't work if the method is part of wrapped expression
- [Critical] Cannot debug multiline nested method expression's lambda statements
- Are there any plans for 0.50 release? HOT 3
- CompletionItem of completions response always have `start = 0` and text prefix inclusion is mixed HOT 1
- Dependency location causing build errors
- [critical] Improve lambda breakpoints when using gradle build server HOT 2
- Build failure: TypeFilter cannot be resolved to a type HOT 4
- Remote eclipse binary repository removed HOT 1
- Install fails HOT 6
- Building fails with unprovided dependency HOT 1
- Standardize Documentation Across All Formatters for Clarity and Consistency
- [Question]How to send the "vscode.java.startDebugSession" command to jdt.ls HOT 1
- java.lang.UnsupportedClassVersionError
- resolveClasspath is failing to serialize response in gson
- java.lang.NullPointerException: Cannot invoke "String.split(String)" because "fullyQualifiedTypeName" is null
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-debug.