Skip to content

Commit b207223

Browse files
committed
fix font family?
1 parent 87dec55 commit b207223

File tree

4 files changed

+31
-52
lines changed

4 files changed

+31
-52
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ All notable changes to the "CSV" extension will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
8-
9-
- Row Insertion/Deletion.
7+
## [1.1.1] - 2025-06-11
8+
- Fixed: fontFamily
109

1110
## [1.1.0] - 2025-06-11
11+
- New: Row Insertion/Deletion.
1212
- New: Column sorting by clicking header labels.
1313
- Added: Font selection dropdown honoring VS Code fonts.
1414
- Added: Editing of empty CSV files.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ Working with CSV files shouldn’t be a chore. With CSV, you get:
7373

7474
## Release Notes
7575

76+
### v1.1.1
77+
- **Fixed:** fontFamily
78+
7679
### v1.1.0
7780
- **New:** Column sorting by clicking header labels.
7881
- **Added:** Font selection dropdown that honors VS Code font settings.

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 22 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"type": "git",
99
"url": "https://github.com/jonaraphael/csv.git"
1010
},
11-
"version": "1.1.0",
11+
"version": "1.1.1",
1212
"engines": {
13-
"vscode": "^1.93.0",
13+
"vscode": "^1.100.0",
1414
"node": ">=14"
1515
},
1616
"categories": [
@@ -23,45 +23,27 @@
2323
"onCommand:csv.toggleExtension",
2424
"onCommand:csv.toggleHeader",
2525
"onCommand:csv.toggleSerialIndex",
26-
"onCommand:csv.changeSeparator"
26+
"onCommand:csv.changeSeparator",
27+
"onCommand:csv.changeFontFamily"
2728
],
2829
"main": "./out/extension.js",
2930
"contributes": {
3031
"languages": [
3132
{
3233
"id": "csv",
33-
"extensions": [
34-
".csv"
35-
],
36-
"aliases": [
37-
"CSV",
38-
"csv"
39-
],
34+
"extensions": [ ".csv" ],
35+
"aliases": [ "CSV", "csv" ],
4036
"configuration": "./language-configuration.json"
4137
}
4238
],
4339
"commands": [
44-
{
45-
"command": "csv.toggleExtension",
46-
"title": "CSV: Toggle Extension On/Off"
47-
},
48-
{
49-
"command": "csv.toggleHeader",
50-
"title": "CSV: Toggle First Row as Header"
51-
},
52-
{
53-
"command": "csv.toggleSerialIndex",
54-
"title": "CSV: Toggle Serial Index Column"
55-
},
56-
{
57-
"command": "csv.changeSeparator",
58-
"title": "CSV: Change CSV Separator"
59-
},
60-
{
61-
"command": "csv.changeFontFamily",
62-
"title": "CSV: Change Font Family"
63-
}
40+
{ "command": "csv.toggleExtension", "title": "CSV: Toggle Extension On/Off" },
41+
{ "command": "csv.toggleHeader", "title": "CSV: Toggle First Row as Header" },
42+
{ "command": "csv.toggleSerialIndex", "title": "CSV: Toggle Serial Index Column" },
43+
{ "command": "csv.changeSeparator", "title": "CSV: Change CSV Separator" },
44+
{ "command": "csv.changeFontFamily", "title": "CSV: Change Font Family" }
6445
],
46+
6547
"configuration": {
6648
"type": "object",
6749
"title": "CSV Extension Configuration",
@@ -86,36 +68,31 @@
8668
"default": ",",
8769
"description": "CSV separator to use."
8870
},
71+
8972
"csv.fontFamily": {
9073
"type": "string",
91-
"default": "Menlo",
92-
"description": "CSV Font Family to use."
74+
"default": "",
75+
"description": "Font family used by the CSV custom editor. Leave empty to inherit ‘editor.fontFamily’.",
76+
"scope": "application"
9377
},
78+
9479
"csv.cellPadding": {
9580
"type": "number",
9681
"default": 4,
9782
"description": "Vertical padding in pixels for table cells."
9883
}
9984
}
10085
},
86+
10187
"customEditors": [
10288
{
10389
"viewType": "csv.editor",
10490
"displayName": "CSV",
105-
"selector": [
106-
{
107-
"filenamePattern": "*.csv"
108-
}
109-
]
91+
"selector": [ { "filenamePattern": "*.csv" } ]
11092
}
111-
],
112-
"csv.fontFamily": {
113-
"type": "string",
114-
"default": "",
115-
"description": "Font family used by the CSV custom editor. Leave empty to inherit ‘editor.fontFamily’.",
116-
"scope": "application"
117-
}
93+
]
11894
},
95+
11996
"scripts": {
12097
"compile": "tsc -p ./",
12198
"lint": "eslint '**/*.ts'",
@@ -124,8 +101,7 @@
124101
},
125102
"dependencies": {
126103
"font-list": "^1.5.1",
127-
"papaparse": "^5.5.3",
128-
"vscode": "^1.1.37"
104+
"papaparse": "^5.5.3"
129105
},
130106
"devDependencies": {
131107
"@types/mocha": "^10.0.10",

0 commit comments

Comments
 (0)