-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 3.9 KB
/
Copy pathpackage.json
File metadata and controls
117 lines (117 loc) · 3.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "vs-code-rtl",
"displayName": "VS Code RTL",
"description": "تحويل واجهة VS Code إلى وضع من اليمين إلى اليسار (RTL) عبر نظام استراتيجيات قابل للتوسّع.",
"version": "0.2.0",
"publisher": "sadlang",
"license": "MIT",
"engines": {
"vscode": "^1.85.0"
},
"repository": {
"type": "git",
"url": "https://github.com/sadlang/vs_code_rtl.git"
},
"categories": [
"Other"
],
"keywords": [
"rtl",
"arabic",
"العربية",
"bidi",
"direction"
],
"main": "./out/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "vsCodeRtl.enable",
"title": "RTL: تفعيل وضع اليمين-لليسار",
"category": "VS Code RTL"
},
{
"command": "vsCodeRtl.disable",
"title": "RTL: تعطيل وضع اليمين-لليسار",
"category": "VS Code RTL"
},
{
"command": "vsCodeRtl.toggle",
"title": "RTL: تبديل وضع اليمين-لليسار",
"category": "VS Code RTL"
},
{
"command": "vsCodeRtl.reapply",
"title": "RTL: إعادة التطبيق (بعد تحديث VS Code)",
"category": "VS Code RTL"
}
],
"configuration": {
"title": "VS Code RTL",
"properties": {
"vsCodeRtl.strategy": {
"type": "string",
"default": "webview",
"enum": [
"webview",
"cssInjection"
],
"enumDescriptions": [
"سطح RTL أصليّ داخل لوحة webview — آمن، لا يعدّل ملفّات التثبيت ويصمد عبر التحديثات (مُوصى به).",
"متقدّم: حقن CSS في ملفّ واجهة VS Code (يتطلّب إعادة تحميل النافذة وصلاحيّة كتابة على مجلّد التثبيت، وقد يُلغى عند التحديث)."
],
"description": "الاستراتيجية المستخدمة لتطبيق RTL."
},
"vsCodeRtl.hideNativeChrome": {
"type": "boolean",
"default": false,
"description": "عند استخدام استراتيجية webview: إخفاء شريط الأنشطة وشريط الحالة الأصليّين (عبر إعدادات رسميّة قابلة للعكس) لإفساح المجال لسطح RTL."
},
"vsCodeRtl.keepEditorLtr": {
"type": "boolean",
"default": true,
"description": "إبقاء منطقة تحرير الشيفرة (المحرّر) باتجاه LTR لتفادي قلب اتجاه الكود."
},
"vsCodeRtl.scope": {
"type": "string",
"default": "workbench",
"enum": [
"workbench",
"all"
],
"enumDescriptions": [
"تطبيق RTL على واجهة العمل فقط (الأشرطة واللوحات).",
"تطبيق RTL على كامل الواجهة بما فيها المحرّر."
],
"description": "نطاق تطبيق RTL."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"test:unit": "mocha -r ts-node/register \"src/test/unit/**/*.test.ts\""
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@vscode/test-electron": "^3.0.0",
"eslint": "^8.56.0",
"glob": "^10.3.10",
"mocha": "^10.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}