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: | Binary & Octal Literal | ||
---|---|---|---|
Product: | javascript | Reporter: | Petr Pisl <ppisl> |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 242387 | ||
Attachments: | Supporting new number literals |
Description
Petr Pisl
2016-04-05 13:09:33 UTC
Also the code completion should offer the Number method in cases like: 0xabc.toPrecision(2); Function parserInt has to be updated in signature files according the spec. https://developer.mozilla.org/cs/docs/Web/JavaScript/Reference/Global_Objects/parseInt Created attachment 159145 [details]
Supporting new number literals
The screenshots shows these new features implemented in editor:
- code completion after a number literal (it has to be hex, oct or bin literal)
- mark occurrences of the methods called after a number literal
- the chars b, o and h in appropriate literal as colored in different way an the color can be customized in Toos -> Options -> Fonts and Colors tab
|