Skip to content

Commit 74a98e6

Browse files
add Settings config example to docs (#110)
1 parent e1365f6 commit 74a98e6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,17 @@ Tabular Data Viewer 中 Settings, Commands, Languages, Custom Editors and Activa
9595
| `ui.theme` | string | `light` | Default data view UI theme to use for tabular data display. Current options include `light` and `dark` UI themes for `Tabulator` and `Perspective` data views. |
9696
| `view` | string | `Tabulator` | Default Tabular Data View type to use for displaying data. Current options include [`Tabulator`](http://tabulator.info) and [`Perspective`](https://perspective.finos.org). |
9797

98+
99+
You can set your Tabular Data viewer settings by adding them to [`./vscode/settings.json`](https://github.com/RandomFractals/tabular-data-viewer/blob/main/.vscode/settings.json#L14) in your project workspace. The following workspace configuration settings will default Table views to use Perspective Viewer and Dark UI theme for Data Grid and basic D3FC Charts display:
100+
101+
```
102+
{
103+
// Tabular Data Viewer settings for this workspace
104+
"tabular.data.view": "Perspective",
105+
"tabular.data.ui.theme": "dark"
106+
}
107+
```
108+
98109
You can view Tabular Data Viewer 中 Configuration Settings via standard vscode `Preferences -> Settings -> Extensions -> Tabular Data Viewer` Settings view or use custom `Tabular Data: View Settings` command from `View -> Command Palette...` menu prompt by typing `Tabular` in it. Hit Reload ↺ button in open Table View 🀄 after you toggle Tabular Data Settings to activate your configuration changes for an open table view.
99110

100111
**Note**: `tabular.data.view` type default and `tabular.data.ui.theme` setting changes might require you to close and reopen currently open Tabular Data Views for those settings to take effect.

0 commit comments

Comments
 (0)