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
Suggest @map when not already present in line #1320
Conversation
🤖 Pull request artifacts
|
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>
} | ||
|
||
if (currentLine.includes('@map')) { | ||
suggestions = suggestions.filter((suggestion) => suggestion.label !== '@map') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like we should do the same for @unique
, @default()
, @ignore
, @relation
after this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍🏼
It looks like we can apply the same logic for @unique
, @default()
, @ignore
, @relation()
after this PR
Created an issue for these #1326 |
@map
is not suggested when already present in linecloses #1079