I have checked that this feature is not already implemented
[X] This feature does not exist
Use case
I use the auto-completion feature. Unfortunately, it proposes constants like MyApp::Foo::Bar rather than Foo::Bar when I am inside the MyApp module. This is pointless/not preferred in our coding style.
You can get these suggestions in some cases but I predominantly get the fully qualified constant name which greatly reduces the usability of this feature for me.
Description
Prefer the shortened version of the constant when inside the class/module hierarchy.
Implementation
I am guessing it would be possible to track current scope based on how the breadcrumbs in my editor show me which modules/methods i'm inside--it would need to take this context into account.
I have checked that this feature is not already implemented
Use case
I use the auto-completion feature. Unfortunately, it proposes constants like
MyApp::Foo::Bar
rather thanFoo::Bar
when I am inside theMyApp
module. This is pointless/not preferred in our coding style.You can get these suggestions in some cases but I predominantly get the fully qualified constant name which greatly reduces the usability of this feature for me.
Description
Prefer the shortened version of the constant when inside the class/module hierarchy.
Implementation
I am guessing it would be possible to track current scope based on how the breadcrumbs in my editor show me which modules/methods i'm inside--it would need to take this context into account.