Allow unzipped source archives

Aberta
#1,324 1 comentário 2 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
30/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
typescript, vscode
Domínio
tooling

Direção de pesquisa

Comece lendo o archive-filesystem-provider existente e o comportamento do seu file-explorer. Avalie como um diretório de sistema de arquivos comum poderia usar a mesma API que a variante baseada em zip, permanecendo somente leitura. O trabalho estará concluído quando as pastas de origem de banco de dados descompactadas puderem ser exibidas e utilizadas sem permitir edições, juntamente com os arquivos zip existentes.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

enhancement VSCode

Background

This feature request is about allowing unzipped database source archives in addition to zipped source archives. Historically, we allowed unzipped archives, but it was challenging to maintain multiple ways of interacting with sources as we grew the number of features that the extension supported. Also, users would sometimes inadvertently edit the unzipped sources and sometimes even expect that the database would be transparently updated to handle the new sources.

Previously, we had allowed unzipped database sources to be imported as regular folders into the project. This would signal to users that they could edit the sources, which should not be possible.

Proposal

Currently, we have created the archive-filesystem-provider, which displays the contents of zip files in the file explorer in read-only mode.

I think we should be able to extend archive-filesystem-provider so that there are two variants: one variant is backed by a zip file and the other is backed by a regular file system directory. Of course, this would mean that the name archive-filesystem-provider is no longer really appropriate, but that is a minor issue.

The benefit is that we can read in the source folder of a database and ensure that even though the file explorer points to regular files, everything is read-only. And we will also be able to interact with both kinds of filesystems through the same API even though they are differently implemented.

Linguagem predominante
TypeScript
Estrelas
539
Forks
240
Merge médio
2d 6h
PRs com merge (30d)
29

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de github/vscode-codeql

Todas as issues de github/vscode-codeql

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.