Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore file or directory #9

Open
bomrafinha opened this issue Mar 6, 2020 · 4 comments
Open

Ignore file or directory #9

bomrafinha opened this issue Mar 6, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@bomrafinha
Copy link

(Translated) It would be interesting if there was a way to ignore files or directories within a main directory. Something like the git .gitignore file. Example: Ignore the project's .git directory.

(Original) Seria interessante se houvesse uma maneira de ignorar arquivos ou diretórios dentro de um diretório principal. Algo como o arquivo .gitignore do git. Exemplo: Ignorar o diretório .git do projeto.

ignore_tree

@aprilandjan aprilandjan added enhancement New feature or request good first issue Good for newcomers labels Mar 6, 2020
@aprilandjan
Copy link
Owner

@bomrafinha thanks for your advice! Currently this extension does not ignore any thing. However, I did considered to add configuration for users to specify ignore patterns, for example, node_modules and .git folders, etc. I'll do that as soon as I got some spare time 😺

@aprilandjan aprilandjan added this to the 2.0 milestone Jun 25, 2021
@aprilandjan aprilandjan self-assigned this Jun 25, 2021
@sz-p
Copy link

sz-p commented Aug 20, 2024

emmm any news here?

@sz-p
Copy link

sz-p commented Aug 21, 2024

I see the code load directoryIgnore in vscode.getConfiguration from config.ts

Could we load directoryIgnore from .gitignore default ?

@galer7
Copy link

galer7 commented Sep 8, 2024

should a .vscode/settings.json that has:

{
  "asciiTreeGenerator.directoryIgnore": [
    ".git",
    "node_modules",
    "venv",
    "__pycache__",
    ".vscode",
    ".idea",
    ".next",
    ".nuxt",
    "dist",
    "build",
    "coverage"
  ]
}

for for line

directoryIgnore: vscode.workspace.getConfiguration().get<string[]>('asciiTreeGenerator.directoryIgnore'),

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants