This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Code completion does not always work after Copy&Paste&Save | ||
---|---|---|---|
Product: | web | Reporter: | Vladimir Riha <vriha> |
Component: | AngularJS | Assignee: | Roman Svitanic <rsvitanic> |
Status: | VERIFIED WORKSFORME | ||
Severity: | normal | CC: | ppisl, sdedic |
Priority: | P3 | Keywords: | REGRESSION, TEST |
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IDE log
screencast |
Created attachment 150234 [details]
screencast
The used project can be found in web-main/html.angular/test/qa-functional/data/ctrlglobal I think this is rather P3 than P2, as it happens only under quite uncommon circumstances and workaround is pretty easy: delete the quotes and type them again. This used to work before merge of the server-split branch. Adding Svata on CC for evaluation from (probably) Parsing API point of view. Issue can't be reproduced in: Product Version: NetBeans IDE Dev (Build 20141124-a55308d687a7) Java: 1.7.0_67; Java HotSpot(TM) 64-Bit Server VM 24.65-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01 System: Mac OS X version 10.10.1 running on x86_64; UTF-8; en_US (nb) Thank you, works for me as well Product Version: NetBeans IDE Dev (Build 201411280001) Java: 1.7.0_71; Java HotSpot(TM) Client VM 24.71-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_71-b14 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb) |
Created attachment 150233 [details] IDE log Please check the attached screencast, what I'm doing is basically: - Select whole content and copy it to clipboard - select whole content and paste clipboard content - save file - wait a moment [stepX] - invoke code completion for the ng-click directive on line => items like test, hello(), ironman or dog are not offered. They are offered on 2nd code completion invocation (so press Esc to hide the incomplete code completion and the press Ctrl+Space again to bring it back). The important thing is to save the file after pasting clipboard content. There does not seem to be any difference in how long do I wait in [stepX] and also IDE does not indicate in anyway it is scanning/parsing something. When this happens, the only suspicious thing in IDE log is INFO [FaceletsLibrarySupport]: Invalidating facelets libraries due to a library descriptor change. which I have no idea where it comes from. I'm marking it P2 because it used to work and it causes several qa tests to fail (the age of failing tests is 10 builds). In general the affected tests are reverting all changes in tearDown() method after each single test by Copy&Pasting content of the entire file. I could workaround it but this should still work. Thank you Product Version: NetBeans IDE Dev (Build 201411030002) Updates: Updates available Java: 1.7.0_67; Java HotSpot(TM) Client VM 24.65-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)