setConfig api option to set only in memory
Personne n'a encore pris cette issue.
- Langage dominant
- TypeScript
- Étoiles
- 215
- Forks
- 62
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
My extension dynamically generates a library bundle and sets a path in `userThirdParty` and `checkThirdParty: "ApplyInMemory"`, to allow the rest of my settings to be applied from the config.json, and library and plugin loaded, with minimal impact on the user's workspace. I currently set these two in the workspace via vscode settings apis, which leads to them being written to settings.json. Persisting these is undesirable as the `userThirdParty` path is a per-workspace path, which many users have complained about.
I noticed that the extension now provides a setConfig api, and was hoping to use this to provide those settings only in memory, but it seems they are also written back out to settings.json when set this way.
Would it be possible to have an "ApplyInMemory" option on the setConfig api for this case?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par suivre l’API setConfig et l’API de paramètres de VS Code afin de déterminer où les modifications de configuration sont persistées. Le travail est terminé lorsqu’une option ApplyInMemory applique userThirdParty et checkThirdParty sans les écrire dans settings.json ; l’issue ne mentionne ni fichiers ni tests, les chemins d’implémentation et de vérification pertinents doivent donc d’abord être identifiés.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- typescript, vscode
- Domaine
- developer-experience, tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100