question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Excluding a negation in patterns

See original GitHub issue

Bug

There is this use case when you have analyzed a project with a lot of different file-endings like a common web-application using html, js and css and you want to exclude all building BUT the .js-buildings. This is still possible by excluding *.html and *.css but it should be possible by excluding !*.js

Expected Behavior

Excluding !*.ts in the web visualization for example should exclude everything BUT the ts-files.

Actual Behavior

Nothing is excluded at all.

Specifications

  • is released in online-demo: yes
  • CodeCharta Version: 1.49.0
  • OS: MacOS
  • Browser: Chrome

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
BridgeARcommented, Jul 25, 2020

What about reworking our filtering in general? I think it would be nice to improve this by allowing notations that do not require to write globs. It’s just a low priority though.

0reactions
BridgeARcommented, Dec 23, 2020

This is already implemented 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do negated patterns work in .gitignore? - Stack Overflow
My understanding (based on this doc page) is that the file aaa/ccc/otherfile. txt should not be ignored, but in fact git is ignoring...
Read more >
Negating patterns: add --exclude-regex? #198 - sharkdp/fd
I noticed grep has a -L flag to find filenames that don't contain the search pattern. What about the related operation of finding...
Read more >
Performing pattern negation to multiple nodes - Neo4j
Correct approach: collect nodes to exclude, and use WHERE NONE() on the collection to drive exclusion ... We can do the same thing...
Read more >
Exclude one pattern from glob match - Unix StackExchange
GlennJackman's answer shows how to enable extended pattern matching features to negate a match. – Johnny. Oct 24, 2014 at 17:33. Add a...
Read more >
Negation - Grammar - Cambridge Dictionary
n't is the contracted form of not. In informal language we can add n't, without a space, to be, to modal verbs (except...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found