Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Anna Rodionova
Total activity
25
Last activity
August 25, 2024 11:58
Member since
August 29, 2022 14:26
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
12
Activity overview
Articles (0)
Posts (0)
Comments (13)
Sort by recent activity
Recent activity
Votes
Created
February 20, 2024 12:03
Official comment
Hello Ewenson!You can process all relevant statements as follows: public static void handleConsoleQuery(@NotNull final Project project, @NotNull final PsiFile file, @NotNull final Editor editor) { ...
Community
IntelliJ IDEA Open API and Plugin Development
Datagrip editor get active text
0 votes
Created
September 07, 2023 13:11
Hi Guno!You can use the following method for your purpose: com.intellij.database.view.DbNavigationUtils#navigateToData(com.intellij.database.psi.DbElement, boolean).
Community
IntelliJ IDEA Open API and Plugin Development
Navigating to Database Grid from Line Marker Provider
0 votes
Created
July 12, 2023 10:37
Hello! It is true that instead of using getJdbcConnection(), you can use getRemoteConnection(). However, you can execute the query in a more convenient way using sessions. Session are our wrapper o...
Community
IntelliJ IDEA Open API and Plugin Development
Run sql statement programatically
1 vote
Created
June 06, 2023 13:11
Hi!First, I will tell you how you can achieve what you want, and then I will provide my recommendations on what I think you should do.How to achieve what you want:1. Connection I want to point out ...
Community
IntelliJ IDEA Open API and Plugin Development
Integrating with Database View for querying and Code Generation
0 votes
Created
May 31, 2023 09:11
Hi! Unfortunately, there is no way to do what you want - to add custom logic to the query and, based on it, change the parameters and the final text of the query.
Community
IntelliJ IDEA Open API and Plugin Development
How to change sql and parameters before execute?
1 vote
Created
May 31, 2023 09:00
Official comment
Hi! Unfortunately, there is currently no way to influence the logic of parameter substitution in the query text, so you will not be able to modify the query depending on the parameter values.
Community
IntelliJ IDEA Open API and Plugin Development
How can I get or modify dialog parameters and sql before real executing?
0 votes
Created
April 19, 2023 16:56
Official comment
Hi zion,To execute a query you need to:1. Create or get existing session (it's our wrapper for connection) by using com.intellij.database.console.session.DatabaseSessionManager#getSessions(com.inte...
Community
IntelliJ IDEA Open API and Plugin Development
When developing the idea plug-in, how to execute the query sql and get the query result?
0 votes
Created
March 14, 2023 16:09
Official comment
Hi Kislyak1000,Unfortunately, you can't add such toolbar and attach a file with a custom language to the data source sessions.However, you can get a list of all data sources in your project:LocalDa...
Community
IntelliJ IDEA Open API and Plugin Development
DB conection bar for custom language
0 votes
Created
October 14, 2022 18:09
Hi Justin! I'm very sorry I didn't notice your question earlier. However, it is only running the query and logging it to the Output tab in GridImpl->GridCellTabs. Normally, when I execute a qu...
Community
IntelliJ IDEA Open API and Plugin Development
How to execute sql query by passing a string and outputting results to the console output?
1 vote
Created
August 29, 2022 14:26
Official comment
Hi Jrmalin! You do not need to create a new session with connection using the DatabaseSessionManager - the console already has a session with which you need to execute your request.And console also...
Community
IntelliJ IDEA Open API and Plugin Development
How to execute sql query by passing a string and outputting results to the console output?
0 votes
«
First
‹
Previous