Title: Query Result grid ignores nls.decimalSeparator/nls.groupSeparator settings for numeric columns · Issue #35 · oracle/sql-developer-vscode · GitHub
Open Graph Title: Query Result grid ignores nls.decimalSeparator/nls.groupSeparator settings for numeric columns · Issue #35 · oracle/sql-developer-vscode
X Title: Query Result grid ignores nls.decimalSeparator/nls.groupSeparator settings for numeric columns · Issue #35 · oracle/sql-developer-vscode
Description: Extension version: 26.2.1 VS Code version: 1.135 Settings applied (settings.json): "sqldeveloper.database.nls.language": "SPANISH", "sqldeveloper.database.nls.territory": "SPAIN", "sqldeveloper.database.nls.decimalSeparator": ",", "sqlde...
Open Graph Description: Extension version: 26.2.1 VS Code version: 1.135 Settings applied (settings.json): "sqldeveloper.database.nls.language": "SPANISH", "sqldeveloper.database.nls.territory": "SPAIN", "sqldeveloper.dat...
X Description: Extension version: 26.2.1 VS Code version: 1.135 Settings applied (settings.json): "sqldeveloper.database.nls.language": "SPANISH", "sqldeveloper.database.nls.territory&quo...
Opengraph URL: https://github.com/oracle/sql-developer-vscode/issues/35
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Query Result grid ignores nls.decimalSeparator/nls.groupSeparator settings for numeric columns","articleBody":"Extension version: 26.2.1\nVS Code version: 1.135\n\nSettings applied (`settings.json`):\n```json\n\"sqldeveloper.database.nls.language\": \"SPANISH\",\n\"sqldeveloper.database.nls.territory\": \"SPAIN\",\n\"sqldeveloper.database.nls.decimalSeparator\": \",\",\n\"sqldeveloper.database.nls.groupSeparator\": \".\"\n```\n\n### Problem\nNumeric values (`NUMBER`) shown in the \"Query Result\" grid are always rendered with the en-US format (period as decimal separator), regardless of the configured `nls.decimalSeparator`/`nls.groupSeparator` settings.\n\n### Steps to reproduce\n1. Set `sqldeveloper.database.nls.decimalSeparator` to `\",\"` and `sqldeveloper.database.nls.groupSeparator` to `\".\"`.\n2. Run `SELECT 1234.56 AS amount FROM dual;`\n3. Observe the \"Query Result\" grid.\n\nExpected: `1.234,56`\nActual: `1234.56`\n\n### Root cause (found by inspecting the installed extension bundle)\nIn `dist/extension.js` and `dist/connection-dialog.js`, the configuration keys `DatabaseNlsDecimalSeparator` (`sqldeveloper.database.nls.decimalSeparator`) and `DatabaseNlsGroupSeparator` (`sqldeveloper.database.nls.groupSeparator`) each appear only twice in the whole bundle:\n1. Declaring the setting's key name.\n2. Declaring its `{type:\"string\"}` entry in the configuration schema (for the Settings UI).\n\nNeither value is read anywhere else in the bundle — i.e. the setting is exposed to the user but never actually consumed (not passed to the DB session's NLS parameters, and not passed to the grid renderer).\n\nSeparately, in `dist/9551.896b79c44f7bed322513.js` (the bundle containing ag-Grid), there is a locale-aware number formatter used by the grid's pagination footer:\n```js\nformatNumber(e){const t=this.gos.getCallback(\"paginationNumberFormatter\");\n return t?t({value:e}):function(e,t){if(\"number\"!=typeof e)return\"\";\n const n=t(),o=n(\"thousandSeparator\",\",\"),i=n(\"decimalSeparator\",\".\");\n return e.toString().replace(\".\",i).replace(/(\\d)(?=(\\d{3})+(?!\\d))/g,`$1${o}`)}(e,this.getLocaleTextFunc.bind(this))}\n```\n\nThis formatter does support custom locale separators via `getLocaleTextFunc`, but it's only wired up for the pagination row count/page numbers — not for numeric cell values in the grid body. And since the extension never forwards the configured NLS separators into that locale function either, even the paginator wouldn't honor the setting.\n\n### Suggested fix\nWire `sqldeveloper.database.nls.decimalSeparator`/`groupSeparator` into the grid's cell value formatter/renderer for numeric columns (and, if intended, into `getLocaleTextFunc` for the pagination formatter too).","author":{"url":"https://github.com/jumaragtel","@type":"Person","name":"jumaragtel"},"datePublished":"2026-09-02T10:39:40Z","url":"https://github.com/oracle/sql-developer-vscode/issues/35"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3d014f23-e20b-fa61-f5bb-39db701e6e19 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D6A:1EE375:A1C0A8:E24D93:6B042FC8 |
| html-safe-nonce | 52ad975c223b1e00227c9d4f7f6ca918951afa3c01891fd972f2c5e4e53b9ee7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDZBOjFFRTM3NTpBMUMwQTg6RTI0RDkzOjZCMDQyRkM4IiwidmlzaXRvcl9pZCI6IjQ5MDM5NTMxNzYwMDY1MDQzOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 011252f0709ef0a2255ffc22e6b485cb7742425f0c914bfe6f16c42031ece6e1 |
| hovercard-subject-tag | issue:5322844739 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/oracle/sql-developer-vscode/35/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8424a46cb59fa334e20f31b1dd07526661d66f58d31ed875ed9244f874154dc9/oracle/sql-developer-vscode/issues/35 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8424a46cb59fa334e20f31b1dd07526661d66f58d31ed875ed9244f874154dc9/oracle/sql-developer-vscode/issues/35 |
| og:image:alt | Extension version: 26.2.1 VS Code version: 1.135 Settings applied (settings.json): "sqldeveloper.database.nls.language": "SPANISH", "sqldeveloper.database.nls.territory": "SPAIN", "sqldeveloper.dat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jumaragtel |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/oracle/sql-developer-vscode git https://github.com/oracle/sql-developer-vscode.git |
| octolytics-dimension-user_id | 4430336 |
| octolytics-dimension-user_login | oracle |
| octolytics-dimension-repository_id | 996875857 |
| octolytics-dimension-repository_nwo | oracle/sql-developer-vscode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 996875857 |
| octolytics-dimension-repository_network_root_nwo | oracle/sql-developer-vscode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width