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.

Bug 258131 - Code completion and dots
Summary: Code completion and dots
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-24 10:59 UTC by henri127
Modified: 2016-08-30 08:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (129.46 KB, text/plain)
2016-02-24 11:00 UTC, henri127
Details

Note You need to log in before you can comment on or make changes to this bug.
Description henri127 2016-02-24 10:59:58 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_72
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.72-b15

Reproducibility: Happens every time

STEPS:
  * Open dialog Foo
  * Click on button "Click me"

ACTUAL:
  nothing happens

EXPECTED:
  message pops up

when typing the dot in "mypackage." the contents hints for the package are given.
when typing the dot when after this text another dot is present, p.e. "mypackage..myfile" and the cursor is between the dots the package details are not given as hints, in stead the hints as if the cursor is placed after the second dot.
when typing the dot as in the first quote when text is after this text, p.e.  "mypackage.myfile" the package hints are given, seems not logical to m
Comment 1 henri127 2016-02-24 11:00:04 UTC
Created attachment 158630 [details]
IDE log
Comment 2 Jiri Prox 2016-02-29 15:16:06 UTC
Can you please provide content of the whole file for each step?

The '.' should accept actually selected item in the code completion.
Example
type: java.io
press '.'
-> code completion windows is opened
press '.' again
-> "java.io.BufferedInputStream." is in the editor, cursor is behind the last '.'