Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Language-specific visual selections #1

Open
MisanthropicBit opened this issue Feb 5, 2021 · 0 comments
Open

[Feature] Language-specific visual selections #1

MisanthropicBit opened this issue Feb 5, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MisanthropicBit
Copy link
Owner

Currently, it is possible to visually select only numbers in the general sense but not numbers specific to a programming language. For example, Python allows 78. as a short-hand for 78.0 and _ as a separator in e.g. 0b1_00_11_01. C++ has specific literal suffixes such as unsigned long long l2 = 18'446'744'073'709'550'592llu; and use ' as a separator.

Current progress is happening on the proglang-numbers branch. The present implementation detects the filetype and sets buffer-local stuff that is tried (if present for the current buffer) before trying to visually select a general number.

@MisanthropicBit MisanthropicBit added the enhancement New feature or request label Feb 5, 2021
@MisanthropicBit MisanthropicBit self-assigned this Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant