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

Unable to configure for Rails project #7

Closed
ianbradbury-bizzibody opened this issue Nov 10, 2020 · 2 comments
Closed

Unable to configure for Rails project #7

ianbradbury-bizzibody opened this issue Nov 10, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@ianbradbury-bizzibody
Copy link

I have a Rails project (v6 + Webacker)

I'm continually prompted that there are too many workspace files. I have attempted to "ignore" as many folder as possible yet I can not reduce the number fo files enough that this message goes away.

I now believe that I am formatting the list of ignore folders incorrectly, and/or, even in the wrong preference field.

eg: Ignored File and Directory paths
/Users/ianbradbury/Documents/GitHub/at/vendors, /Users/ianbradbury/Documents/GitHub/at/tmp, /Users/ianbradbury/Documents/GitHub/at/test, /Users/ianbradbury/Documents/GitHub/at/storage, /Users/ianbradbury/Documents/GitHub/at/spec, /Users/ianbradbury/Documents/GitHub/at/public, /Users/ianbradbury/Documents/GitHub/at/node_modules, /Users/ianbradbury/Documents/GitHub/at/log, /Users/ianbradbury/Documents/GitHub/at/lib, /Users/ianbradbury/Documents/GitHub/at/db, /Users/ianbradbury/Documents/GitHub/at/config, /Users/ianbradbury/Documents/GitHub/at/bin,

I have duplicated this list into the Ignored File and Directory names to see if that is where I am supposed to add this detail.

I have added .tmp, .log to the list of file extensions to ignore.

When I view the ToDo pane I see the message "No profiles have ben created" and there are no TODO's listed.

I have added TODO tags in .rb and .erb files. None of the TODOs display - nothing displays - in the pane.

Example of how I am adding TODOs.

ERB file : <% #TODO: A todo %>
RB file : #TODO: Add error checking around this save

Please advise - is there some secret checkbox I need to tick?

@jasonplatts
Copy link
Owner

Hi @ianbradbury-bizzibody. Thanks for reporting this problem.

From the information you provided, it appears you are doing things correctly. The paths look good. Adding a name in the "Ignore File and Directory Names" text box should ignore any file or directory with that name, regardless of its path. For example, you may have a tmp directory in multiple locations within a project. File extensions and TODO formatting also looks good.

Long story short, unfortunately, I don't have a quick fix for you. I'm not at all happy with the very innefficient way the extension is currently processing files and I am waiting for the next version of Nova to determine how best to address some of these problems. The file limit is a temporary bandaid to stop the extension from becoming non-responsive. Panic has told me that Nova 3.0 should be released shortly and I am expecting the revised API should provide a way to evaluate workspace files using glob patterns.

I will keep you posted as I work through this issue!

@jasonplatts jasonplatts added the bug Something isn't working label Nov 11, 2020
@ianbradbury-bizzibody
Copy link
Author

Thanks @jasonplatts - I'll keep my checking for v3. Hopefully it's not too far away. Keep up the good work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants