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

Project tree doesn't exclude .svn & .git folders for this user #12956

Open
core-ai-bot opened this issue Aug 31, 2021 · 8 comments
Open

Project tree doesn't exclude .svn & .git folders for this user #12956

core-ai-bot opened this issue Aug 31, 2021 · 8 comments

Comments

@core-ai-bot
Copy link
Member

Issue by stephane-r
Thursday Nov 20, 2014 at 12:03 GMT
Originally opened as adobe/brackets#9979


Hi community,

I'm new user on Brackets (Sublime Text before) and i would like know i can add my git/svn folder to ignor on my sidebar ?

Possible to create a project manager ? (rename project, etc.)

Thank you !

@core-ai-bot
Copy link
Member Author

Comment by TheRyanBurke
Thursday Nov 20, 2014 at 15:08 GMT


+1 for an "Exclude from project" right click option in project file list. Would make Quick Open more useful if I can exclude node_modules!

@core-ai-bot
Copy link
Member Author

Comment by MiguelCastillo
Thursday Nov 20, 2014 at 15:17 GMT


This is the extension we use for now. https://github.com/gruehle/exclude-folders

@core-ai-bot
Copy link
Member Author

Comment by stephane-r
Thursday Nov 20, 2014 at 15:29 GMT


Hi guys,

I've test this plugin "exclude-folders" but, where is the main.js ? :)

For the projects manager, it's ok, i use the Projects plugin : perfect :)

@core-ai-bot
Copy link
Member Author

Comment by MiguelCastillo
Thursday Nov 20, 2014 at 15:54 GMT


@LeG3nDz Once you installed the extension, you will need to find the extension in order to change it main.js. Easiest way is to use brackets for that. Go to the Help menu and select Show Extensions Folder. Look for the extension and change the main.js to include whatever else you need. Restart brackets so that the changes take effect.

Not optimal, but it gets you there for now :)

@core-ai-bot
Copy link
Member Author

Comment by stephane-r
Friday Nov 21, 2014 at 09:43 GMT


Thank you Miguel ! It's perfect :)

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Wednesday Nov 26, 2014 at 18:56 GMT


@LeG3nDz Actually though, your .git or .svn folders should never be shown by Brackets -- were you actually seeing those in the folder tree originally? It's definitely a bug if so. Can you try Debug > Reload With Extensions in the menu and see if that's still happening?

Also, fyi, in the near future we will begin work on a built-in feature for hiding files -- please follow #8816 for updates.

@core-ai-bot
Copy link
Member Author

Comment by stephane-r
Thursday Nov 27, 2014 at 07:54 GMT


@peterflynn I've restart my brackets without the extentions :

brackets

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Tuesday Mar 03, 2015 at 09:55 GMT


@LeG3nDz Are you still seeing this issue with extensions disabled? And can you confirm you're running an official build downloaded from http://brackets.io (not running from the git source repo or anything else)?

If so, can you try this:

  1. Debug > Show Developer Tools
  2. Paste this into the console:
require("filesystem/FileSystem").resolve(require("project/ProjectManager").getProjectRoot().fullPath + ".svn", function (err, entry) { console.log(entry); })

What output do you see?

  1. Still in dev tools, use Ctrl-O to open ProjectModel. Locate the function _shouldShowName().
  2. Click in the gutter to out a breakpoint inside it, then right-click the breakpoint and choose Edit Breakpoint. Type name.indexOf(".svn") !== -1 and press Enter.
  3. Choose Debug > Reload Without Extensions again

Does it pause on the breakpoint? If so, what does the function return? What is the value of name? What is the call stack?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant