Skip to content

Provide All Alternate Number Formats regardless of Enabled Language Extensions #2772

Closed
@drsooch

Description

@drsooch

Currently, the alternate number format plugin only suggests formats when the Language Extension is enabled.

So for example, with Haskell2010 set as the default language, the literal 15 will provide 0xF and 0o17 as alternatives.

With BinaryLiterals enabled the literal 15 will provide 0xF, 0o17, and 0b1111.

Instead the provided alternatives should span all possible formats and add the language extension if not already enabled.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions