Closed mamoss-oss closed 5 months ago
Builtin methods are not shown for strings.
See the full list of builtin string methods.
Only a single method str() is displayed.
Module: stubs pub fn (a Any) str() string
Write any string and access its methods. Review displayed methods.
module main fn main() { _ := ''. }
No response
v doctor
Linux V 0.4.4 9092d7f
Same behavior in Helix v23.10 and VS Code
v-analyzer: 0.0.4-beta.1.2d5d12e
v0.0.4
Describe the bug
Builtin methods are not shown for strings.
Expected Behavior
See the full list of builtin string methods.
Current Behavior
Only a single method str() is displayed.
Module: stubs pub fn (a Any) str() string
Reproduction Steps
Write any string and access its methods. Review displayed methods.
Possible Solution
No response
Additional Information/Context
No response
Environment details (
v doctor
output)Linux V 0.4.4 9092d7f
Editor name
Same behavior in Helix v23.10 and VS Code
v-analyzer Version
v-analyzer: 0.0.4-beta.1.2d5d12e
VS Code Extension Version
v0.0.4