Commit Graph

79 Commits

Author SHA1 Message Date
BoykoAlex
1203b899dd PT #156686000: Make enum value description look closer to javadoc 2018-06-06 21:42:28 -04:00
BoykoAlex
4b9e29590b Refactor javadoc service injection 2018-06-05 09:55:09 -04:00
BoykoAlex
1b33036794 PT #156965730: Get Javadoc from JDT LS or eclipse client via sts/javadoc 2018-05-31 22:19:28 -04:00
Martin Lippert
d27856da64 avoid to confuse the ASTParser with the classpath of the running JDK 2018-05-31 11:16:06 +02:00
BoykoAlex
1bdd6f45aa Screenshots for Theia extension readme files 2018-05-24 14:33:48 -04:00
Kris De Volder
d4d6f89d1a Don't index non-boot project in SpringIndexer 2018-05-22 16:23:09 -07:00
Kris De Volder
c39953863b Add support for source-jars in JdtLs classpath service 2018-05-14 15:47:51 -07:00
Kris De Volder
564a211929 Cleanup verbose debug info messages 2018-05-10 15:37:00 -07:00
Kris De Volder
ecc2724822 Fix bug in UriUtil.normalize and add some test cases for it. 2018-05-10 15:15:52 -07:00
nsingh
a640a62121 Remove live hover optimisation
Does not work when stopping running apps and having multiple editors
open.
2018-05-10 09:59:42 -07:00
Kris De Volder
7a7e0f71c8 Merge branch 'master' of github.com:spring-projects/sts4 2018-05-09 15:07:41 -07:00
Kris De Volder
56a6f9fea4 Fix NPE from JdtLsProjectCache 2018-05-09 14:28:09 -07:00
BoykoAlex
0f04a67643 Hovers navigation for theia-spring-boot 2018-05-09 14:31:15 -04:00
nsingh
7f4967d0a6 PT 156688501 - Re-enable live hover optimisation
Live hovers are not published by the server if there are no running apps
in two consecutive update operations in the live hover watchdog. Also
fixed test cases that test no running apps.
2018-05-07 13:58:55 -07:00
BoykoAlex
a6d5e3c64f PT #157196600: Sys libs jandex index located at ~/.sts4-jandex/ 2018-05-04 10:23:16 -04:00
nsingh
21b38e21ec Disable optimisation for live hovers until tests fixed 2018-05-02 12:59:52 -04:00
nsingh
24e5909ef1 Avoid publishing live hints if there are no running apps
If there hasn't been a change in terms of no running apps between two
consecutive updates, do not publish live hints to avoid unnecessary
messages being sent from server to client.
2018-05-02 11:35:44 -04:00
nsingh
39259b3919 Use slf4j logger 2018-05-02 06:28:37 -04:00
Kris De Volder
e5f9366813 Merge branch 'master' of github.com:spring-projects/sts4 2018-04-30 11:24:26 -07:00
Kris De Volder
16a56a5fdc Refactor, fix and simplify classpath infrastructure 2018-04-30 10:10:56 -07:00
Martin Lippert
e0274c1618 added noop operation to spring indexer API to allow consumers to wait for other items to be completed 2018-04-30 15:12:28 +02:00
Martin Lippert
28c4cbbda4 adapted additional tests to refactored spring indexer mechanics 2018-04-30 14:52:44 +02:00
Martin Lippert
037c4e35d1 adapted additional tests to refactored spring indexer mechanics 2018-04-30 14:37:29 +02:00
Martin Lippert
7e66bd24ce refactored spring indexer to use executor service and react to project events instead of scanning workspace roots every time 2018-04-30 12:31:34 +02:00
Kris De Volder
90408661a1 Remove obsolete project with classpath file support 2018-04-24 13:55:31 -07:00
Kris De Volder
b9f9c8d119 Ignore failing test for obsolete functionality 2018-04-24 12:13:46 -07:00
Kris De Volder
d72d4b7bc8 Implement getSourceFolders in JdtLsClasspath
Also various refactoring and bug fixing
2018-04-24 11:56:05 -07:00
nsingh
76775db3fe PT 154618835 - Improve memory footprint of CompilationUnit cache 2018-04-19 22:26:50 +02:00
Kris De Volder
749c0b7943 Fix some more race conditions in JdtLsProjectCache 2018-03-27 13:32:52 -07:00
Kris De Volder
57fa91fe5c Fix a bunch of race conditions in SpringIndexer and its tests 2018-03-27 11:39:24 -07:00
Kris De Volder
0c70f4200e Fix race condition in SpringIndexer initialization 2018-03-26 17:05:35 -07:00
Kris De Volder
3d9752cbdb Proper 'async' support for JdtLs fallback 2018-03-26 15:33:47 -07:00
Kris De Volder
13633746cb Ensure fallbacks kick in JDT LS
When either JDT LS is too old, or
not available... then disbabled the JdtLsProjectCache so that maven / gradle will be used instead.
2018-03-26 14:51:36 -07:00
Kris De Volder
9bc0c20937 Revert "Disable JDT LS classpath support"
This reverts commit 07b7c313f4.
2018-03-22 12:26:14 -07:00
Kris De Volder
a8707545a3 Fix failing test 2018-03-22 12:09:33 -07:00
Kris De Volder
07b7c313f4 Disable JDT LS classpath support 2018-03-22 11:51:43 -07:00
Kris De Volder
3f32361e7e More debug logging for SpringIndexer
To help debug race conditions.
2018-03-22 11:48:50 -07:00
Kris De Volder
a5141432d1 Fix some logging issues 2018-03-21 17:08:27 -07:00
Kris De Volder
c2a4ea6286 Merge branch 'master' into jdt-classpath 2018-03-21 14:36:02 -07:00
Martin Lippert
48aae5bc9e add early java10 support 2018-03-21 18:59:54 +01:00
Kris De Volder
7482c26ccb Trying to improve the 'cleanup' of classpath listeners 2018-03-20 17:23:35 -07:00
Kris De Volder
ceaca41c3d Some tweaks to ProjectObserver.Listener users 2018-03-20 14:57:11 -07:00
Kris De Volder
1d287b0529 Fixes related config settings now being JsonElement 2018-03-19 11:25:31 -07:00
nsingh
285dad577c Removed unnecessary println 2018-03-16 17:14:10 -07:00
nsingh
b8fb468768 Implemented find project and table for JDT project cache 2018-03-16 17:11:17 -07:00
Kris De Volder
9473dfd75a Send 'initial' classpath change events
Classpath events for all existing projects are sent when
a listener registers (in addition to events that are sent when
the classpath changes).
2018-03-16 14:29:27 -07:00
nsingh
e16cb6a9c9 Classpath change events now contain classpath info 2018-03-16 12:07:58 -07:00
Kris De Volder
39ffe531e6 Attempt to implement some classpath callback cleanups 2018-03-15 17:43:17 -07:00
Kris De Volder
f442c28bff Partially working classpath change mechanics
Prints messages in language server logs, but doesn't really do anything else with the change events yet.
2018-03-15 15:24:19 -07:00
Kris De Volder
93f58f77b9 Merge branch 'master' into jdt-classpath 2018-03-15 09:13:38 -07:00