sindresorhus / editorconfig-sublime

Sublime Text plugin for EditorConfig - Helps developers maintain consistent coding styles between different editors
MIT License
1.77k stars 108 forks source link

cannot exclude files #64

Closed phil123456 closed 7 years ago

phil123456 commented 7 years ago

Hi,

I try to display only js files in the left panel but it does not work

all files are showing up in the left folders panel

# top-most EditorConfig file
root = true

# try to only edit these files
[{/*.js}]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

sublime text can do it via it's config but I want it to be different from one project to another

"file_exclude_patterns":
[
  "*.anyextension"
],

thanks

sindresorhus commented 7 years ago

That's not how this plugin works. It doesn't ignore it from your sidebar.

phil123456 commented 7 years ago

is this called editor config ? right ?

kipit commented 7 years ago

is this called editor config ? right ?

Yes @phil123456. So, please, take a look at the EditorConfig site. This project is related to coding style, not UI.