-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1045 from bohdan-harniuk/614-references-for-file-…
…path-js-string-literals 614: Provided file path references for JS:STRING_LITERAL psi elements in the js files
- Loading branch information
Showing
5 changed files
with
121 additions
and
16 deletions.
There are no files selected for viewing
32 changes: 25 additions & 7 deletions
32
src/com/magento/idea/magento2plugin/reference/js/JsReferenceContributor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...quireJsReferenceRegistrar/filePathInMixinDeclarationMustHaveReference/requirejs-config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
var config = { | ||
config: { | ||
mixins: { | ||
'Magento_Checkout/js/view/shipping': { | ||
'Foo_Bar/js/file<caret>': true | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters