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

couple of additions #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

couple of additions #26

wants to merge 2 commits into from

Conversation

gatchamix
Copy link

@gatchamix gatchamix commented May 22, 2022

the previous solution of delaying before calling update is inconsistent - with larger files or on specific filesystems, the file may not be released before the delay expires (I could reproduce this using WSL2).

There's no 'one size fits all' solution down this path, and adding a customisation option for the delay seems messy. Instead, I've added completion events for change/delete which avoid this issue.

I also added support for multiple associations per key - clang and gcc currently have different output formats when using -save-temps (one generates .ext.s, the other .s which required changes to the associations settings when switching between compilers.

Having an array of associations solves this problem, while also giving additional flexibility for those that want to take advantage of it. An alternative would be to support regular expressions or some other form of 'complex' matching

@gatchamix gatchamix changed the title fix automatic updating of view couple of additions May 22, 2022
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

Successfully merging this pull request may close these issues.

1 participant