| Summary: | proposals don't compute | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Serhii Pylypenko <serhii.pylypenko.0> | ||||||||
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> | ||||||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | Dirk.Steinkamp, kalyan_prasad, Vikas.Chandra | ||||||||
| Version: | 4.23 | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 10 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
(In reply to Serhii Pylypenko from comment #0) > Created attachment 288254 [details] > snapshot of the proposals computation empty window > > Version: 2022-03 (4.23.0), Build id: 20220310-1457. > I press Ctrl-Space but proposals doesn't compute, says 'computing proposals > (0%)' and "1 completion proposal processors requested. 0 completed; 1 > pending.". It works just after IDE start but stops working after a while. > I attached snapshot. Which proposal-kinds are active in Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced? Could you maybe narrow it down to one of them or find out if it's happening independently from the selected proposal kinds? (If applicable: might it be related to the Lombok issue mentioned in https://bugs.eclipse.org/bugs/show_bug.cgi?id=579339?) (In reply to Dirk Steinkamp from comment #1) > (In reply to Serhii Pylypenko from comment #0) > > Created attachment 288254 [details] > > snapshot of the proposals computation empty window > > > > Version: 2022-03 (4.23.0), Build id: 20220310-1457. > > I press Ctrl-Space but proposals doesn't compute, says 'computing proposals > > (0%)' and "1 completion proposal processors requested. 0 completed; 1 > > pending.". It works just after IDE start but stops working after a while. > > I attached snapshot. > > Which proposal-kinds are active in Window -> Preferences -> Java -> Editor > -> Content Assist -> Advanced? > Could you maybe narrow it down to one of them or find out if it's happening > independently from the selected proposal kinds? > (If applicable: might it be related to the Lombok issue mentioned in > https://bugs.eclipse.org/bugs/show_bug.cgi?id=579339?) Thanks for hint, I'll try to narrow by switching them off one by one and report Active proposals are: API Tools Proposals Java Proposals Java Proposals (Task Focused) JAXB Proposals JAX-WS Proposals JPA Proposals Language Server Proposals SWT Template Proposals Template Proposals I'll try latest snapshot from Lombok, thanks for advice. (In reply to Serhii Pylypenko from comment #2) > I'll try latest snapshot from Lombok, thanks for advice. Latest snapshot won't help, but probably a pre-build: https://github.com/projectlombok/lombok/issues/3134#issuecomment-1069662386 (In reply to Dirk Steinkamp from comment #3) > (In reply to Serhii Pylypenko from comment #2) > > > I'll try latest snapshot from Lombok, thanks for advice. > > Latest snapshot won't help, but probably a pre-build: > https://github.com/projectlombok/lombok/issues/3134#issuecomment-1069662386 Yeah, it fixed refactoring issue and proposals computation works well at this moment. Many thanks for your help! Created attachment 288263 [details] working config set for proposals (In reply to Serhii Pylypenko from comment #4) > (In reply to Dirk Steinkamp from comment #3) > > (In reply to Serhii Pylypenko from comment #2) > > > > > I'll try latest snapshot from Lombok, thanks for advice. > > > > Latest snapshot won't help, but probably a pre-build: > > https://github.com/projectlombok/lombok/issues/3134#issuecomment-1069662386 > > Yeah, it fixed refactoring issue and proposals computation works well at > this moment. > Many thanks for your help! Sorry, I'm back again. Just after a moment I posted previous comment I found out that proposals didn't work again. I switched off them one by one and it's 'Language Server Proposals' that caused the problem. I attached screenshot for working configuration. I installed that prebuild fix of Lombok you mentioned. Sorry, I'm back again. Just after a moment I posted previous comment I found out that proposals didn't work again. I switched off them one by one and it's 'Language Server Proposals' that caused the problem. I attached screenshot for working configuration. I installed that prebuild fix of Lombok you mentioned. (In reply to Serhii Pylypenko from comment #6) > Sorry, I'm back again. Just after a moment I posted previous comment I found > out that proposals didn't work again. I switched off them one by one and > it's 'Language Server Proposals' that caused the problem. I attached > screenshot for working configuration. I installed that prebuild fix of > Lombok you mentioned. Please move the bug to appropriate component, because the above comment clearly says that "Language Server Proposals" are causing the issue and so, this is not a JDT UI issue. > (In reply to Serhii Pylypenko from comment #6)
> > Sorry, I'm back again. Just after a moment I posted previous comment I found
> > out that proposals didn't work again. I switched off them one by one and
> > it's 'Language Server Proposals' that caused the problem. I attached
> > screenshot for working configuration. I installed that prebuild fix of
> > Lombok you mentioned.
>
> Please move the bug to appropriate component, because the above comment
> clearly says that "Language Server Proposals" are causing the issue and so,
> this is not a JDT UI issue.
I'm not sure that "Language Server Proposals" option is to be blamed. It seems to be intermittent problem. You see I switched it off and still sometimes experienced this problem. I switched off rest of remaining options except for necessary 'Java Proposals' and 'Java Proposals (Task-Focused)' and try to collect extra information.
(In reply to Serhii Pylypenko from comment #8) > > (In reply to Serhii Pylypenko from comment #6) > > > Sorry, I'm back again. Just after a moment I posted previous comment I found > > > out that proposals didn't work again. I switched off them one by one and > > > it's 'Language Server Proposals' that caused the problem. I attached > > > screenshot for working configuration. I installed that prebuild fix of > > > Lombok you mentioned. > > > > Please move the bug to appropriate component, because the above comment > > clearly says that "Language Server Proposals" are causing the issue and so, > > this is not a JDT UI issue. > > I'm not sure that "Language Server Proposals" option is to be blamed. It > seems to be intermittent problem. You see I switched it off and still > sometimes experienced this problem. I switched off rest of remaining options > except for necessary 'Java Proposals' and 'Java Proposals (Task-Focused)' > and try to collect extra information. Can you please provide the steps to reproduce/attachment of the behavior that you see after disabling other options Created attachment 288354 [details]
all proposals options enabled
all options enabled, proposals list builds ok
(In reply to Kalyan Prasad Tatavarthi from comment #9) > Can you please provide the steps to reproduce/attachment of the behavior > that you see after disabling other options I've just tried to enable all available options and proposal list builds normally. Can't figure this out myself and have no time to switch all the options step by step and collect appropriate info, sorry. |
Created attachment 288254 [details] snapshot of the proposals computation empty window Version: 2022-03 (4.23.0), Build id: 20220310-1457. I press Ctrl-Space but proposals doesn't compute, says 'computing proposals (0%)' and "1 completion proposal processors requested. 0 completed; 1 pending.". It works just after IDE start but stops working after a while. I attached snapshot.