Home
IDEs Support (IntelliJ Platform) | JetBrains
Submit a request
Community
Sign in
Piotr Tomiak
Follow
New articles and posts
New articles, posts, and comments
Total activity
19
Last activity
June 21, 2021 15:06
Member since
December 09, 2019 09:54
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
6
Activity overview
Articles (0)
Posts (0)
Comments (13)
Piotr Tomiak
commented,
June 21, 2021 15:06
Hi! The JavaScript language support in WebStorm/IntelliJ is a good example of how you can support multiple languages with similar roots. As far as JavaScript itself is concerned, we have a single p...
Community
IntelliJ IDEA Open API and Plugin Development
Strategy to support two dialects for same programming language in my plugin
0 votes
Piotr Tomiak
commented,
April 21, 2021 07:38
Awesome, thanks for confirmation and sorry for the trouble!
Community
IntelliJ IDEA Open API and Plugin Development
Set filetype association for LightJavaCodeInsightFixtureTestCase
0 votes
Piotr Tomiak
commented,
April 20, 2021 19:35
Hi Tim! Actually, I've investigated it further and it turns out that it is actually a problem with 2021.1. Please include "CSS" plugin on your list in build.gradle as a workaround. With that plugin...
Community
IntelliJ IDEA Open API and Plugin Development
Set filetype association for LightJavaCodeInsightFixtureTestCase
0 votes
Piotr Tomiak
commented,
April 20, 2021 08:54
Tim, It seems that there is some problem with JUnit 5 and classloading/extension point registration. I can reproduce the issue locally - it is not related to Angular. However, I wasn't able to find...
Community
IntelliJ IDEA Open API and Plugin Development
Set filetype association for LightJavaCodeInsightFixtureTestCase
0 votes
Piotr Tomiak
commented,
April 15, 2021 08:18
Tim, I've run the code you've shared within the context of AngularJS plugin and both tests are green. I have used JUnit 3 though, so I had to remove all of the JUnit 4+ annotations. It seems that y...
Community
IntelliJ IDEA Open API and Plugin Development
Set filetype association for LightJavaCodeInsightFixtureTestCase
0 votes
Piotr Tomiak
commented,
April 14, 2021 06:51
Tim, I am sorry, I haven't payed enough attention to the class you mentioned. Indeed, these tests should be based on `BasePlatformTestCase`. You can see Angular tests here and take the most appropr...
Community
IntelliJ IDEA Open API and Plugin Development
Set filetype association for LightJavaCodeInsightFixtureTestCase
0 votes
Piotr Tomiak
commented,
April 13, 2021 15:05
Tim, the Angular HTML language replaces the regular HTML under certain circumstances. One of the easiest ways to reproduce the regular project setup is to add `package.json` file with `@angular/cor...
Community
IntelliJ IDEA Open API and Plugin Development
Set filetype association for LightJavaCodeInsightFixtureTestCase
0 votes
Piotr Tomiak
commented,
April 08, 2021 07:01
Hi Tim! In case of attributes with JavaScript expressions, the content in XML Attribute Value is lazy parsed as Embedded Java Script. The navigation doesn't work, because there are JavaScript PSI e...
Community
IntelliJ IDEA Open API and Plugin Development
Angular2 HTML vs HTML PsiReferenceRegistrar
0 votes
Piotr Tomiak
commented,
March 17, 2020 17:00
Evgeniy, as far as I understand your needs, you can try `com.intellij.psi.injection.ReferenceInjector`, which should work for injecting references into various languages host elements and should wo...
Community
IntelliJ IDEA Open API and Plugin Development
Inject language into JSLiteralExpression inside Vue context
1 vote
Piotr Tomiak
commented,
March 17, 2020 14:54
Official comment
Hi Evgeniy! Thanks for reaching out to us! The problem you're facing is that you cannot inject into an injection. Basically, there is only one level of injection allowed. Could you please elaborate...
Community
IntelliJ IDEA Open API and Plugin Development
Inject language into JSLiteralExpression inside Vue context
0 votes