Error when renaming a file (changing only case)

Abierto
#403 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
haskell, typescript, vscode

Línea de trabajo

No se nombran archivos fuente ni pruebas. Empieza reproduciendo el cambio de nombre que solo cambia mayúsculas y minúsculas de test/foo.hs a test/Foo.hs en la configuración de Remote - Containers proporcionada y, después, determina si el fallo pertenece a la extensión de VS Code, al servidor de lenguaje o a la operación de archivos de VS Code; se considera terminado cuando el cambio de nombre se realiza correctamente sin el falso error de que el destino ya existe.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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!

Lenguaje dominante
TypeScript
Estrellas
594
Forks
99
Merge medio
18 h 19 min
PR fusionados (30 d)
4

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de haskell/vscode-haskell

Todos los issues de haskell/vscode-haskell

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.