Error when renaming a file (changing only case)

Aperta
#403 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Non sono indicati file sorgente o test. Inizia riproducendo la ridenominazione che modifica solo maiuscole e minuscole da test/foo.hs a test/Foo.hs nella configurazione Remote - Containers fornita, quindi determina se il problema appartiene all’estensione VS Code, al server del linguaggio o all’operazione sui file di VS Code; il lavoro è completato quando la ridenominazione riesce senza il falso errore che indica che la destinazione esiste già.

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

Descrizione

type: bug

When renaming a file test/foo.hs to test/Foo.ts I get an error and the rename fails:

Unable to move/copy 'vscode-remote://dev-container+2f55736572732f64616e6e792f4465762f44616e6e792f4861736b656c6c54657374696e67/workspaces/HaskellTesting/tests/foo.hs' because target 'vscode-remote://dev-container+2f55736572732f64616e6e792f4465762f44616e6e792f4861736b656c6c54657374696e67/workspaces/HaskellTesting/tests/Foo.hs' already exists at destination.

I'm running in a container using VS Code's Remote - Containers functionality, using the following devontainer JSON:

{
	"name": "Haskell",
	"image": "haskell:8",
	"settings": {
		"[haskell]": {
			"editor.insertSpaces": true,
		}
	},
	"extensions": [
		"haskell.haskell"
	],
}

I had to use haskell:8 as using haskell:latest complained that some components were not available on Linux using the latest version.

I'm not sure if this is an issue with the VS Code extension or something else (like the LSP server) so if this is not the right place to raise this, please point in the right direction (this is the first time I've tried to use Haskell so I'm not very familiar with the tools yet) - thanks!

Lingua principale
TypeScript
Stelle
594
Fork
99
Merge medio
18h 19m
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di haskell/vscode-haskell

Tutte le issue di haskell/vscode-haskell

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.