Skip to content

Commit 65f0145

Browse files
committed
fixes
1 parent e42578e commit 65f0145

File tree

11 files changed

+533
-278
lines changed

11 files changed

+533
-278
lines changed

CHANGELOG.md

Lines changed: 71 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
# KdbInsideBrains Changelog
22

3-
## 6.3.4
3+
## 6.4.0
44

55
### Added
66

7+
- IDEA 2025.2 supporting added and used by default
78
- Column type tooltip shown in TableResult view
89
- Column type tooltip shown in Columns Filter panel of TableResult view
9-
- Sorting by list columns: comparing by each list's item. The shortest list of all other items being equal.
10+
- Sorting of primitive list columns: comparing by each list's item. The shortest list of all other items being equal.
11+
- Columns order, visibility and sorting are not reset if the schema is the same after reload
1012

1113
### Fixed
1214

1315
- Issue 130: Flip rows in Points Collector of Chart View causes NPE
14-
- Key column in dark mode is more visible
16+
17+
### Changed
18+
19+
- Key column in dark mode is more visible now
20+
- TableView internal code redesigned for better supporting
1521

1622
## 6.3.3
1723

@@ -71,9 +77,9 @@ Technical release:
7177
### Changed
7278

7379
- Charting View tools redesigned:
74-
- Crosshair tool supports multiple range axes as well as candlestick
75-
- Values tools supports candlestick
76-
- Enabled tools stored in new optimized format
80+
- Crosshair tool supports multiple range axes as well as candlestick
81+
- Values tools supports candlestick
82+
- Enabled tools stored in new optimized format
7783

7884
### Fixed
7985

@@ -90,10 +96,10 @@ Technical release:
9096
### Added
9197

9298
- KDB 4.1 Syntax added: major code redesign to support new language features including:
93-
- Working with icons was fully redesigned as well
94-
- New type Dict has been introduced with a set of new formatting rules
95-
- New type TypeVariable introduced with a set of new formatting rules
96-
- Indexing redesigned to support new types
99+
- Working with icons was fully redesigned as well
100+
- New type Dict has been introduced with a set of new formatting rules
101+
- New type TypeVariable introduced with a set of new formatting rules
102+
- Indexing redesigned to support new types
97103
- Select/Deselect all Values in Charting added
98104

99105
### Changed
@@ -125,8 +131,8 @@ Technical release:
125131
### Changed
126132

127133
- Function docs logic changed:
128-
- if there is more than one definition with the same semantic - the longest description is shown
129-
- if there is more than one definition with differing semantics - list of all definitions is shown
134+
- if there is more than one definition with the same semantic - the longest description is shown
135+
- if there is more than one definition with differing semantics - list of all definitions is shown
130136

131137
## 5.15.1
132138

@@ -143,10 +149,10 @@ Technical release:
143149
### Added
144150

145151
- QSpec Testing Framework added for Unit-Testing (https://www.kdbinsidebrains.dev/testing):
146-
- Downloading the lib from GitHub that is attached a synthetic library to any project with KDB code
147-
- Running an expectation, a description or even a directory
148-
- Test cases code analysis, suggestions, and completion
149-
- Quick generate actions for: description, before, after and expectations
152+
- Downloading the lib from GitHub that is attached a synthetic library to any project with KDB code
153+
- Running an expectation, a description or even a directory
154+
- Test cases code analysis, suggestions, and completion
155+
- Quick generate actions for: description, before, after and expectations
150156
- Run local KDB Instance functionality was redesigned to support QSpec Testing Framework
151157
- Exclusion list of undefined variables has been added: any undefined variable can be added to the list, and will be
152158
undefined inspection will be disabled for the variable.
@@ -175,10 +181,10 @@ Technical release:
175181
### Changed
176182

177183
- Charting is fully redesigned (https://www.kdbinsidebrains.dev/features/charting):
178-
- Issue with dropping grouped data is fixed: new Operation term (_sum, count, avg, min, max_) was introduced
179-
- Added an ability to ungroup data by any symbol/text field and show as a separate line
180-
- Line style can be changed (color, width and so on) by clicking on the legend title now: settings are not stored
181-
over restarts yet
184+
- Issue with dropping grouped data is fixed: new Operation term (_sum, count, avg, min, max_) was introduced
185+
- Added an ability to ungroup data by any symbol/text field and show as a separate line
186+
- Line style can be changed (color, width and so on) by clicking on the legend title now: settings are not stored
187+
over restarts yet
182188
- Charting templates are not backward compatible and will be removed after the upgrade due to significant changes
183189

184190
## 5.13.1
@@ -192,9 +198,9 @@ Technical release:
192198
### Changed
193199

194200
- Credential functionality was redesigned to support easier IDEA versions migration:
195-
- the plugins folder changed from <IdeaSystem>/KdbInsideBrains to <user.home>/.kdbinb
196-
- the plugin file can be copied to <user.home>/.kdbinb for auto-installation alongside UI settings
197-
- Connection Settings dialog supports dynamic plugins reloading (by "Apply" button) now
201+
- the plugins folder changed from <IdeaSystem>/KdbInsideBrains to <user.home>/.kdbinb
202+
- the plugin file can be copied to <user.home>/.kdbinb for auto-installation alongside UI settings
203+
- Connection Settings dialog supports dynamic plugins reloading (by "Apply" button) now
198204

199205
## 5.12.0
200206

@@ -625,9 +631,9 @@ Technical release:
625631
### Added
626632

627633
- Charting templates have been introduced: https://www.kdbinsidebrains.dev/features/charting#templates:
628-
- Save/Restore a chart configuration
629-
- Quick charting by template
630-
- Templates manager
634+
- Save/Restore a chart configuration
635+
- Quick charting by template
636+
- Templates manager
631637

632638
### Fixed
633639

@@ -638,15 +644,15 @@ Technical release:
638644
### Added
639645

640646
- Dedicated Live Templates context (KDB+ Q) added with a few templates:
641-
- sel - create a simple select query: select ... from ... where
642-
- td - today: .z.d
643-
- yd - yesterday: .z.d-1
644-
- l10s - time within the last 10 seconds by time column
645-
- l5m - time within the last 5 minutes by time column
647+
- sel - create a simple select query: select ... from ... where
648+
- td - today: .z.d
649+
- yd - yesterday: .z.d-1
650+
- l10s - time within the last 10 seconds by time column
651+
- l5m - time within the last 5 minutes by time column
646652
- Code Completion improved for queries:
647-
- suggest a table name after 'from' keyword
648-
- the selection from a table, when columns are extracted and suggested in 'select', 'be' and 'where' sections
649-
- completion works for defined tables as well as loaded from the Inspector
653+
- suggest a table name after 'from' keyword
654+
- the selection from a table, when columns are extracted and suggested in 'select', 'be' and 'where' sections
655+
- completion works for defined tables as well as loaded from the Inspector
650656
- Keys are loaded from KDB Instance at inspection time, NOTE: The Inspector query was changed
651657

652658
### Fixed
@@ -674,9 +680,9 @@ Technical release:
674680
### Added
675681

676682
- Inspector has been improved and more functionality added:
677-
- Scroll to source
678-
- Diff with the source for a function
679-
- Restore expanded/selected item between connection change/refresh
683+
- Scroll to source
684+
- Diff with the source for a function
685+
- Restore expanded/selected item between connection change/refresh
680686

681687
### Fixed
682688

@@ -703,9 +709,9 @@ Technical release:
703709
in
704710
the
705711
plugin:
706-
- Split logs by months introduced: https://www.kdbinsidebrains.dev/settings/options#log-queries
707-
- Ability to change the background of the console for colored
708-
instances: https://www.kdbinsidebrains.dev/features/instances#highlighting-severity
712+
- Split logs by months introduced: https://www.kdbinsidebrains.dev/settings/options#log-queries
713+
- Ability to change the background of the console for colored
714+
instances: https://www.kdbinsidebrains.dev/features/instances#highlighting-severity
709715
- IDEA 2022.3 supporting added
710716

711717
### Fixed
@@ -780,9 +786,9 @@ Technical release:
780786
### Added
781787

782788
- Table declaration annotations added:
783-
- tailing semicolon marked as an error
784-
- set of semicolon (empty declarations) marked as an error
785-
- even expressions are allowed without column names, they are marked as a warning if it's not declaration
789+
- tailing semicolon marked as an error
790+
- set of semicolon (empty declarations) marked as an error
791+
- even expressions are allowed without column names, they are marked as a warning if it's not declaration
786792

787793
### Fixed
788794

@@ -884,9 +890,9 @@ Technical release:
884890
### Added
885891

886892
- CredentialsPlugin functionality redesigned:
887-
- plugins copied into Idea System folder (current approach will be auto-migrated)
888-
- duplicate plugins are not allowed and adding a new version replaces exist one
889-
- plugin version and description added (plugins must be recompiled)
893+
- plugins copied into Idea System folder (current approach will be auto-migrated)
894+
- duplicate plugins are not allowed and adding a new version replaces exist one
895+
- plugin version and description added (plugins must be recompiled)
890896

891897
## 1.5.0
892898

@@ -1016,9 +1022,9 @@ Technical release:
10161022

10171023
- Dark icons set added with IntelliJ Idea colors
10181024
- Charting is ready now:
1019-
- A New Magnet/Snap tool has been added with the ability to snap to line, vertex or disable the tool (default)
1020-
- The Values Tool shows only series values and no range values anymore
1021-
- Measure Tool has a context menu with remove/clear ability
1025+
- A New Magnet/Snap tool has been added with the ability to snap to line, vertex or disable the tool (default)
1026+
- The Values Tool shows only series values and no range values anymore
1027+
- Measure Tool has a context menu with remove/clear ability
10221028

10231029
## 0.20.0
10241030

@@ -1031,9 +1037,9 @@ Technical release:
10311037
### Changed
10321038

10331039
- Console behaviours changed:
1034-
- Closing a console tab closes the connection as well now
1035-
- Changing active console tab changes active connection, so it's the same as select active connection from the
1036-
toolbar
1040+
- Closing a console tab closes the connection as well now
1041+
- Changing active console tab changes active connection, so it's the same as select active connection from the
1042+
toolbar
10371043

10381044
## 0.19.0
10391045

@@ -1047,14 +1053,14 @@ Technical release:
10471053
- Table Result supports search by words and regex with or without case match
10481054
- Right side toolbar in charts view has been added instead of the context menu
10491055
- Charting tools have been introduced:
1050-
- **Crosshair tool** - to show current values for the mouse position
1051-
- **Measure tool** - draw measuring rectangles on the chart with values diff: left mouse click to start, move, left
1052-
mouse click to finish.
1053-
Esc to cancel current drawing.
1054-
- **Points collector** - save any chart clicked values into the points' collector table with the ability to export
1055-
or
1056-
send
1057-
into another KDB instance.
1056+
- **Crosshair tool** - to show current values for the mouse position
1057+
- **Measure tool** - draw measuring rectangles on the chart with values diff: left mouse click to start, move, left
1058+
mouse click to finish.
1059+
Esc to cancel current drawing.
1060+
- **Points collector** - save any chart clicked values into the points' collector table with the ability to export
1061+
or
1062+
send
1063+
into another KDB instance.
10581064

10591065
## 0.18.1
10601066

@@ -1069,9 +1075,9 @@ Technical release:
10691075
- Charting configuration has been redesigned
10701076
- Candlestick chart has been added
10711077
- Line charts have been updated:
1072-
- Spline, Steps, Bar, Area, Diff and Scatter line charts have been added
1073-
- Ability to change line width and show shapes added
1074-
- Transparent colors and axes orders added
1078+
- Spline, Steps, Bar, Area, Diff and Scatter line charts have been added
1079+
- Ability to change line width and show shapes added
1080+
- Transparent colors and axes orders added
10751081

10761082
## 0.17.1
10771083

@@ -1097,8 +1103,8 @@ Technical release:
10971103
### Changed
10981104

10991105
- Excel exporting format changed to xlsx (Excel 2007) instead of xls (Excel 95)
1100-
- 1,048,576 rows instead of 65,536 and 16,384 cols instead of 256
1101-
- Streams worksheet is used to reduce memory footprint
1106+
- 1,048,576 rows instead of 65,536 and 16,384 cols instead of 256
1107+
- Streams worksheet is used to reduce memory footprint
11021108
- Export actions run as a background task to reduce UI freeze
11031109

11041110
## 0.15.0

gradle.properties

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ pluginUntilBuild=243.*
1414
# or https://jb.gg/intellij-platform-builds-list
1515
# or https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html - check Releases and Snapshor for EAP
1616
#pluginVerifierVersions=2022.3, 2022.3.3, 2023.3.7, 2024.1.5, 2024.3
17-
pluginVerifierVersions=IC-2022.3, IC-2023.3, IC-2024.3.5, IC-2025.1.3
17+
pluginVerifierVersions=IC-2022.3, IC-2023.3, IC-2024.3.5, IC-2025.1.3, IC-2025.2
1818

1919
# IDEA Options
2020
platformType=IC
21-
platformVersion=2025.1.3
22-
platformPlugins=PsiViewer:251.175
21+
platformVersion=2025.2
22+
platformPlugins=PsiViewer:252.23892.248
23+
#platformVersion=2025.1.3
24+
#platformPlugins=PsiViewer:251.175
2325
#platformVersion=2024.3.5
2426
#platformPlugins=PsiViewer:243.7768
2527
#platformPlugins=com.jetbrains.hackathon.indices.viewer:1.29, PsiViewer:243.7768

src/main/java/org/kdb/inside/brains/view/console/table/QColumnInfo.java

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@
1212
import java.time.LocalDate;
1313
import java.time.Month;
1414
import java.util.Comparator;
15+
import java.util.Objects;
1516

1617
import static org.kdb.inside.brains.UIUtils.KEY_COLUMN_PREFIX;
1718
import static org.kdb.inside.brains.UIUtils.KEY_COLUMN_PREFIX_XMAS;
1819

1920
public class QColumnInfo extends ColumnInfo<Object, Object> {
2021
private final boolean key;
22+
private final String displayName;
2123
private final KdbType columnType;
2224
private final Class<?> columnClass;
2325
private final Comparator<Object> comparator;
24-
private final String displayName;
2526

2627
@SuppressWarnings("unchecked")
2728
public QColumnInfo(String name, Class<?> columnClass, boolean key) {
@@ -131,4 +132,26 @@ private static String createDisplayName(String name, boolean key) {
131132
}
132133
return name;
133134
}
134-
}
135+
136+
@Override
137+
public boolean equals(Object o) {
138+
if (o == null || getClass() != o.getClass()) {
139+
return false;
140+
}
141+
if (!super.equals(o)) {
142+
return false;
143+
}
144+
QColumnInfo that = (QColumnInfo) o;
145+
return columnType == that.columnType;
146+
}
147+
148+
@Override
149+
public int hashCode() {
150+
return Objects.hash(super.hashCode(), columnType);
151+
}
152+
153+
@Override
154+
public String toString() {
155+
return getName() + ":" + columnType;
156+
}
157+
}

0 commit comments

Comments
 (0)