Max Ishchenko

- Total activity 104
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 35
-
Max Ishchenko created a post, gotoSymbolContributor won't suggest qualified names with dots
I implemented ChooseByNameContributor via extending GoToSymbolProvider. I provide qualified names in addNames, i.e. Namespace.item1, Namespace.item2 etc. And I can perfectly find item1 and item2 in... -
Max Ishchenko created a post, XmlPatterns.xmlText pattern won't work when registering PsiReferenceProvider
public class MyReferenceContributor extends PsiReferenceContributor { @Override public void registerReferenceProviders(PsiReferenceRegistrar registrar) { registrar.registerReferenc... -
Max Ishchenko created a post, Computing string concatenation value
Is there an *easy* way to compute a string concatenation?String foo = "FOO";String foobar = foo + "BAR"; // I want to compute this PsiPolyadicExpression value, that is "FOOBAR"String foofoobarbaz =... -
Max Ishchenko created a post, How do I tell that an interface method is a reference to a custom location, say xml file?
It is easy for string literals, I create PsiReferenceContributor and do registrar.registerReferenceProvider(PsiJavaPatterns.psiLiteral(), new PsiReferenceProvider() { ... }); But it won't work... -
-
Max Ishchenko created a post, Sql completion in string literals
I have successfully created a datasource for my project, and completion (keywords, table names, column names etc) works well for database console. But I get no schema-related completion in my Sprin... -
-
Max Ishchenko created a post, LineMarkerProvider issues
I have my LineMarkerProvider implementation and it works well for small files. But I noticed that when line marker computations take time no marker is displayed. My markers do not appear, even thou... -
Max Ishchenko created a post, How do I create a virtual implementation for an interface from an xml document?
Say, I have an interface likeinterface SomeInterface { List<MyEntity> getEntities();}And an xml file like<impl for="SomeInterface"> <method name="getEntities"> <!-- some magic here --> </meth... -
Max Ishchenko created a post, Linking java string literals and some xml elements so that "Go to Declaration" on a literal goes to an element in xml
Say, I have some java code likeactionsPerformer.perform("foo.bar");And some arbitrarily named xml file/files with contents like<actions id="foo"> <action id="bar" attribute1="ok" attribute="lol"...