Comments (7)
I think it is a classical behavior of Eclipse.
If this behavior needs to be changed in the specific context of Language Servers, I would say that it needs to be done in LSP4E project
from camel-lsp-client-eclipse.
Facing the same problem here.
I have to edit multiple pom.xml files today. For every file, a new console is opened, and never closed.
This behavior is especially annoing once you have to scroll through the list of consoles because too many of them are open.
In this example, the list is taking up the entire height of my screen.
from camel-lsp-client-eclipse.
I can't believe it's Eclipse standard as I don't see any other behaving like Camel LSP:
- opens a new language server process for what it seems every XML file I have (not every project and not every Camel file)
- opens a new console for each process (good luck finding your application's, see screenshot above)
- these consoles stay open forever and they also never show me anything
- after exiting Eclipse the language server processes stay open...
I just disabled the two Camel LSP servers in Eclipse settings, the hassle is much too big for the benefits.
I'm using both Red Hat Developer Studio 12.9 and Spring Tool Suite 4.1 with different Java 1.8 versions, same behaviour.
from camel-lsp-client-eclipse.
I guess the Camel Language Server does use the logMessage()
operation which exactly requests client to log that to the user if not mistaken. So not invoking this method should avoid such logging.
About the multiplicity, the camel language server could investigate declaring support for workspaceFolders in its capabilities. This is used by LSP4E to determine whether to spawn a new LS or whether one can be reused for files which are under a different Eclipse project.
from camel-lsp-client-eclipse.
I guess the Camel Language Server does use the
logMessage()
operation which exactly requests client to log that to the user if not mistaken. So not invoking this method should avoid such logging.
thanks. I created this PR to avoid this logging which is not very useful, especially for end users camel-tooling/camel-language-server#205
I think that LSP4E should be able to close the different console when there is no more resources attached to it in the workspace. I will try to report an enhancement request soon (but we are too close to weekend time :p)
About the multiplicity, the camel language server could investigate declaring support for workspaceFolders in its capabilities. This is used by LSP4E to determine whether to spawn a new LS or whether one can be reused for files which are under a different Eclipse project.
Thanks for the pointer. I created camel-tooling/camel-language-server#206
from camel-lsp-client-eclipse.
The console is not opening anymore with latest version.
Thanks for the report @tsedmik and for the push @Postremus @sorin-costea and for the help @mickaelistria
from camel-lsp-client-eclipse.
verified - Apache Camel LSP Client Extensions Plugin 1.0.0.201902121537
from camel-lsp-client-eclipse.
Related Issues (20)
- Cannot get the Camel LSP Server jar. HOT 1
- Fix issue detected by flaky test CamelLSPCompletionTest HOT 1
- Update RedDeer framework to 2.4.0 HOT 1
- Hover on Camel URI is not working inside Generic editor HOT 4
- Create UI test for code completion inside Java editor
- Create UI test for code completion inside Generic editor
- Upgrade Server version from 1.0.0-SNAPSHOT to 1.1.0-SNAPSHOT HOT 1
- Improve stability of UI test - CamelLSPCompletionTest HOT 1
- Provide GitHub templates for new issues and PRs HOT 1
- Create Changelog.md file
- Convert existing UI tests to work with Cucumber framework HOT 1
- Upgrade target Platform to Eclipse IDE 2019-03 HOT 1
- Fix tests on Travis which are failing with timeout HOT 2
- TimeoutException in EditorToOutlineAdapterFactory.getAdapter(EditorToOutlineAdapterFactory.java:47) with latest Target platform
- Upgrade to Tycho 1.4.0 HOT 1
- Update Travis build due to API break with xfvb HOT 1
- Update Travis CI build which has broken Java install HOT 1
- Update target Platform to 2019-06 HOT 1
- Exclude dependabots branch from Travis build (except PR of course) HOT 1
- Code completion is not working on macOS
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 camel-lsp-client-eclipse.