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

#30: Completion. Remove PHP completions from all not appropriate places in XML files #76

Conversation

konarshankar07
Copy link
Contributor

Description (*)

This PR will fix the PHP class and module name completion from inappropriate places

Fixed Issues (if relevant)

  1. Completion. Remove PHP completions from all not appropriate places in XML files #30: Completion. Remove PHP completions from all not appropriate places in XML files

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages

Copy link
Contributor

@VitaliyBoyko VitaliyBoyko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

di.xml
VirtualType attr type ✅
image

Virtual type arg type object ✅ :
image

Type attr name 🚫
image

Plugin type ✅ :
image

Type argument object ✅
image

Preference for 🚫
image

Preference type ✅
image

acl.xml
Route id ✅
image

module.xml
Module name ✅
image

Ui component
negative case ✅
image

positive case ✅
image


/* File Path Completion provider */
extend(CompletionType.BASIC, psiElement(XmlTokenType.XML_ATTRIBUTE_VALUE_TOKEN)
.inside(XmlPatterns.xmlAttribute().withName("template")),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi.
I've refactored most of the string literals to constant classes. Please do the same way.
Thank you!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are storing all magento related string literals under com/magento/idea/magento2plugin/magento.

Copy link
Contributor

@VitaliyBoyko VitaliyBoyko Apr 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤞 I'm about the new changes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I will make sure of these changes

@VitaliyBoyko VitaliyBoyko moved this from Review in Progress to Changes Requested in Pull Request Progress Apr 2, 2020
@VitaliyBoyko
Copy link
Contributor

I see other issues, however, let's fix them in the scope of a separate task.

@VitaliyBoyko
Copy link
Contributor

This PR includes reward labels for #62.
The Reward system was not configured for March, so we adjusted points for April.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants