allow changing opts on project settings file (*.sublime-project)#340
allow changing opts on project settings file (*.sublime-project)#340stephenfin merged 1 commit intoSublimeText:developmentfrom glaucocustodio:development
Conversation
|
Thanks! I'll try get this in a release before the end of the weekend |
|
Did you have time to release it @stephenfin? Changing of topic.. What do you think about passing by default the flag |
|
Would you cut a release please @stephenfin? What do you think about passing by default the flag "--exclude=@.ctags_ignore" to the ctags command if a file .ctags_ignore exists at the project root folder? |
Sorry for the delay: I was on holiday. This is done now.
If you can draft a PR includes docs explaining the impact this would have, I'll be happy to review this. TBH though, I haven't used this extension in years so I'm reluctant to make any significant changes here before keeping things working since I have no way to test them myself. |
Allow changing
opts(asctags.opts) on project settings.Use case: I am adding this as I have a particular project with many files, I want to ignore some of them when generating ctags to speed up things, so I have added the following to the project settings file (ex: myproject.sublime-project):
then I created the file
.ctags_ignorecontaining the folders I want the ctags command to ignore:I can't simply add
optstoSublime Text/Packages/User/CTags.sublime-settingsas I would need to create a.ctags_ignorefile for each project, which I don't want to.References: