Compare commits

...
20 Commits
Author SHA1 Message Date
root 834322cb6a feature: sweep flotte - eslint-config-prettier en bout de chaine (formatage = prettier seul juge), garde-fou MAX_REDIRECTS dans requestPromise, canon relativeTime + api.ts, bumps de deps et travaux en cours 2026-08-04 01:20:53 +02:00
root 349f5e1ff8 fix: release
continuous-integration/drone/tag Build is passing
2026-08-01 23:22:41 +00:00
m.schnitzlerandroot fc674d3e0d renovate (#194)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-08-01 23:22:11 +00:00
root e6b404f009 fix: await sur l'écriture de la config setUrl + renommage des disposables
continuous-integration/drone/tag Build is passing
2026-07-31 15:02:34 +02:00
root 30b87d515f feature: renommage disposable2/disposable3 en setUrlCommand/callUrlCommand 2026-07-31 15:01:17 +02:00
root 087dc3dad1 fix: attendre l'écriture de la config avant d'annoncer « URL set successfully » 2026-07-31 14:52:02 +02:00
root 8fb2196e67 fix: release
continuous-integration/drone/tag Build is passing
2026-07-28 03:08:07 +00:00
m.schnitzlerandroot fe4e5393e0 renovate (#193)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-07-28 03:07:51 +00:00
root 437f07ccc1 fix: release
continuous-integration/drone/tag Build is passing
2026-07-25 23:30:02 +00:00
m.schnitzlerandroot afa57178d9 renovate (#192)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-07-25 23:29:41 +00:00
root f9824e1523 fix: release
continuous-integration/drone/tag Build is passing
2026-07-24 23:22:14 +00:00
m.schnitzlerandroot 9fa19fe316 renovate (#191)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-07-24 23:21:55 +00:00
root 1e8b682afc fix: release
continuous-integration/drone/tag Build is passing
2026-07-24 00:14:57 +00:00
m.schnitzlerandroot 7ee9dd2a49 renovate (#190)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-07-24 00:14:46 +00:00
root 9535565349 fix: release
continuous-integration/drone/tag Build is passing
2026-07-22 23:36:51 +00:00
m.schnitzlerandroot bcabfe6db1 renovate (#189)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-07-22 23:36:33 +00:00
root b67d12ecdd fix: release
continuous-integration/drone/tag Build is passing
2026-07-22 00:01:26 +00:00
m.schnitzlerandroot 2d865f87dd renovate (#188)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-07-21 23:59:50 +00:00
root 9403710c8a fix: release
continuous-integration/drone/tag Build is passing
2026-07-19 23:05:13 +00:00
m.schnitzlerandroot cb5b4478e5 renovate (#187)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-07-19 23:04:58 +00:00
4 changed files with 200 additions and 484 deletions
+5
View File
@@ -2,6 +2,7 @@ import js from '@eslint/js';
import tsparser from '@typescript-eslint/parser';
import tsplugin from '@typescript-eslint/eslint-plugin';
import globals from 'globals';
import prettierConfig from 'eslint-config-prettier';
export default [
// remonte (et --fix supprime) tout eslint-disable inutile : regle deja off, inactive, ou qui ne tire pas
@@ -65,4 +66,8 @@ export default [
{
ignores: ['legacy/', 'out/', 'dist/', '.vscode-test/', '**/*.d.ts'],
},
// EN DERNIER : prettier est seul juge du formatage. Neutralise les regles de formatage des presets
// (unicorn/number-literal-case, no-confusing-arrow, no-multi-spaces...) que le cron `eslint --fix`
// reecrivait en sens inverse du cron `prettier --write` sur les memes octets (ticket 4152).
prettierConfig,
];
+182 -472
View File
File diff suppressed because it is too large Load Diff
+8 -7
View File
@@ -1,7 +1,7 @@
{
"name": "vscodestat",
"displayName": "vscodestat",
"version": "1.8.0",
"version": "1.8.9",
"description": "",
"categories": [
"Other"
@@ -53,15 +53,16 @@
"@types/mocha": "^10.0.10",
"@types/node": "26.x",
"@types/vscode": "^1.125.0",
"@typescript-eslint/eslint-plugin": "^8.64.0",
"@typescript-eslint/parser": "^8.64.0",
"@typescript-eslint/eslint-plugin": "^8.65.0",
"@typescript-eslint/parser": "^8.65.0",
"@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^3.0.0",
"@vscode/test-electron": "^3.1.0",
"eslint": "^10.1.0",
"globals": "^17.7.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.8.0",
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"prettier": "^3.9.5",
"lint-staged": "^17.3.0",
"prettier": "^3.9.6",
"ts-api-utils": "^2.5.0",
"typescript": "^6.0.3"
},
+5 -5
View File
@@ -4,21 +4,21 @@ export function activate(context: vscode.ExtensionContext) {
console.log('Congratulations, your extension "vscodestat" is now active!');
// commande pour definir l'url
const disposable2 = vscode.commands.registerCommand('vscodestat.setUrl', async () => {
const setUrlCommand = vscode.commands.registerCommand('vscodestat.setUrl', async () => {
const url = await vscode.window.showInputBox({
prompt: 'Enter the URL:',
placeHolder: '',
});
if (url) {
vscode.workspace.getConfiguration().update('vscodestat.url', url, vscode.ConfigurationTarget.Global);
await vscode.workspace.getConfiguration().update('vscodestat.url', url, vscode.ConfigurationTarget.Global);
vscode.window.showInformationMessage('URL set successfully.');
}
});
context.subscriptions.push(disposable2);
context.subscriptions.push(setUrlCommand);
// commande pour tester l'url
const disposable3 = vscode.commands.registerCommand('vscodestat.callUrl', async () => {
const callUrlCommand = vscode.commands.registerCommand('vscodestat.callUrl', async () => {
const storedUrl = vscode.workspace.getConfiguration().get('vscodestat.url') as string;
if (!storedUrl) {
vscode.window.showWarningMessage('URL is not set. Please set the URL first.');
@@ -27,7 +27,7 @@ export function activate(context: vscode.ExtensionContext) {
await makeHttpRequest({ event: 'ping' });
vscode.window.showInformationMessage('callUrl done');
});
context.subscriptions.push(disposable3);
context.subscriptions.push(callUrlCommand);
// detecte une ouverture de fichier / nouvel onglet
vscode.window.onDidChangeActiveTextEditor(async (editor) => {