We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc8654 commit cc30882Copy full SHA for cc30882
packages/jupyterlab-lsp/src/adapters/codemirror/features/diagnostics_listing.tsx
@@ -239,7 +239,14 @@ export class DiagnosticsListing extends VDomRenderer<DiagnosticsListing.Model> {
239
new Column({
240
name: 'Cell',
241
render_cell: row => <td key={5}>{row.cell_number}</td>,
242
- sort: (a, b) => (a.cell_number > b.cell_number ? 1 : -1),
+ sort: (a, b) =>
243
+ a.cell_number > b.cell_number
244
+ ? 1
245
+ : a.data.range.start.line > b.data.range.start.line
246
247
+ : a.data.range.start.ch > b.data.range.start.ch
248
249
+ : -1,
250
is_available: context => context.editor.has_cells
251
}),
252
0 commit comments