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.

add an `--ignore-matching-lines` option as for `git diff`

See original GitHub issue

It would be nice if you could add the --ignore-matching-lines option as for git diff to VSCode.

(This feature is e.g. already present in WinMerge.)

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
theWiseAmancommented, Dec 12, 2022

@lszomoru I wasn’t able to build vscode properly that time. Because of that I wasn’t able to proceed further, so I have lost track of it now. I would try once again and if problem arises I would comment here. Does that work?

1reaction
theWiseAmancommented, Dec 13, 2022

@lszomoru This time I tried to build it on Docker by following this Build Guide, but it gave the following build error. Am I missing something?

I ran yarn install which successfully installed all the dependencies.

node ➜ /workspaces/vscode $ yarn install

But on running bash scripts/code.sh gave the following build error. Is it related to allocation of resources for docker container. I have WSL2 integration on so there is no option for setting RAM allocations.

node ➜ /workspaces/vscode $ bash scripts/code.sh
yarn run v1.22.19
$ node build/lib/electron
Done in 0.19s.
[15:49:06] Synchronizing built-in extensions...
[15:49:06] You can manage built-in extensions with the --builtin flag
[15:49:06] [github] ms-vscode.js-debug-companion@1.0.18 ✔︎
[15:49:06] [github] ms-vscode.js-debug@1.71.1 ✔︎
[15:49:06] [github] ms-vscode.vscode-js-profile-table@1.0.3 ✔︎
Error launching app
Unable to find Electron app at /workspaces/vscode

Cannot find module '/workspaces/vscode/out/main'. Please verify that the package.json has a valid "main" entry
Read more comments on GitHub >

github_iconTop Results From Across the Web

How does git diff --ignore-matching-lines work
The --ignore-matching-lines and other similar flags only work when git is actually comparing the content of the files. When passing --name-only ...
Read more >
ignoring changes matching a string in git diff - Stack Overflow
Add a new diff option that enables ignoring changes whose all lines (changed, removed, and added) match a given regular expression.
Read more >
diff-options Documentation - Git
Ignore whitespace when comparing lines. This ignores differences even if one line has whitespace where the other line has none. allow-indentation-change.
Read more >
How to diff files ignoring comments (lines starting with #)?
You can specify more than one regular expression for lines to ignore by using more than one -I option. diff tries to match...
Read more >
Re: [PATCH v3 2/2] diff: add -I<regex> that ignores matching ...
This is > similar to the -I/--ignore-matching-lines option in standalone diff > utilities ... 2 deletions(-) > > diff --git a/Documentation/diff-options.txt ...
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