
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
File Attachments:
|
None
|
|
Image Attachments:
|
|
|
| Build: |
7,584
|
| Fixed in build: |
8,107
|
| Severity: |
Extreme
|
In certain circumstances, auto complete is deleting the dot operator ("."). One use case to cause this is as follows:
- Configure IDEA code compete window to auto popup when "." is typed. Set the delay to a low value. (if you use ctrl-space to get the code completion window, the issue does not present itself. Also, if the time delay for the auto popup is high, the issue also does not present itself. The issue did occur with a time of 300 ms for me)
- Configure IDEA to "Add unambiguous imports on the fly"
- Type the name of a class immediately followed by a dot for a class that is (a) not yet imported; (b) has an accessible static property or method; (c) is unambiguous. For example: JOptionPane.
- IDEA will auto import the class
- wait for code completion window to auto popup
- use code completion window to select a static method or property and hit enter.
- the resultant statement with be ClassNameStaticElement rather than ClassName.StaticElement even though you had typed the "."
The issue may occur in other use cases. This is simply one I found that causes it to consistently happen.
See attached screenshot.
|
|
Description
|
In certain circumstances, auto complete is deleting the dot operator ("."). One use case to cause this is as follows:
- Configure IDEA code compete window to auto popup when "." is typed. Set the delay to a low value. (if you use ctrl-space to get the code completion window, the issue does not present itself. Also, if the time delay for the auto popup is high, the issue also does not present itself. The issue did occur with a time of 300 ms for me)
- Configure IDEA to "Add unambiguous imports on the fly"
- Type the name of a class immediately followed by a dot for a class that is (a) not yet imported; (b) has an accessible static property or method; (c) is unambiguous. For example: JOptionPane.
- IDEA will auto import the class
- wait for code completion window to auto popup
- use code completion window to select a static method or property and hit enter.
- the resultant statement with be ClassNameStaticElement rather than ClassName.StaticElement even though you had typed the "."
The issue may occur in other use cases. This is simply one I found that causes it to consistently happen.
See attached screenshot. |
Show » |
|