vscode-java icon indicating copy to clipboard operation
vscode-java copied to clipboard

Incorrect/misleading display of descriptions containing exponents

Open elirnm opened this issue 8 years ago • 5 comments

Exponents don't display properly in intellisense, hover, etc, so descriptions that have exponents in them display incorrect/misleading values.

Environment
  • Operating System: Windows 7
  • JDK version: 1.8.0_102
  • Visual Studio Code version: 1.9.1
  • Java extension version: 0.0.10
Steps To Reproduce
  1. Type Integer.MIN_VALUE
  2. Notice that both the autocompletion while typing and the tooltip from hovering over the name say that the minimum value of an int is -231 rather than the -231 present in the Java documentation.

Integer.MAX_VALUE does the same thing on hover (231-1 rather than 231-1) but also adds a slash in the autocompletion dialog (231\-1).

capture

elirnm avatar Feb 22 '17 09:02 elirnm