Service Window: Follow Active Editor Tab
已完成
I think there's a setting so that the Services window follows the active editor tab (console, scratch).
What and where is that setting ?
Thanks
DataGrip 2023.2.3
Build #DB-232.10203.8
请先登录再写评论。
Hi,
Were you looking for the Always Select Opened Element option that can be opened by clicking the Options (⋮) button in the Services tool window header?
That has no effect, checked or unchecked.
In case you're not sure what issue I'm trying to get around:
I have N service sessions used by N + X CODE tabs.
Activating any of the code tabs - has no effect on the Results tabs (in Service Windows) - Service Window shows Result tabs of the current selection (scratch_1 below) under “Database Sessions”
What are these “code tabs” - are they SQL files? Are they connected to the data source in the top-right corner? If not, what do you expect to see in the Results or Services tab for these files?
The Database Sessions list in your screenshot shows data sources, sessions, and their clients (see Sessions). So for the file to appear in the list, it needs to be connected to a data source, meaning it must be a client of a session.
> What are these “code tabs”
1 Console, 3 scratch - yes - all .sql
That's what the context of the question: .sql tabs/files and their result tabs in their service session window(s).
They are all connected. I know how to ask tech questions properly so people can help me.
so the “problem” is: e.g. I have “DS” tab active - I want to see the result tabs attached to it (DS.sql)……
When I activate the “DV” tab - I want to see the result tabs attached to it (DV.sql)….
WITHOUT having to go find the entry in the DB sessions.
The inconvenience is these 2 parts - code panel & services panel are totally UNASSOCIATED.
I was unable to reproduce the issue with Always Select Opened Element enabled. If enabling this option does not resolve the issue, please update DataGrip to the latest version, as version 2023.2.3 is quite outdated.
If the issue persists after updating DataGrip and with Always Select Opened Element enabled, please provide a screen recording with the issue being reproduced, showing the tabs, the Sessions tool window, and the top-right corner with the active connection. The recording can be uploaded to JetBrains Uploads, but please share the upload ID once done.
updated to 2024.3.5, issue is no longer seen. thanks