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

builtin.string.camel_to_snake need improve #21716

Closed
2 tasks
kbkpbot opened this issue Jun 23, 2024 · 1 comment
Closed
2 tasks

builtin.string.camel_to_snake need improve #21716

kbkpbot opened this issue Jun 23, 2024 · 1 comment
Labels
Feature Request This issue is made to request a feature.

Comments

@kbkpbot
Copy link
Contributor

kbkpbot commented Jun 23, 2024

Describe the feature

Currently, 'JVM_PUBLIC_ACC'.camel_to_snake() will create 'j_vm_public_acc'

I do think it is better create 'jvm_public_acc'

Use Case

assert 'JVM_PUBLIC_ACC'.camel_to_snake() == 'jvm_public_acc'

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Version used

V full version: V 0.4.6 7d182a4.d364e61

Environment details (OS name and version, etc.)

V full version: V 0.4.6 7d182a4.d364e61
OS: linux, Ubuntu 22.04.4 LTS
Processor: 8 cpus, 64bit, little endian, Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz

getwd: /home/mars/v/9
vexe: /media/HD/github/kbkpbot/v/v
vexe mtime: 2024-06-23 08:38:28

vroot: OK, value: /media/HD/github/kbkpbot/v
VMODULES: OK, value: /home/mars/.vmodules
VTMP: OK, value: /tmp/v_1000

Git version: git version 2.34.1
Git vroot status: weekly.2024.09-653-gd364e61b
.git/config present: true

CC version: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
thirdparty/tcc status: thirdparty-linux-amd64 40e5cbb5-dirty

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

@kbkpbot kbkpbot added the Feature Request This issue is made to request a feature. label Jun 23, 2024
@spytheman
Copy link
Member

I think that c5c49d3 fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request This issue is made to request a feature.
Projects
None yet
Development

No branches or pull requests

2 participants