Christian

- Total activity 45
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 8
- Subscriptions 18
-
Edited How to get the "current" file(s) like the navigation bar does
AnsweredThe NavBar changes based on whether I'm in an editor, focus something in the project view, the database view or any other tool window. I would like my plugin to be notified whenever the "selection"... -
Edited Can I use something like @MagicConstant to restrict a string paramter to field names of a certain class?
Suppose I have a class class Scratch { public String name; public int age; public static void reflectiveAccess(Scratch scratch, String fieldName) { }} Can I use something like... -
Created Lost my code style settings
AnsweredI was just wondering why my indents were all over the place when I opened my project today, turns out it was mixed with spaces and tabs and IntelliJ suddenly decided to show tabs with a width of 2.... -
Edited Receiver type given a possibly unqualified PsiMethodCallExpression?
Given a PsiMethodCallExpression, how can I discover the actual static receiver type? I don't want to do resolveMethod.type, because that will give me the class within which the method was declare... -
Edited Java: Surround injected SQL dynamically
In our project, we have methods that take a WHERE condition as string literal parameter. Using SQL injection directly, this really work because the partial query isn't proper SQL and fails syntax...