You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a library has a class or constant with a long name, the source of the class (at the right) gets cut in the suggest window so it's impossible to know from where I'm importing the component.
Many react libraries use the same component names (like Button) and it's important to know the source library of the suggestion for the auto import functionality.
STEPS TO REPRODUCE:
Create a react native project.
Add a library or package with a long-name component, such as react-native-screens (which has ScreenStackHeaderBackButtonImage)
Write a component name in a the component render function.
RESULT:
The suggest window will show the name of the functions/components/constants and if there is a long one, such as ScreenStackHeaderBackButtonImage, the source module/library/file will be cut off at the right.
EXPECTED RESULT:
The suggest windows should show the full name of the source module/library/file so I know where i'm importing from.
The text was updated successfully, but these errors were encountered:
In meantime just hit Ctrl+Space again or hover over suggestion with mouse and click on ⓘ (Read more... button) to see detailed description of an item which displays full auto-import message.
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.
When a library has a class or constant with a long name, the source of the class (at the right) gets cut in the suggest window so it's impossible to know from where I'm importing the component.
Many react libraries use the same component names (like Button) and it's important to know the source library of the suggestion for the auto import functionality.
STEPS TO REPRODUCE:
RESULT:
The suggest window will show the name of the functions/components/constants and if there is a long one, such as ScreenStackHeaderBackButtonImage, the source module/library/file will be cut off at the right.
EXPECTED RESULT:
The suggest windows should show the full name of the source module/library/file so I know where i'm importing from.
The text was updated successfully, but these errors were encountered: