formulahendry / formulahendry/vscode-code-runner

Python file creation - file created at location of first open code file in vscode

Aperta
#464 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
2.4k
Fork
352
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi,

I am creating both a .txt and a .png file through a Python script. This worked well for a while, but eventually the files started appearing in another location (adjacent to another code file that I had open in VSC at the same time). They _should_ end up in the same location as the Python script.

Through my observation, I realized it was placing them in the same location as the first code file that is open in vscode, which was not the one I was testing.

Running it through cmd placed them in the correct spot, of course, but it's a little inconvenient to test that way when I have this wonderful extension ;)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Non viene indicato alcun file, test o punto di ingresso. Inizia riproducendo il comportamento di creazione dei file di Python tramite Code Runner in VS Code, quindi confronta la directory di lavoro con l’esecuzione dalla riga di comando. Il lavoro è completato quando i file generati vengono posizionati accanto allo script Python anziché accanto al primo file di codice aperto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript, vscode
Ambito
developer-experience, tooling
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.