Improve code snipper HTTP
- Langage dominant
- TypeScript
- Étoiles
- 1.2k
- Forks
- 242
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Describe the bug
When the HTTP code snippet is generated, it is generated with the first letter in uppercase and the format should be the same as in the header. A difference if the type CURL is selected maintains the correct format.
To Reproduce
Execute a example of request.
Clic in code snipper {}.
In code select HTTP.
Expected behavior
The expected behavior is to keep the same format as the header, as is done in the CURL.
Platform:
OS: Windows 10
vscode version: 1.66.2
extension version: 1.18.7
Example:
Screenshot type http:

Screenshot type curl:

best regards
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start by reproducing the request-snippet steps in the issue and compare the generated HTTP and CURL outputs, focusing on capitalization and formatting. The work is done when the HTTP snippet preserves the same format as its header, matching the existing CURL behavior.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- typescript
- Domaine
- devtools
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100