-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
174 lines (174 loc) · 5.19 KB
/
package.json
File metadata and controls
174 lines (174 loc) · 5.19 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"name": "latex-format-panel",
"displayName": "LaTeX Format Panel",
"description": "Panel de formatage LaTeX avec support mathématique",
"icon": "media/icon.png",
"version": "0.2.5",
"publisher": "mmaunier",
"author": {
"name": "Mikaël Maunier",
"email": "mmaunier2009@gmail.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mmaunier/latex-format-panel.git"
},
"bugs": {
"url": "https://github.com/mmaunier/latex-format-panel/issues"
},
"homepage": "https://github.com/mmaunier/latex-format-panel#readme",
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:latex"
],
"main": "./src/extension.js",
"scripts": {
"vscode:prepublish": "echo 'No compilation needed'",
"package": "vsce package --out build/",
"build": "vsce package --out build/",
"release": "./scripts/build-release.sh",
"release:patch": "./scripts/build-release.sh patch",
"release:minor": "./scripts/build-release.sh minor",
"release:major": "./scripts/build-release.sh major"
},
"devDependencies": {
"@types/vscode": "^1.60.0",
"@vscode/vsce": "^2.32.0",
"vsce": "^2.15.0"
},
"contributes": {
"configuration": {
"title": "LaTeX Format Panel",
"properties": {
"latexFormatPanel.persoButtons": {
"type": "array",
"default": [
{
"type": "titre",
"texte": "Mes commandes"
},
{
"type": "bouton",
"texte": "Section",
"commande": "\\section{$1}$0"
},
{
"type": "bouton_variantes",
"defaut": 0,
"variantes": [
{
"texte": "Align numéroté",
"commande": "\\begin{align}\n$1\n\\end{align}$0"
},
{
"texte": "Align non numéroté",
"commande": "\\begin{align*}\n$1\n\\end{align*}$0"
}
]
}
],
"description": "Configuration des boutons personnalisés pour l'onglet Perso.",
"markdownDescription": "Configuration des boutons personnalisés pour l'onglet Perso.\n\n**Types disponibles :**\n\n1. **Type 'titre'** : Crée un titre de section\n ```json\n {\"type\": \"titre\", \"texte\": \"Mon titre\"}\n ```\n\n2. **Type 'bouton'** : Crée un bouton LaTeX simple\n ```json\n {\"type\": \"bouton\", \"texte\": \"Section\", \"commande\": \"\\\\section{$1}$0\"}\n ```\n\n3. **Type 'bouton_variantes'** : Crée un bouton avec menu contextuel\n ```json\n {\n \"type\": \"bouton_variantes\",\n \"defaut\": 0,\n \"variantes\": [\n {\"texte\": \"Numéroté\", \"commande\": \"\\\\begin{align}\\n$1\\n\\\\end{align}$0\"},\n {\"texte\": \"Non numéroté\", \"commande\": \"\\\\begin{align*}\\n$1\\n\\\\end{align*}$0\"}\n ]\n }\n ```\n\n**Marqueurs de position :**\n- `$1` : Position du texte sélectionné\n- `$0` : Position finale du curseur\n- `\\\\n` : Retour à la ligne\n\n**Notes :**\n- Les boutons sont regroupés par 3 par ligne\n- `defaut` : Index de la variante par défaut (0-indexé)\n- Si une seule variante, comportement de bouton simple\n- Échappez les backslashes avec `\\\\`",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"titre",
"bouton",
"bouton_variantes"
],
"description": "Type d'élément"
},
"texte": {
"type": "string",
"description": "Texte affiché (pour titre et bouton uniquement)"
},
"commande": {
"type": "string",
"description": "Commande LaTeX (pour type 'bouton' uniquement)"
},
"defaut": {
"type": "integer",
"minimum": 0,
"description": "Index de la variante par défaut (pour bouton_variantes)"
},
"variantes": {
"type": "array",
"description": "Liste des variantes (pour bouton_variantes)",
"items": {
"type": "object",
"properties": {
"texte": {
"type": "string",
"description": "Nom de la variante"
},
"commande": {
"type": "string",
"description": "Commande LaTeX pour cette variante"
}
},
"required": [
"texte",
"commande"
]
}
}
},
"required": [
"type"
]
}
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "latex-format-container",
"title": "LaTeX Format",
"icon": "media/icon.svg",
"when": "latex-format-panel:enabled"
}
]
},
"views": {
"latex-format-container": [
{
"icon": "media/icon.svg",
"id": "latexFormatPanel",
"name": "LaTeX Format",
"type": "webview",
"when": "latex-format-panel:enabled"
}
]
},
"commands": [
{
"command": "latexFormat.commentLatex",
"title": "LaTeX : Commenter la sélection"
},
{
"command": "latexFormat.uncommentLatex",
"title": "LaTeX : Décommenter la sélection"
},
{
"command": "latexFormat.editPersoButtons",
"title": "Éditer les boutons personnalisés",
"category": "LaTeX Format"
}
]
},
"__metadata": {
"installedTimestamp": 1752934197999,
"targetPlatform": "undefined",
"size": 304051
}
}